Write a preference
Writes the key’s whole document, creating the key or replacing it. State what you computed the write against: If-Match: "<version>" from the read or the page, If-None-Match: * to write only while nothing is stored under the key, or If-Match: * to overwrite on purpose. Neither header is 428; a stale version is 412 with currentVersion: re-read and reapply.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Headers
The version you computed the write against, quoted or bare, or * to overwrite on purpose. One of this and If-None-Match: * is required.
*: create the key only while nothing is stored under it, the write a client makes after a 404. Anything else is 400.
Your own id for the request: 8 to 128 of [A-Za-z0-9._-]. It becomes the request’s id and is echoed on the response. A value off that grammar is replaced with a fresh id, never refused.
Request
Response
The key was replaced. The ETag is its new version.
The key: 1 to 128 characters of [A-Za-z0-9._:-], starting with a letter or digit, matched exactly.
The row’s version, the ETag’s value: send it as If-Match on a write of the key. A decimal string from one sequence shared by every row, so it never repeats for a key, not even across a delete and a re-create.
When the key was first written, in epoch nanoseconds; microsecond-exact, so it ends in 000.
When the key was last written, in epoch nanoseconds; microsecond-exact, so it ends in 000.