# fyi.opensocial.getDraftFile

> Published by [lexicons.opensocial.fyi](https://lexicon.garden/identity/did:plc:2gqnilpksz2e7faj3bwvo6qc)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.getDraftFile)
- [Documentation](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.getDraftFile/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.getDraftFile/examples)

## Definitions

### `fyi.opensocial.getDraftFile`

**Type**: `query`

One of the files a draft your assistant left for you brings, by its number (from 1), for you to add it with: a picture for a page, say, which you upload as yours.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `draft` | `string` | Yes |  |
| `group` | `string` (did) | Yes |  |
| `n` | `integer` | Yes |  |

#### Output

**Encoding**: `*/*`

#### Errors

- **NotFound**

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "One of the files a draft your assistant left for you brings, by its number (from 1), for you to add it with: a picture for a page, say, which you upload as yours.",
      "errors": [
        {
          "name": "NotFound"
        }
      ],
      "output": {
        "encoding": "*/*"
      },
      "parameters": {
        "properties": {
          "draft": {
            "type": "string"
          },
          "group": {
            "format": "did",
            "type": "string"
          },
          "n": {
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "group",
          "draft",
          "n"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "fyi.opensocial.getDraftFile",
  "lexicon": 1
}
```
