...
Methods: GET, POST, PUT, PATCH, HEAD, OPTIONS, DELETE, MOVE, COPY
...
Retrieve all triples for the resource Status title GET
...
Status | ||||||
---|---|---|---|---|---|---|
|
...
Delete a resource Status colour Redtitle DELETE
Request Headers:
Lock-Token (Optional) a Lock-Token for any locks previously created on resources updated by this operation
Retrieve the node headersHEAD
Example:
Code Block |
---|
curl -i -X DELETEHEAD "http://localhost:8080/rest/node/to/deletehead" |
Response:
Code Block |
---|
Status: 204 No Content |
Status:
200 OK
ETag: "bbdd92e395800153a686773f773bcad80a51f47b"
Last-Modified: Wed, 28 May 2014 18:31:36 GMT
Preference-Applied: return=representation; include="http://www.w3.org/ns/ldp#PreferMembership http://www.w3.org/ns/ldp#PreferContainment http://fedora.info/definitions/v4/repository#InboundReferences" |
Status:
Status | ||||||
---|---|---|---|---|---|---|
|
Status | ||||||||
---|---|---|---|---|---|---|---|---|
|
Outputs information about the supported HTTP methods, etc. Status colour Yellow title OPTIONS
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 | ||||||
---|---|---|---|---|---|---|
|
Delete a resource Status colour Red title DELETE
Request Headers:
Lock-Token (Optional) a Lock-Token for any locks previously created on resources updated by this operation
Example:
Code Block |
---|
curl -X DELETE "http://localhost:8080/rest/node/to/delete" |
Response:
Code Block |
---|
Status: 204 No Content |
Status:
Status | ||||||
---|---|---|---|---|---|---|
| ||||||
Status | ||||||
|
Status | ||||||||
---|---|---|---|---|---|---|---|---|
|
...
Status | ||||||
---|---|---|---|---|---|---|
|