Skip to content

Commit c0df71a

Browse files
Lalomia, Vincenzovins01-4science
authored andcommitted
Merged in task/dspace-cris-2023_02_x/DSC-1958 (pull request DSpace#70)
Task/dspace cris 2023 02 x/DSC-1958 Approved-by: Vincenzo Mecca
2 parents ada2740 + 884d424 commit c0df71a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+408
-169
lines changed

authentication.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ This will return the authentication status, E.G.:
100100
"okay" : true,
101101
"authenticated" : true,
102102
"type" : "status",
103+
"uniqueType": "authn.status",
103104
"_links" : {
104105
"eperson" : {
105106
"href" : "http://${dspace-server.url}/api/eperson/epersons/2245f2c5-1bed-414b-a313-3fd2d2ec89d6"

authorizations.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ Provide detailed information about a specific authorization. The JSON response d
1818
```json
1919
{
2020
"id": [eperson-uuid_]feature-id_restobjectcategory.restobjectname_object-id,
21-
"type": "authorization"
21+
"type": "authorization",
22+
"uniqueType": "authz.authorization"
2223
}
2324
```
2425

bitstreamformats.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Provide detailed information about a specific bitstream format. The JSON respons
4949
"xml"
5050
],
5151
"type": "bitstreamformat",
52+
"uniqueType": "core.bitstreamformat",
5253
"_links": {
5354
"self": {
5455
"href": "https://dspace7-internal.atmire.com/rest/api/core/bitstreamformats/5"

bitstreams.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ Provide detailed information about a specific bitstream. The JSON response docum
2323
"value": "9d8f0f9e369cf12159d47c146c499cf4"
2424
},
2525
"sequenceId": null,
26-
"type": "bitstream"
26+
"type": "bitstream",
27+
"uniqueType": "core.bitstream"
2728
}
2829
```
2930

browses.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ Provide detailed information about a specific browse index and access to the lis
8181
],
8282
"order": "ASC",
8383
"type": "browse",
84+
"uniqueType": "discover.browse",
8485
"metadata": [
8586
"dc.date.issued"
8687
]
@@ -122,6 +123,7 @@ Provide detailed information about a specific hierarchical browse index and acce
122123
"facetType": "subject",
123124
"vocabulary": "srsc",
124125
"type": "browse",
126+
"uniqueType": "discover.browse",
125127
"metadata": [
126128
"dc.subject"
127129
],

bundles.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Provide detailed information about a specific bundle. A sample JSON response doc
2727
]
2828
},
2929
"type": "bundle",
30+
"uniqueType": "core.bundle",
3031
"_links" : {
3132
"primarybitstream" : {
3233
"href" : "https://demo.dspace.org/server/api/core/bitstreams/ac49f361-4ffd-47a4-8eb2-e6c73c3f3e76"
@@ -77,6 +78,7 @@ Provide detailed information about a specific bundle. A sample JSON response doc
7778
},
7879
"sequenceId" : null,
7980
"type" : "bitstream",
81+
"uniqueType": "core.bitstream",
8082
"_links" : {
8183
"content" : {
8284
"href" : "https://demo.dspace.org/server/api/core/bitstreams/1ce6db0e-662f-4a13-ba87-c371ad664b14/content"
@@ -123,6 +125,7 @@ Provide detailed information about a specific bundle. A sample JSON response doc
123125
},
124126
"sequenceId" : null,
125127
"type" : "bitstream",
128+
"uniqueType": "core.bitstream",
126129
"_links" : {
127130
"content" : {
128131
"href" : "https://demo.dspace.org/server/api/core/bitstreams/4dd9621f-a464-4192-bc17-d70f68845bdc/content"

claimedtasks.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ Provide details about a specific task in the pool. The JSON response document is
1616
"id": 1,
1717
"step": "editstep",
1818
"action": "editaction",
19-
"type": "claimedtask"
19+
"type": "claimedtask",
20+
"uniqueType": "workflow.claimedtask"
2021
}
2122
```
2223

collections.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ Provide detailed information about a specific collection. The JSON response docu
8282
}
8383
]
8484
},
85-
"type": "collection"
85+
"type": "collection",
86+
"uniqueType": "core.collection"
8687
}
8788
```
8889

@@ -394,6 +395,7 @@ The json representation is as follow
394395
"groupUUID": "11cc35e5-a11d-4b64-b5b9-0052a5d15509",
395396
"action": "DEFAULT_BITSTREAM_READ",
396397
"type": "resourcePolicy",
398+
"uniqueType": "authz.resourcePolicy"
397399
"_links": {
398400
"self": {
399401
"href": "https://demo.dspace.org/server/api/authz/resourcePolicies/2844"

communities.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ Provide detailed information about a specific community. The JSON response docum
6666
}
6767
]
6868
},
69-
"type": "community"
69+
"type": "community",
70+
"uniqueType": "core.community"
7071
}
7172
```
7273

edititems.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ Provide detailed information about a specific edititem. The JSON response docume
3131
]
3232
}
3333
},
34-
"type":"edititem"
34+
"type":"edititem",
35+
"uniqueType": "core.edititem"
3536
}
3637
```
3738
Return codes:
@@ -68,6 +69,7 @@ The JSON response document is as follow
6869
"label": null,
6970
"submissionDefinition": "publication-edit",
7071
"type": "edititemmode",
72+
"uniqueType": "core.edititemmode",
7173
"_links": {
7274
"self": {
7375
"href": "https://{dspace-cris-backend-url}/server/api/core/edititemmodes/FULL"

0 commit comments

Comments
 (0)