# social.colibri.beta.polyfill.getStatus

> Reports where the requesting user's space repos live and whether their PDS can host spaces now. The client routes space reads and writes by the mode, and starts a migration when the mode is polyfill and the PDS supports spaces.

- Kind: query
- Authority: polyfill.beta.colibri.social
- Lexicon: 1
- Published by [colibri.social](https://lexicon.garden/identity/did:plc:mprdjqjluoswa7awzggaggj3), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.beta.polyfill.getStatus)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.beta.polyfill.getStatus/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.beta.polyfill.getStatus/analytics)

## Query (`social.colibri.beta.polyfill.getStatus`)

Type: query · GET

### Output (application/json)

- `migration` (ref): Progress of a running migration. Absent when none runs.
  - Reference: `social.colibri.beta.polyfill.defs#migrationProgress`
- `mode` (ref, required): Where the user's repos live after this call.
  - Reference: `social.colibri.beta.polyfill.defs#hostMode`
- `pdsSupportsSpaces` (boolean, required): Whether the user's PDS serves the space methods a migration needs, as of the last check.

### Errors

- `AuthRequired`: The request has no valid service auth.
- `InvalidRequest`: The arguments are inconsistent or malformed beyond schema validation.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Reports where the requesting user's space repos live and whether their PDS can host spaces now. The client routes space reads and writes by the mode, and starts a migration when the mode is polyfill and the PDS supports spaces.",
      "errors": [
        {
          "description": "The request has no valid service auth.",
          "name": "AuthRequired"
        },
        {
          "description": "The arguments are inconsistent or malformed beyond schema validation.",
          "name": "InvalidRequest"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "migration": {
              "description": "Progress of a running migration. Absent when none runs.",
              "ref": "social.colibri.beta.polyfill.defs#migrationProgress",
              "type": "ref"
            },
            "mode": {
              "description": "Where the user's repos live after this call.",
              "ref": "social.colibri.beta.polyfill.defs#hostMode",
              "type": "ref"
            },
            "pdsSupportsSpaces": {
              "description": "Whether the user's PDS serves the space methods a migration needs, as of the last check.",
              "type": "boolean"
            }
          },
          "required": [
            "mode",
            "pdsSupportsSpaces"
          ],
          "type": "object"
        }
      },
      "type": "query"
    }
  },
  "id": "social.colibri.beta.polyfill.getStatus",
  "lexicon": 1
}
```
