# fyi.opensocial.listPeopleChannels

> The group's channels kept for chosen people that you're one of: each with who it's for, its tabs and their files. Nobody else learns they exist.

- Kind: query
- Authority: opensocial.fyi
- Lexicon: 1
- Published by [lexicons.opensocial.fyi](https://lexicon.garden/identity/did:plc:2gqnilpksz2e7faj3bwvo6qc), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.listPeopleChannels)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.listPeopleChannels/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.listPeopleChannels/analytics)

## Query (`fyi.opensocial.listPeopleChannels`)

Type: query · GET

### Parameters (query string)

- `group` (string · did, required)

### Output (application/json)

- `channels` (array, required)
  - `items` (ref)
    - Reference: `#channelView`

## #channelView (`fyi.opensocial.listPeopleChannels#channelView`)

Type: object

### Properties

- `files` (array): Its tabs' files, each read with getSpaceBlob from the channel's space.
  - `items` (ref)
    - Reference: `fyi.opensocial.defs#file`
- `formerly` (array): The slugs it had before: links to them still find it.
  - `items` (string)
- `name` (string, required)
- `people` (array, required)
  - `items` (string · did)
- `slug` (string, required)
- `tabs` (array, required)
  - `items` (ref)
    - Reference: `fyi.opensocial.site#tab`
- `uri` (string · at-uri, required): Its space.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "channelView": {
      "properties": {
        "files": {
          "description": "Its tabs' files, each read with getSpaceBlob from the channel's space.",
          "items": {
            "ref": "fyi.opensocial.defs#file",
            "type": "ref"
          },
          "type": "array"
        },
        "formerly": {
          "description": "The slugs it had before: links to them still find it.",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "name": {
          "type": "string"
        },
        "people": {
          "items": {
            "format": "did",
            "type": "string"
          },
          "type": "array"
        },
        "slug": {
          "type": "string"
        },
        "tabs": {
          "items": {
            "ref": "fyi.opensocial.site#tab",
            "type": "ref"
          },
          "type": "array"
        },
        "uri": {
          "description": "Its space.",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "slug",
        "name",
        "people",
        "tabs"
      ],
      "type": "object"
    },
    "main": {
      "description": "The group's channels kept for chosen people that you're one of: each with who it's for, its tabs and their files. Nobody else learns they exist.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "channels": {
              "items": {
                "ref": "#channelView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "channels"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "group": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "group"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "fyi.opensocial.listPeopleChannels",
  "lexicon": 1
}
```
