ooo.bsky.authfetch.putRecord

lexicon.store

Documentation

Creates or updates a private record in your hidden repository. Requires auth.

main procedure

Creates or updates a private record in your hidden repository. Requires auth.

Input

Encodingapplication/json
collection stringnsid Required

The NSID of the record collection.

record unknown Required

The private record value to store.

rkey stringrecord-key Required

The Record Key.

Output

Encodingapplication/json
uri stringat-uri Required

The AT URI of the stored record.

Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "type": "procedure",
  "input": {
    "schema": {
      "type": "object",
      "required": [
        "collection",
        "rkey",
        "strategy",
        "record"
      ],
      "properties": {
        "rkey": {
          "type": "string",
          "format": "record-key",
          "description": "The Record Key."
        },
        "record": {
          "type": "unknown",
          "description": "The private record value to store."
        },
        "strategy": {
          "ref": "ooo.bsky.authfetch.strategy",
          "type": "ref",
          "description": "The strategy used to authenticate fetch requests for this record."
        },
        "collection": {
          "type": "string",
          "format": "nsid",
          "description": "The NSID of the record collection."
        }
      }
    },
    "encoding": "application/json"
  },
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "uri"
      ],
      "properties": {
        "uri": {
          "type": "string",
          "format": "at-uri",
          "description": "The AT URI of the stored record."
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Creates or updates a private record in your hidden repository. Requires auth."
}

Lexicon Garden

@