Skip to content

Commit 60f194b

Browse files
committed
COAR merging conflicts with main
2 parents 02b5a96 + 6a86b9e commit 60f194b

File tree

2 files changed

+21
-5
lines changed

2 files changed

+21
-5
lines changed

qualityassuranceevents.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Return a single quality assurance event:
2020
"originalId": "oai:www.openstarts.units.it:10077/21486",
2121
"title":"Index nominum et rerum",
2222
"trust":"0.375",
23+
"topic":"ENRICH/MISSING/ABSTRACT",
2324
"eventDate": "2020/10/09 10:11 UTC",
2425
"status": "PENDING",
2526
"message" : {
@@ -42,13 +43,13 @@ Attributes
4243
* the *originalId* attribute is the identifier used by the event's source for the target publication
4344
* the *title* attribute is the title of the publication as provided by the correction's source
4445
* the *trust* attribute is the level of accuracy of the quality assurance event (values from 0.00 to 1.00)
46+
* the *topic* attribute is the name of the topic of the event
4547
* the *status* attribute is one of (ACCEPTED, REJECTED, DISCARDED, PENDING)
4648
* the *eventDate* attribute is the timestamp of the event reception
4749
* the *message* attribute is a json object which structure depends on the source and on the topic of the event. When the source is "openaire" and the "topic" type is
4850
* ENRICH/MISSING/PID and ENRICH/MORE/PID: fills `message.type` with the type of persistent identifier (doi, pmid, etc.) and `message.value` with the corresponding value
4951
* ENRICH/MISSING/ABSTRACT: fills `message.abstract`
50-
* ENRICH/MISSING/SUBJECT/ACM: fills the `message.value` with the actual keywords, the subject classification is defined by the last part of the topic (ACM, JEL, DDC, etc.)
51-
* ENRICH/MISSING/PROJECT: fills `acronym`, `code`, `funder`, `fundingProgram`, `jurisdiction` and `title`
52+
* ENRICH/MISSING/PROJECT and ENRICH/MORE/PROJECT: fills `acronym`, `code`, `funder`, `fundingProgram`, `jurisdiction` and `title`
5253

5354
Exposed links:
5455
* topic: link to the topic to which the event belong to (see [qualityassurancetopics](qualityassurancetopics.md))

qualityassurancetopics.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,25 @@ Provide access to the Quality Assurance topics. A topic represents a specific ty
55
This method is not implemented as we haven't a use case that require to iterate over all the qa topics regardless of their source. Please use the search/bySource method instead.
66

77

8+
```json
9+
{
10+
key: "ENRICH!MORE!PID",
11+
lastEvent: "2020/10/09 10:11 UTC",
12+
totalEvents: "33"
13+
},
14+
{
15+
key: "ENRICH!MISSING!ABSTRACT",
16+
lastEvent: "2020/10/09 10:11 UTC",
17+
totalEvents: "21"
18+
},
19+
...
20+
]
21+
```
822
Attributes:
9-
* name: the name of the topic to display on the frontend user interface
23+
* key: the name of the topic to display on the frontend user interface
1024
* lastEvent: the date of the last update from Quality Assurance Broker
1125
* totalEvents: the total number of quality assurance events provided by Quality Assurance Broker for this topic
12-
* id: is the identifier to use in GET Single Topic. It is composed of the source, the topic name and optionally the target item uuid to which the data will be restricted
26+
1327

1428
Return codes:
1529
* 200 OK - if the operation succeed
@@ -22,6 +36,7 @@ Return codes:
2236
Provide detailed information about a specific Quality Assurance Broker topic. The JSON response document is as follow
2337
2438
```json
39+
2540
{
2641
id: "openaire:ENRICH!MORE!PID",
2742
type: "qualityassurancetopic",
@@ -30,7 +45,7 @@ Provide detailed information about a specific Quality Assurance Broker topic. Th
3045
totalEvents: 33
3146
}
3247
```
33-
48+
3449
Return codes:
3550
* 200 OK - if the operation succeed
3651
* 401 Unauthorized - if you are not authenticated

0 commit comments

Comments
 (0)