app.ocho.state.getConfig

ocho-lexicons.ocho.app

Documentation

Creates a link between a service (hosted on the atproto) and its InstantDB App ID.

main query

Creates a link between a service (hosted on the atproto) and its InstantDB App ID.

Output

Encodingapplication/json
accountToken string Required

The token for the InstantDB account

adminToken string Required

The InstantDB admin token

id string Required

The App ID

Errors

InvalidID
InvalidServiceAuth
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://api.bsky.social)
View raw schema
{
  "type": "query",
  "errors": [
    {
      "name": "InvalidID"
    },
    {
      "name": "InvalidServiceAuth"
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "id",
        "adminToken",
        "accountToken"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "The App ID"
        },
        "adminToken": {
          "type": "string",
          "description": "The InstantDB admin token"
        },
        "accountToken": {
          "type": "string",
          "description": "The token for the InstantDB account"
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Creates a link between a service (hosted on the atproto) and its InstantDB App ID."
}

Lexicon Garden

@