Get a preference
One of your preferences by key, matched exactly. A key you have not written is 404: a client shows its default then, with no version to write against, and creates the key with If-None-Match: *. The ETag is the row’s version; send it back as If-None-Match to be answered 304 while nothing has changed.
Answers 304. Unchanged: the version If-None-Match named is the row’s. No body; the ETag restates the version.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
Headers
The ETag you hold, quoted or bare: while it is still the row’s version the read answers 304 with no body, else 200 with the row.
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.
Response
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.