Skip to navigation

List your preferences

Your preferences, the newest change first unless sort says otherwise, narrowed by key (exact, up to 100), tag (every tag named) and tag.notIn. Page with limit and cursor; include=total adds the exact count. Each row carries its version, so you can write from a page without a read per key. Read-your-writes: a page after a 200 shows the write.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

X-Request-IdstringOptional

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.

Query parameters

keystringOptional

Only these keys, exact, at most 100; repeat the parameter or comma-separate; one off the key grammar is 400. A key you have not written is simply absent from the page.

tagstringOptional

Only preferences carrying every one of these tags, matched lower-cased: tag=group:table&tag=page:trade is the trade page’s tables. One off the tag grammar is 400.

tag.notInstringOptional

None of the preferences carrying any of these tags; one off the tag grammar is 400.

sortstringOptional

Comma-separated updatedAtNs, createdAtNs or key; prefix - for descending. Default -updatedAtNs. The key breaks every tie.

limitintegerOptional

Page size, 1-100; larger values are clamped. Default 50.

cursorstringOptional

nextCursor or prevCursor from a previous page, sent with the same filters and sort. A cursor is bound to you: sent by anyone else it is 400.

includeenumOptional

total adds the exact count.

Allowed values:

Response

A page of your preferences.
itemslist of objects
nextCursorstring or null

Pass as cursor for the next page. Null on the last page.

prevCursorstring or null

Pass as cursor for the previous page. Null on the first page.

totalinteger or null

Exact count matching the filter. Null unless include=total.

asOfSeqTsNsstring or nullformat: "^[0-9]+$"

Always null: your preferences are read-your-writes and carry no sequencer position, so no X-Immix-As-Of-Seq-Ts is sent either.

Errors

400
List Preferences Request Bad Request Error
401
List Preferences Request Unauthorized Error
501
List Preferences Request Not Implemented Error
503
List Preferences Request Service Unavailable Error