Repository navigation
The HTTP API and CLI references state the write semantics - #81
Open
namedgraph wants to merge 1 commit into
Open
namedgraph wants to merge 1 commit into
namedgraph wants to merge 1 commit into
Conversation
…s, PUT responses, upload limits and redirects - documents: a PATCH is a single DELETE/INSERT … WHERE or DELETE WHERE, with GRAPH, WITH, USING and USING NAMED refused; PUT answers 204 on replace and 201 on create, with no ETag, while POST and PATCH answer with the document's new ETag; If-Match: * does not count as a precondition and an If-Match PUT to a missing document is refused 412; multipart bodies upload files and fall under the upload limit; the examples quote If-None-Match: * and If-Match - system endpoints: a settings PATCH takes the same forms and conditional-write terms as a document PATCH - configuration: MAX_CONTENT_LENGTH is in bytes and refuses with 413; MAX_UPLOAD_LENGTH caps multipart uploads and nginx follows it - CLI: redirects are not followed and count as failures, a 308 on a slash-less PUT writes nothing; add file appends by default and replaces with --replace - migrating, upload-file: If-Match: * is answered 428; the drop-zone refusal links the upload limit Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documentation only. The HTTP API and CLI references state what the platform actually does on writes:
PATCHis a singleDELETE/INSERT … WHEREorDELETE WHERE;GRAPH,WITH,USINGandUSING NAMEDare refused.PUTanswers204 No Contenton replace and201 Createdon create, with noETag;POSTandPATCHanswer with the document's newETag.If-Match: *does not count as a precondition, and anIf-MatchPUTto a missing document is refused412. Amultipart/form-databody uploads files and falls under the upload limit. The examples quoteIf-None-Match: *andIf-Match.settingsPATCHtakes the same forms and conditional-write terms as a documentPATCH.MAX_CONTENT_LENGTHis in bytes and refuses with413; newMAX_UPLOAD_LENGTHcaps multipart uploads, and nginx follows it.308on a slash-lessPUTwrites nothing.add fileappends by default and replaces with--replace.If-Match: *is answered428; the drop-zone refusal links the upload limit.Test plan
riot --validateon every changed.ttl./check-xmlliterals.sh./check-links.sh🤖 Generated with Claude Code