@@ -41,36 +41,37 @@ of the endpoints, including their exact addresses and schemas used.
4141The sections below describe the process in more detail.
4242
4343### Registering the Asset
44- You upload your assets to ` /ASSET/v1 ` using a ` POST ` request that contains
44+ You upload your assets to ` /ASSET ` using a ` POST ` request that contains
4545in the JSON body all the required data for the asset type. A successful response
4646should look something like this:
4747
4848``` json
4949{
50- "identifier" : 3
50+ "identifier" : " case_n8DhfFgMYv4beBnVurHa13ZS "
5151}
5252```
5353
5454Take a note of the identifier assigned to the asset, as you will need it to request a review in the next step.
5555The asset is now in draft mode, which means that other users cannot see it but you can, and you may still edit it.
56- To edit the asset, use the ` PUT ` endpoints for ` /ASSET/v1 ` .
56+ To edit the asset, use the ` PUT ` endpoints for ` /ASSET ` .
5757
5858### Requesting a Review
5959When you want to publish the asset, you can submit it for review. You
60- can do this by making a ` POST ` request to the ` /ASSET/submit/v1/IDENTIFIER ` endpoint.
61- Here you need to replace ` IDENTIFIER ` with the identifier of the asset you retrieved
62- in the last step.
63- You may include a comment to the reviewer of up to 256 characters in the body of the
60+ can do this by making a ` POST ` request to the ` /submissions ` endpoint.
61+ You are required to include the identifier in the request body,
62+ and may include a comment to the reviewer of up to 256 characters in the body of the
6463` POST ` request, this should generally not be necessary but may be useful to provide
65- some clarification:
64+ some clarification. You may supply more than one asset identifier at once,
65+ these assets will then be accepted and rejected together.
6666
6767``` json
6868{
69+ "asset_identifiers" : [" case_n8DhfFgMYv4beBnVurHa13ZS" ],
6970 "comment" : " Clarification the reviewer should be aware of."
7071}
7172```
7273
73- When you request a submission, you also get a response with the submission's identifier.
74+ When you request a submission, you get a response with the submission's identifier.
7475
7576``` json
7677{
@@ -92,44 +93,43 @@ in their review.
9293
9394You can check that status of your pending submission in two ways.
9495First, you can request the status for that review specifically using the
95- ` /submissions/v1/ IDENTIFIER ` endpoint, where ` IDENTIFIER ` needs to replaced with the
96+ ` /submissions/IDENTIFIER ` endpoint, where ` IDENTIFIER ` needs to replaced with the
9697identifier of the _ submission_ (not the asset!).
9798For example, if the submission identifier we received was '1', we can query
98- ` submissions/v1/ 1 ` and retrieve its status which would look something like:
99+ ` submissions/1 ` and retrieve its status which would look something like:
99100``` json
100101{
101102 "comment" : " Clarification the reviewer should be aware of." ,
102103 "identifier" : 1 ,
103104 "request_date" : " 2025-03-20T09:09:54" ,
104105 "aiod_entry_identifier" : 212 ,
105- "asset_type" : " case_study" ,
106106 "reviews" : [],
107- "asset " : {
107+ "assets " : [ {
108108 ...
109- }
109+ }]
110110}
111111```
112112No reviews have yet been performed on the submission, as indicated by the empty list
113113of reviews (` "reviews": [] ` ).
114114
115115Alternatively, you can request an overview of all your submissions with a ` GET ` request
116- to the ` submissions/v1 ` endpoint, which will result in a response such as:
116+ to the ` submissions ` endpoint, which will result in a response such as:
117117``` json
118118[
119119 {
120120 "comment" : " Clarification the reviewer should be aware of." ,
121121 "identifier" : 1 ,
122122 "request_date" : " 2025-03-20T09:09:54" ,
123123 "aiod_entry_identifier" : 212 ,
124- "asset_type " : " case_study "
124+ "asset_identifiers " : [ " case_n8DhfFgMYv4beBnVurHa13ZS " ],
125125 }
126126]
127127```
128128This endpoint fetches and returns minimal information of the submission, which makes it
129129more lightweight for creating an overview. However, it does not return the status of the
130130submissions directly. Instead, you may use query parameters to request only a subset of
131131the submissions, such as those that still require a review (i.e., pending submissions)
132- by querying ` submissions/v1/ ?mode=pending ` .
132+ by querying ` submissions?mode=pending ` .
133133Please refer to the endpoint documentation for other options.
134134
135135Users are only ever able to view information about their own submissions.
@@ -141,22 +141,21 @@ is likely revealing).
141141#### Retracting a Submission
142142Sometimes you may want to retract a submitted asset before a reviewer manages to review it.
143143For example, to correct a mistake in the original submission. You can retract an asset from
144- review at any time by doing a ` POST ` request to the ` /submissions/retract/v1/ SUBMISSION_IDENTIFIER `
144+ review at any time by doing a ` POST ` request to the ` /submissions/retract/SUBMISSION_IDENTIFIER `
145145endpoint.
146146
147147A retracted submission is treated the same as a rejected submission. The asset is put back
148- into draft status and will not be reviewed until the you submit a new review request.
148+ into draft status and will not be reviewed until you submit a new review request.
149149
150150### A Rejected Submission
151- You may find that your submission gets rejected. In that case, the ` submissions/v1/ IDENTIFIER `
151+ You may find that your submission gets rejected. In that case, the ` submissions/IDENTIFIER `
152152endpoint will provide you with the reviewer feedback, e.g.:
153153``` json
154154{
155155 "comment" : " Clarification the reviewer should be aware of." ,
156156 "identifier" : 1 ,
157157 "request_date" : " 2025-03-20T09:09:54" ,
158158 "aiod_entry_identifier" : 212 ,
159- "asset_type" : " case_study" ,
160159 "reviews" : [
161160 {
162161 "comment" : " Several critical fields have incomplete information. Please improve the description, and add a house number to the address." ,
@@ -166,11 +165,11 @@ endpoint will provide you with the reviewer feedback, e.g.:
166165 "submission_identifier" : 1
167166 }
168167 ],
169- "asset " : { ... }
168+ "assets " : [ { ... }]
170169}
171170```
172171You'll find reviewer comments under "reviews".
173- You may subsequently edit your asset using ` PUT ` requests to ` /ASSET/v1 ` to address
172+ You may subsequently edit your asset using ` PUT ` requests to ` /ASSET ` to address
174173the reviewer feedback, and then request a new review following the regular submission
175174process.
176175
@@ -182,17 +181,17 @@ The only restriction is that a reviewer cannot review their own submission.
182181
183182For reviewers, the main endpoints of interest are:
184183
185- * ` /submissions/v1 ` to fetch identifiers of submissions which require a review.
184+ * ` /submissions ` to fetch identifiers of submissions which require a review.
186185The ` ?mode=oldest ` parameter can be used to fetch the submission which has been waiting for a review the longest.
187- * ` /submissions/v1/ {identifier} ` to get more detailed information on the submission,
186+ * ` /submissions/{identifier} ` to get more detailed information on the submission,
188187in particular this will provide also the asset body to review.
189188 * ` /reviews/v1 ` the endpoint through which reviews can be made using ` POST ` requests.
190189
191190Given a submission identifier (obtained from either ` /submissions ` endpoint mentioned above),
192- the review can post a review to ` /reviews/v1 ` . This requires the user to make a decision
191+ the review can post a review to ` /reviews ` . This requires the user to make a decision
193192to accept or reject the submission, and optionally leave a comment. When rejecting an
194193asset, a comment is strongly encouraged, otherwise the user will not know how to improve
195- their submission. An example body of the ` POST ` request to ` /reviews/v1 ` could look like:
194+ their submission. An example body of the ` POST ` request to ` /reviews ` could look like:
196195``` json
197196{
198197 "comment" : " Several critical fields have incomplete information. Please improve the description, and add a house number to the address." ,
0 commit comments