Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Status
colourBlue
titlePOST
Create (or replace?) multiple binary resources in a single request

Query Parameters:

Status
colour
subtle
Red
true
title
DELETE
delete
 List of nodes to remove

Example:

Code Block
# creates the ds1 resource and removes the old-content resource
curl -X POST  -F "ds1=@image.png" "http://localhost:8080/rest/path/to/some/resource/fcr:datastreams?delete=old-content"

Response:

Code Block
Status: 201 Created

Status:

Status
subtletrue
colourGreen
title201
 

 

...

 

Status
colourRed
titleDELETE
Delete multiple resources in a single request

Query Parameters:

Status
subtletrue
titledsid
 List of child resources to delete

Example:

Code Block
# removes both old-content and backup-content resources
curl -X DELETE "http://localhost:8080/rest/path/to/some/resource/fcr:datastreams?dsid=old-content&dsid=backup-content"

Response:

Code Block
Status: 204 No Content

Status:

Status
subtletrue
colourGreen
title204
 No Content Delete multiple datastreams in a single request

Export / Import

Request URI: /path/to/some/resource

...