# fyi.opensocial.listGroups

Host-level: the groups hosted here, with their profiles. v1 discovery; a real index would come from declarations on the public network.

A method (query) the reference host at opensocial.fyi serves beyond the spec. The page: https://www.atmospheregroups.org/reference/lexicons/fyi-opensocial-listGroups/

- Published at: at://did:plc:2gqnilpksz2e7faj3bwvo6qc/com.atproto.lexicon.schema/fyi.opensocial.listGroups

## The schema as published

```json
{
  "defs": {
    "main": {
      "description": "Host-level: the groups hosted here, with their profiles. v1 discovery; a real index would come from declarations on the public network.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "groups": {
              "items": {
                "ref": "fyi.opensocial.defs#groupView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "groups"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {},
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "fyi.opensocial.listGroups",
  "lexicon": 1
}
```
