Pin

The world's owner key, or a co-builder's (a person's or a seat's), with its PIN. Marks the element hidden; hiding a hidden element again changes nothing. No Idempotency-Key: the call is idempotent. The element's fields and its change_seq do not change; a reader who still sees it gets hidden: true on its body, and one upsert row on GET /changes at the hide's position. A create may carry the mark too: hidden: true in the body of POST /{type}, of a PUT /{type}/{id} that creates, or of a /bulk item that creates, from the same keys, makes the element hidden from its first change_seq, so it is never served to a reader that cannot see hidden elements. A hidden element is seen only by the world's owner, its co-builders and the member who created it. To every other key it is as if it did not exist: a GET of it is 404, lists, search and counts leave it out, links to it are left out of the elements that carry them (those elements do not change), and a write naming its id answers as a missing id does. A key the owner minted (no member) reads as the owner and sees hidden elements. On /changes, a hide gives each contributor who loses the element (person or seat, never the member who made it) one delete row with reason hidden, at the change_seq the hide took; a guest gets no row, and its feed resets (409 resync_required) if it saw the element. An unhide resets every contributor and guest that regains it. A hidden Character is null on the roster (GET /members, GET /me, the world's owner_character) and can never be the Character a seat, a player or a person plays (422 character_hidden). Every body of a hidden element served to a reader who still sees it carries hidden: true (absent otherwise); a world file never does. The hidden mark answers only where the server has it switched on; elsewhere every hidden route is a 404.

put/api/v2/pin/{id}/hidden

Request

  • Base URL
    https://www.onlyworlds.com
  • Auth
    API key in header API-Key and API key in header API-Pin

Path parameters

id, string uuid required

The pin's id (a malformed id is a 422).

Headers

X-OW-Agent, string

Send it (any non-empty value) when an AI makes this write: the change is recorded with set_via declared. An AI seat's key is recorded as seat and MCP as mcp without it. The value is never stored.

Request body

object required
fields, string[]

Reserved for hiding single fields, which is not built yet: leave it out or send []. A non-empty list is a 422.

Response

Hidden.

Changes

    • info

      added the new optional header request parameter X-OW-Agent

    • info

      added the optional property error/limit to the response with the status

    • info

      added the optional property error/limit to the response with the status

    4 more changes in this revision