dev.gitosphere.repository.prepareIssueMutation

gitosphere-lex.bsky.social

Documentation

main procedure

No description available.

Input

Encodingapplication/json
baseRevision string Optional

No description available.

dryRun boolean Optional

No description available.

intent union Required

No description available.

realmId string Required

No description available.

maxLength: 64 bytesminLength: 1 bytes
repositoryId string Required

No description available.

maxLength: 36 bytesminLength: 36 bytes

Output

Encodingapplication/json
accepted boolean Required

No description available.

recordKey string Optional

No description available.

replayed boolean Required

No description available.

Errors

InvalidRequest
ValidationFailed
AuthenticationRequired
AccessDenied
RepositoryMismatch
RecordNotFound
Conflict
IdempotencyConflict
DependencyUnavailable
InternalServerError
InvitationRequired An invitation is required to use this service.
AccountSuspended Service access for this DID is suspended.
ServicePaused An administrator has paused new requests for this target.
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
{
  "errors": [
    {
      "name": "InvalidRequest"
    },
    {
      "name": "ValidationFailed"
    },
    {
      "name": "AuthenticationRequired"
    },
    {
      "name": "AccessDenied"
    },
    {
      "name": "RepositoryMismatch"
    },
    {
      "name": "RecordNotFound"
    },
    {
      "name": "Conflict"
    },
    {
      "name": "IdempotencyConflict"
    },
    {
      "name": "DependencyUnavailable"
    },
    {
      "name": "InternalServerError"
    },
    {
      "description": "An invitation is required to use this service.",
      "name": "InvitationRequired"
    },
    {
      "description": "Service access for this DID is suspended.",
      "name": "AccountSuspended"
    },
    {
      "description": "An administrator has paused new requests for this target.",
      "name": "ServicePaused"
    }
  ],
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "baseRevision": {
          "type": "string"
        },
        "dryRun": {
          "type": "boolean"
        },
        "idempotencyKey": {
          "ref": "dev.gitosphere.defs#idempotencyKey",
          "type": "ref"
        },
        "intent": {
          "closed": true,
          "refs": [
            "#createIntent",
            "#editIntent",
            "#editTitleIntent",
            "#stateIntent",
            "#relationIntent"
          ],
          "type": "union"
        },
        "realmId": {
          "maxLength": 64,
          "minLength": 1,
          "type": "string"
        },
        "repositoryId": {
          "maxLength": 36,
          "minLength": 36,
          "type": "string"
        }
      },
      "required": [
        "realmId",
        "repositoryId",
        "idempotencyKey",
        "intent"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "accepted": {
          "type": "boolean"
        },
        "record": {
          "ref": "dev.gitosphere.repository.issueMutation",
          "type": "ref"
        },
        "recordKey": {
          "type": "string"
        },
        "replayed": {
          "type": "boolean"
        }
      },
      "required": [
        "replayed",
        "accepted"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}
createIntent object

No description available.

Properties

bodyDocument bytes Required

No description available.

maxLength: 262144
bodyDocumentFormat string Required

No description available.

Known values: gsp-xml-zip-v1
operation string Required

No description available.

title string Required

No description available.

maxLength: 2560 bytes
View raw schema
{
  "properties": {
    "bodyDocument": {
      "maxLength": 262144,
      "type": "bytes"
    },
    "bodyDocumentFormat": {
      "knownValues": [
        "gsp-xml-zip-v1"
      ],
      "type": "string"
    },
    "operation": {
      "enum": [
        "create"
      ],
      "type": "string"
    },
    "title": {
      "maxLength": 2560,
      "type": "string"
    }
  },
  "required": [
    "operation",
    "title",
    "bodyDocument",
    "bodyDocumentFormat"
  ],
  "type": "object"
}
editIntent object

No description available.

Properties

bodyDocument bytes Required

No description available.

maxLength: 262144
bodyDocumentFormat string Required

No description available.

Known values: gsp-xml-zip-v1
number integer Required

No description available.

minimum: 1
operation string Required

No description available.

title string Required

No description available.

maxLength: 2560 bytes
View raw schema
{
  "properties": {
    "bodyDocument": {
      "maxLength": 262144,
      "type": "bytes"
    },
    "bodyDocumentFormat": {
      "knownValues": [
        "gsp-xml-zip-v1"
      ],
      "type": "string"
    },
    "number": {
      "minimum": 1,
      "type": "integer"
    },
    "operation": {
      "enum": [
        "edit"
      ],
      "type": "string"
    },
    "title": {
      "maxLength": 2560,
      "type": "string"
    }
  },
  "required": [
    "operation",
    "number",
    "title",
    "bodyDocument",
    "bodyDocumentFormat"
  ],
  "type": "object"
}
editTitleIntent object

No description available.

Properties

number integer Required

No description available.

minimum: 1
operation string Required

No description available.

title string Required

No description available.

maxLength: 2560 bytes
View raw schema
{
  "properties": {
    "number": {
      "minimum": 1,
      "type": "integer"
    },
    "operation": {
      "enum": [
        "edit"
      ],
      "type": "string"
    },
    "title": {
      "maxLength": 2560,
      "type": "string"
    }
  },
  "required": [
    "operation",
    "number",
    "title"
  ],
  "type": "object"
}
relationIntent object

No description available.

Properties

number integer Required

No description available.

minimum: 1
operation string Required

No description available.

relation string Required

No description available.

relationRevision string Required

No description available.

target string at-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

View raw schema
{
  "properties": {
    "number": {
      "minimum": 1,
      "type": "integer"
    },
    "operation": {
      "enum": [
        "relation"
      ],
      "type": "string"
    },
    "relation": {
      "type": "string"
    },
    "relationRevision": {
      "type": "string"
    },
    "target": {
      "format": "at-uri",
      "type": "string"
    }
  },
  "required": [
    "operation",
    "number",
    "target",
    "relation",
    "relationRevision"
  ],
  "type": "object"
}
stateIntent object

No description available.

Properties

number integer Required

No description available.

minimum: 1
operation string Required

No description available.

state string Required

No description available.

View raw schema
{
  "properties": {
    "number": {
      "minimum": 1,
      "type": "integer"
    },
    "operation": {
      "enum": [
        "state"
      ],
      "type": "string"
    },
    "state": {
      "enum": [
        "open",
        "closed"
      ],
      "type": "string"
    }
  },
  "required": [
    "operation",
    "number",
    "state"
  ],
  "type": "object"
}

Lexicon Garden

@