...
Status | ||||||
---|---|---|---|---|---|---|
|
...
Create a new node as a child of the given node Status colour Blue title POST
...
Status | ||||||
---|---|---|---|---|---|---|
|
...
Create a new node and populate some properties Status colour Blue title POST
...
Status | ||||||
---|---|---|---|---|---|---|
|
...
Create a new node and execute a SPARQL-Update query Status colour Blue title POST
...
Status | ||||||
---|---|---|---|---|---|---|
|
...
Create a new resource with binary content Status colour Blue title POST
...
Status | ||||||
---|---|---|---|---|---|---|
|
Status | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
Modify the triples associated with the resource Status colour Yellow title PUT
...
Status | ||||||
---|---|---|---|---|---|---|
|
Status subtle true title IF-Match Status subtle true title If-UNModified-Since
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 | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
with SPARQL-Update Status colour Green title PATCH
Request Headers:
Status subtle true title IF-Match Status subtle true title If-UNModified-Since
Example:
Code Block |
---|
curl -X PATCH -H "Content-Type: application/sparql-update" "http://localhost:8080/rest/node/to/update" -d "@body.rdf" Request Body: INSERT { <> dc:title "some-resource-title" . } WHERE { } |
...
Status | ||||||||
---|---|---|---|---|---|---|---|---|
|
Status | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
Delete a resource Status colour Red title DELETE
...
Status | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
Move a resource (and its subtree) to a new location Status subtle true colour Red title MOVE
...
Status | ||||||||
---|---|---|---|---|---|---|---|---|
|
Status | ||||||
---|---|---|---|---|---|---|
|
...
Status | ||||||||
---|---|---|---|---|---|---|---|---|
|
Status | ||||||
---|---|---|---|---|---|---|
|
...
Retrieve binary content Status title GET
Request Headers:
Status subtle true title If-None-Match Status subtle true title If-Modified-Since Status subtle true title Range
Example:
Code Block |
---|
curl "http://localhost:8080/rest/path/to/some/resource/fcr:content" |
...
Status | ||||||||
---|---|---|---|---|---|---|---|---|
|
Status | ||||||
---|---|---|---|---|---|---|
|
...