No description available.
Input
Encoding
application/jsoncollection
stringnsid
Required
A namespaced identifier (e.g., app.bsky.feed.post).
gateUri
stringuri
Required
A valid URI.
record
unknown
Required
No description available.
repo
stringat-identifier
Required
Either a DID or an AT Protocol handle.
rkey
stringrecord-key
Required
A valid record key for AT Protocol repositories.
swapRecord
stringcid
Optional
A content identifier (CID) referencing immutable data.
validate
boolean
Optional
No description available.
Output
Encoding
application/jsoncid
stringcid
Required
A content identifier (CID) referencing immutable data.
uri
stringuri
Required
A valid URI.
validationStatus
string
Required
No description available.
Errors
InvalidSwap
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"repo",
"collection",
"rkey",
"gateUri",
"record"
],
"properties": {
"repo": {
"type": "string",
"format": "at-identifier"
},
"rkey": {
"type": "string",
"format": "record-key"
},
"record": {
"type": "unknown"
},
"gateUri": {
"type": "string",
"format": "uri"
},
"validate": {
"type": "boolean"
},
"collection": {
"type": "string",
"format": "nsid"
},
"swapRecord": {
"type": "string",
"format": "cid"
}
}
},
"encoding": "application/json"
},
"errors": [
{
"name": "InvalidSwap"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"uri",
"cid",
"validationStatus"
],
"properties": {
"cid": {
"type": "string",
"format": "cid"
},
"uri": {
"type": "string",
"format": "uri"
},
"validationStatus": {
"enum": [
"valid",
"unknown"
],
"type": "string"
}
}
},
"encoding": "application/json"
}
}