# app.thesocialwire.appview.getReadStateStatus

> Read the authenticated viewer migration authority and verified manifest. No public or shared cache.

- Kind: query
- Authority: appview.thesocialwire.app
- Lexicon: 1
- Published by [samclemente.me](https://lexicon.garden/identity/did:plc:qy5pluw2bsuq2x6albsgkvx3), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.appview.getReadStateStatus)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.appview.getReadStateStatus/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:qy5pluw2bsuq2x6albsgkvx3/app.thesocialwire.appview.getReadStateStatus/analytics)

## Query (`app.thesocialwire.appview.getReadStateStatus`)

Type: query · GET

### Parameters (query string)


### Output (application/json)

- `authority` (string, required)
  - Constraints: maxLength: 7, enum: appview | pds
- `legacyRevision` (integer, required)
  - Constraints: minimum: 0, maximum: 9007199254740991
- `manifest` (ref)
  - Reference: `app.thesocialwire.readState`
- `manifestCid` (string · cid)
  - Constraints: maxLength: 256
- `migrationState` (string, required)
  - Constraints: maxLength: 10, enum: notStarted | verified
- `projectionReady` (boolean): False while the rebuildable projection is being restored; read requests fail with a retryable unavailable response.

### Errors

- `InvalidRequest`: No description in schema.
- `Conflict`: No description in schema.
- `UpstreamUnavailable`: No description in schema.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Read the authenticated viewer migration authority and verified manifest. No public or shared cache.",
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "Conflict"
        },
        {
          "name": "UpstreamUnavailable"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "authority": {
              "enum": [
                "appview",
                "pds"
              ],
              "maxLength": 7,
              "type": "string"
            },
            "legacyRevision": {
              "maximum": 9007199254740991,
              "minimum": 0,
              "type": "integer"
            },
            "manifest": {
              "ref": "app.thesocialwire.readState",
              "type": "ref"
            },
            "manifestCid": {
              "format": "cid",
              "maxLength": 256,
              "type": "string"
            },
            "migrationState": {
              "enum": [
                "notStarted",
                "verified"
              ],
              "maxLength": 10,
              "type": "string"
            },
            "projectionReady": {
              "description": "False while the rebuildable projection is being restored; read requests fail with a retryable unavailable response.",
              "type": "boolean"
            }
          },
          "required": [
            "authority",
            "migrationState",
            "legacyRevision"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {},
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "app.thesocialwire.appview.getReadStateStatus",
  "lexicon": 1
}
```
