# app.thesocialwire.publication.resolvePublication

> Published by [samclemente.me](https://lexicon.garden/identity/did:plc:qy5pluw2bsuq2x6albsgkvx3)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.publication.resolvePublication)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.publication.resolvePublication/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.publication.resolvePublication/examples)

## Definitions

### `app.thesocialwire.publication.resolvePublication`

**Type**: `procedure`

Resolve an AT URI, DID, handle, or URL to a publication.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `input` | `string` | Yes |  |

#### Output

**Encoding**: `application/json`

#### Errors

- **InvalidRequest**
- **PublicationNotFound**
- **UpstreamUnavailable**

## Raw Schema

```json
{
  "id": "app.thesocialwire.publication.resolvePublication",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "input"
          ],
          "properties": {
            "input": {
              "type": "string",
              "maxLength": 2048
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "PublicationNotFound"
        },
        {
          "name": "UpstreamUnavailable"
        }
      ],
      "output": {
        "schema": {
          "ref": "app.thesocialwire.defs#jsonObject",
          "type": "ref"
        },
        "encoding": "application/json"
      },
      "description": "Resolve an AT URI, DID, handle, or URL to a publication."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
