at.ducs.relationships.setRelationship

ducs.at

Documentation

main procedure

No description available.

Input

Encodingapplication/json
userId stringat-identifier Required

Either a DID or an AT Protocol handle.

Output

Encodingapplication/json

Errors

relationshipUpdateFailed
relationshipNotUpdated
userNotFound
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": [
        "userId",
        "type"
      ],
      "properties": {
        "type": {
          "ref": "at.ducs.relationships.setRelationship#type",
          "type": "ref"
        },
        "userId": {
          "type": "string",
          "format": "at-identifier"
        }
      }
    },
    "encoding": "application/json"
  },
  "errors": [
    {
      "name": "relationshipUpdateFailed"
    },
    {
      "name": "relationshipNotUpdated"
    },
    {
      "name": "userNotFound"
    }
  ],
  "output": {
    "schema": {
      "ref": "at.ducs.relationships.defs#relationship",
      "type": "ref"
    },
    "encoding": "application/json"
  }
}
type string

No description available.

Allowed Values (closed enum)
friend blocked unrelated
View raw schema
{
  "enum": [
    "friend",
    "blocked",
    "unrelated"
  ],
  "type": "string"
}

Lexicon Garden

@