...
Methods: GET, POST, PUT, PATCH, HEAD, OPTIONS, DELETE, MOVE, COPY
...
Retrieve all triples for the resource
...
Status |
---|
subtle | true |
---|
colour | Red |
---|
title | 404 |
---|
|
Not Found
...
Create a new automatically-named child node or datastream at the given path
...
Status |
---|
| |
---|
subtle | true |
---|
colour | Red |
---|
title | 409 |
---|
|
Conflict (resource is locked or checksum mismatch)
...
Create a resource with a specified path, or replace the triples associated with a resource with the triples provided in the request body.
...
Status |
---|
subtle | true |
---|
colour | Red |
---|
title | 412 |
---|
|
Precondition Failed
...
Retrieve the node headers
...
Status |
---|
| |
---|
subtle | true |
---|
colour | Red |
---|
title | 404 |
---|
|
Not Found
...
Outputs information about the supported HTTP methods, etc.
Example:
Code Block |
---|
curl -i -X OPTIONS "http://localhost:8080/rest/node/to/options" |
Response:
Code Block |
---|
Status: 200 OK
Accept-Patch: application/sparql-update
Allow: MOVE,COPY,DELETE,POST,HEAD,GET,PUT,PATCH,OPTIONS
Accept-Post: text/turtle,text/rdf+n3,application/n3,text/n3,application/rdf+xml,application/n-triples,multipart/form-data,application/sparql-update |
Status:
Status |
---|
subtle | true |
---|
colour | Green |
---|
title | 200 |
---|
|
OK
Delete a resource
...
Status |
---|
| |
---|
subtle | true |
---|
colour | Red |
---|
title | 404 |
---|
|
Not Found
...
Status |
---|
subtle | true |
---|
colour | Red |
---|
title | MOVE |
---|
|
Move a resource (and its subtree) to a new location
...
Status |
---|
subtle | true |
---|
colour | Red |
---|
title | 502 |
---|
|
Destination URI isn't a valid resource path
...
Status |
---|
subtle | true |
---|
colour | Blue |
---|
title | COPY |
---|
|
Copy a resource (and its subtree) to a new location
...