...
Status subtle true title IF-Match Status subtle true title If-UNModified-Since
Query Parameters:
Checksum of the binary content (in the form urn:sha1:<sha-hash>). If the checksum doesn't match, an error will be returned. Status subtle true title checksum
Example:
Code Block |
---|
curl -X POST -H "Content-Type: text/turtle" "http://localhost:8080/rest/node/to/update" -d "@new-triples.rdf" Request Body: <> dc:title "some-resource-title" . |
Response:
Code Block |
---|
Status: 204 No Content |
Status:
Status | ||||||||
---|---|---|---|---|---|---|---|---|
|
Status | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
Query Parameters:
Number of identifiers to create (Optional; defaults to 1) Status subtle true title numPIDScount
...
Code Block |
---|
curl -X POST "http://localhost:8080/rest/fcr:identifier?numPidscount=3" |
Response:
Code Block |
---|
Status: 200 OK Headers: Content-Type: text/turtle Body: <http://localhost:8080/rest/fcr:identifier> <http://fedora.info/definitions/v4/repository#hasMember> <http://localhost:8080/rest/newly-minted-identifier><http://localhost:8080/rest/fcr:identifier> <http://fedora.info/definitions/v4/repository#hasMember> <http://localhost:8080/rest/another-newly-minted-identifier><http://localhost:8080/rest/fcr:identifier> <http://fedora.info/definitions/v4/repository#hasMember> <http://localhost:8080/rest/yet-another-minted-identifier> |
...
Code Block |
---|
Status: 200 OK
Headers:
Content-Type: text/turtle
Body:
<http://localhost:8080/rest/path/to/some/resource/fcr:identifier> <http://fedora.info/definitions/v4/repository#hasMember> <http://localhost:8080/rest/path/to/some/resource/newly-minted-identifier>
<http://localhost:8080/rest |
Status:
Status | ||||||||
---|---|---|---|---|---|---|---|---|
|
Transactions
Request URI: /fcr:tx; /path/to/
...
transaction/fcr:
...
tx
Methods: POST
Status title GET
Status:
...
Transactions
Request URI: /fcr:tx; /path/to/transaction/fcr:tx
Methods: POST
Get the current status of a transaction (TODO?) Status title GET
...
Request URI: /fcr:workspaces/(workspace name)
Methods: POST, DELETE
Create a new workspace Status colour Blue title POST
...
Status | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
Delete a new workspace Status colour Red title DELETE
Example:
Code Block |
---|
curl -X DELETE "http://localhost:8080/rest/fcr:workspaces/abc" # delete a new workspace called "abc" |
Response:
Code Block |
---|
Status: 204 No Content |
Status:
Status | ||||||||
---|---|---|---|---|---|---|---|---|
|
Content Modeling
Request URI: /fcr:nodetypes
...