Skip to content

Commit 25a070b

Browse files
committed
API wording around /bulkUpdate and /bulkCreate.
1 parent efe2e2d commit 25a070b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

public/API.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,8 @@ <h3 id="bulk-create">Bulk Create</h3>
420420

421421
<p>
422422
Add multiple completely new objects to RERUM and receive an array of the complete records as the response body.
423-
Accepts only a single array of JSON objects in the request body.
423+
Accepts only a single array of JSON objects in the request body. The '@id' property must not be present on the objects.
424+
In cases where the Linked Data @context property maps '@id' to 'id', the 'id' property also must not be present.
424425
The array of JSON objects passed may not be created in the order submitted. The response will have the URI
425426
of the new resource or an error message as an array in the order the order the objects were processed.
426427
When errors are encountered, the batch process will attempt to continue for all submitted items.
@@ -760,6 +761,7 @@ <h3 id="bulk-update">Bulk Update</h3>
760761
<p>
761762
Update multiple existing RERUM objects at once and recieve an array of the complete records as the response body.
762763
Accepts only a single array of JSON objects in the request body. The '@id' property must be present for each object.
764+
In cases where the Linked Data @context property maps '@id' to 'id' either of these properties will be sufficient.
763765
The array of JSON objects passed in may not be updated in the order submitted. The response will have the URI
764766
of the new resource or an error message as an array in the order the objects were processed. When errors are encountered, the batch process will attempt to continue for all submitted items.
765767
</p>

0 commit comments

Comments
 (0)