# social.grain.unspecced.getSpaceSupport

> Whether the viewer's PDS serves permissioned spaces (proposal 0016). Answered from a cached probe of community.lexicon.service.describe.

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

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.unspecced.getSpaceSupport)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.unspecced.getSpaceSupport/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.unspecced.getSpaceSupport/analytics)

## Query (`social.grain.unspecced.getSpaceSupport`)

Type: query · GET

### Parameters (query string)

- `force` (boolean): Probe the PDS again rather than answering from cache. For a viewer whose server has just gained spaces and does not want to wait for the cached answer to age out.

### Output (application/json)

- `checkedAt` (string · datetime)
- `missing` (array): Space methods grain needs that this PDS does not serve. Empty when supported; the full list when the PDS answers no describe at all.
  - `items` (string)
- `pds` (string, required): The PDS endpoint that was probed.
- `supported` (boolean, required): True when the PDS serves every space method grain needs.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Whether the viewer's PDS serves permissioned spaces (proposal 0016). Answered from a cached probe of community.lexicon.service.describe.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "checkedAt": {
              "format": "datetime",
              "type": "string"
            },
            "missing": {
              "description": "Space methods grain needs that this PDS does not serve. Empty when supported; the full list when the PDS answers no describe at all.",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            "pds": {
              "description": "The PDS endpoint that was probed.",
              "type": "string"
            },
            "supported": {
              "description": "True when the PDS serves every space method grain needs.",
              "type": "boolean"
            }
          },
          "required": [
            "supported",
            "pds"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "force": {
            "description": "Probe the PDS again rather than answering from cache. For a viewer whose server has just gained spaces and does not want to wait for the cached answer to age out.",
            "type": "boolean"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "social.grain.unspecced.getSpaceSupport",
  "lexicon": 1
}
```
