Publish all external resources
Publishes every external resource for the project to NADA. For each resource, metadata is POSTed to {catalog}/index.php/api/resources/{study_idno} with overwrite set to yes. If the resource has a stored file (filename is set and not an external URL), the file is then uploaded to {catalog}/index.php/api/datasets/{study_idno}/files, matching the single-resource publish behavior. Request body JSON (if any) is accepted but not applied.
Path parameters
Project ID or IDNO
Catalog connection ID
Request body
Optional; unused by the server today
Response
Resources published successfully
Changes
Changed in 2 of the 12 revisions of this API.123
- ○
added optional request body
request-body-added-optional
- ○
added the optional property
items/resourceto the response with the200statusresponse-optional-property-added
- ○
added the optional property
items/resource_uploadto the response with the200statusresponse-optional-property-added
- ○
- ▲
removed the request body
request-body-removed
- ●
removed the optional property
items/resourcefrom the response with the200statusresponse-optional-property-removed
- ●
removed the optional property
items/resource_uploadfrom the response with the200statusresponse-optional-property-removed
This revision also has 37 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲