# uk.skyblur.post.getPost

> Published by [skyblur.uk](https://lexicon.garden/identity/did:plc:4sm3vprfyl55ui3yhjd7w4po)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4sm3vprfyl55ui3yhjd7w4po/uk.skyblur.post.getPost)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4sm3vprfyl55ui3yhjd7w4po/uk.skyblur.post.getPost/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4sm3vprfyl55ui3yhjd7w4po/uk.skyblur.post.getPost/examples)

## Definitions

### `uk.skyblur.post.getPost`

**Type**: `procedure`

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.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uri` | `string` (at-uri) | Yes | Skyblur post at-uri. It shoud be uk.skyblur.post collection. |
| `password` | `string` | No | If the specified uri is password-protected, please provide the password. If no password is specified, the non-protected content will be returned. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `text` | `string` | Yes |  |
| `listUri` | `string` (at-uri) | No | Selected Bluesky list AT-URI for list visibility. May be returned for authorized, masked and authorization error responses. |
| `message` | `string` | No |  |
| `createdAt` | `string` (datetime) | No |  |
| `errorCode` | `string` | No | Error code for restricted content. e.g. AuthRequired, NotFollower, NotFollowing, NotMutual, NotListMember, ListMembershipCheckFailed, ListUriMissing, InvalidListUri |
| `additional` | `string` | No |  |
| `encryptCid` | `string` | No |  |
| `visibility` | `string` | No |  |
| `errorDescription` | `string` | No | Description of the error code. |

## Raw Schema

```json
{
  "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."
            },
            "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"
            },
            "createdAt": {
              "type": "string",
              "format": "datetime"
            },
            "errorCode": {
              "type": "string",
              "description": "Error code for restricted content. e.g. 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
}
```
