diff --git a/docs/reference/http-api/documents.ttl b/docs/reference/http-api/documents.ttl index 881fb75..5226bb2 100644 --- a/docs/reference/http-api/documents.ttl +++ b/docs/reference/http-api/documents.ttl @@ -47,9 +47,9 @@
POST204 No ContentPOST204 No Content400 Bad Request422 Unprocessable Entity422 Unprocessable Entitysioc:has_parent/sioc:has_container of a resource other than the documentPUT200 OK201 Created308 Permanent RedirectPUT200 OK201 Created308 Permanent Redirect400 Bad Request422 Unprocessable Entity422 Unprocessable Entitysioc:has_parent/sioc:has_container of a resource other than the documentDELETEPATCH204 No Content422 Unprocessable EntityPATCH204 No Content422 Unprocessable EntityINSERT/DELETE operation, or removes an rdf:typesioc:has_parent/sioc:has_container, or adds one of another resourceAny method may additionally answer 403 Forbidden — see Access control. Any method that writes may answer 428 Precondition Required when the request carries no precondition, or 412 Precondition Failed when the one it carries is out of date — see Conditional writes.
An IRI the IRI syntax does not allow — such as <http://[::1> or one with a space in it — is refused with 422 Unprocessable Entity, whether it comes in an RDF body, an RDF/POST form or a SPARQL update. The response names each value as an ldh:URISyntaxViolation, with the value as typed in ldh:violationValue; an RDF body names the first one only, as its parser stops there. A Turtle or N-Triples body with a space or < in an IRI is answered 400 Bad Request instead, as its tokenizer does not report the value.