{
"id": "uk.skyblur.post.getPost",
"defs": {
"main": {
"type": "procedure",
"input": {
"schema": {
"type": "object",
"required": [
"uri"
],
"properties": {
"uri": {
"type": "string",
"format": "at-uri",
"description": "Skyblur post at-uri. It shoud be uk.skyblur.post collection."
},
"forEdit": {
"type": "boolean",
"description": "Author-only edit retrieval. Allows the record owner to load restricted content before its scheduled reveal for editing; never use for normal post viewing."
},
"password": {
"type": "string",
"description": "If the specified uri is password-protected, please provide the password. If no password is specified, the non-protected content will be returned."
}
}
},
"encoding": "application/json"
},
"output": {
"schema": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string"
},
"listUri": {
"type": "string",
"format": "at-uri",
"description": "Selected Bluesky list AT-URI for list visibility. May be returned for authorized, masked and authorization error responses."
},
"message": {
"type": "string"
},
"unlockAt": {
"type": "string",
"format": "datetime",
"description": "Scheduled reveal time. Returned with LockedUntil for supported restricted visibility."
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"errorCode": {
"type": "string",
"description": "Error code for unavailable content. e.g. LockedUntil, AuthRequired, NotFollower, NotFollowing, NotMutual, NotListMember, ListMembershipCheckFailed, ListUriMissing, InvalidListUri"
},
"additional": {
"type": "string"
},
"encryptCid": {
"type": "string"
},
"visibility": {
"type": "string"
},
"errorDescription": {
"type": "string",
"description": "Description of the error code."
}
}
},
"encoding": "application/json"
},
"description": "Get Skyblur post. If the specified post is password-protected, you can retrieve the unlocked content by providing the password. Auth required for followers, following, mutual and list visibility."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}