# uk.skyblur.post.store

> 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.store)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4sm3vprfyl55ui3yhjd7w4po/uk.skyblur.post.store/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4sm3vprfyl55ui3yhjd7w4po/uk.skyblur.post.store/examples)

## Definitions

### `uk.skyblur.post.store`

**Type**: `procedure`

Stores a restricted post in the Skyblur AppView. Auth required.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uri` | `string` (at-uri) | Yes | The URI must include the logged-in user's DID in the format at://did... |
| `text` | `string` | Yes |  |
| `listUri` | `string` (at-uri) | No | Selected Bluesky list AT-URI. Required by application validation when visibility is 'list'. |
| `additional` | `string` | No |  |
| `visibility` | `string` | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `message` | `string` | No |  |
| `success` | `boolean` | Yes |  |

## Raw Schema

```json
{
  "id": "uk.skyblur.post.store",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "text",
            "uri",
            "visibility"
          ],
          "properties": {
            "uri": {
              "type": "string",
              "format": "at-uri",
              "description": "The URI must include the logged-in user's DID in the format at://did..."
            },
            "text": {
              "type": "string",
              "maxLength": 3000,
              "maxGraphemes": 300
            },
            "listUri": {
              "type": "string",
              "format": "at-uri",
              "description": "Selected Bluesky list AT-URI. Required by application validation when visibility is 'list'."
            },
            "additional": {
              "type": "string",
              "maxLength": 100000,
              "maxGraphemes": 10000
            },
            "visibility": {
              "enum": [
                "followers",
                "following",
                "mutual",
                "list"
              ],
              "type": "string"
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "success"
          ],
          "properties": {
            "message": {
              "type": "string"
            },
            "success": {
              "type": "boolean"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Stores a restricted post in the Skyblur AppView. Auth required."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
