Side-load a resource
Before invoking this method you must copy your conforming OCFL object into your OCFL repository. Note the path to the new resource must match the value of the "id" field in the inventory.json file in your object root. For example, assuming that your repository's base URI is http://localhost:8080/rest and the object root's inventory.json file's "id" field equals info:fedora/path/to/new/resource you would post to http://localhost:8080/rest/path/to/new/resource/fcr:reindex
Request URI: /path/to/new/resource/fcr:reindex
Methods: POST
POST Make Fedora aware of a resource directly copied to your underlying OCFL.
Request Headers:
Example:
curl -X POST http://localhost:8080/rest/path/to/resource/fcr:reindex
Response:
HTTP/1.1 204 No Content
Status:
204 No Content
400 Bad request: The specified object could not be side-loaded because the resource was not found in the OCFL or the OCFL object is invalid.
409 Conflict: The specified resource already exists.