# computer.localnetwork.directory.listSets

> List the sets some accounts published, most recently played first. Only accounts that manage a published project have their sets listed.

- Kind: query
- Authority: directory.localnetwork.computer
- Lexicon: 1
- Published by [localnetwork.computer](https://lexicon.garden/identity/did:plc:d42l64gsczg6qh2vo243xv5l), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.directory.listSets)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.directory.listSets/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.directory.listSets/analytics)

## Query (`computer.localnetwork.directory.listSets`)

Type: query · GET

### Parameters (query string)

- `actors` (array, required)
  - Constraints: maxLength: 10
  - `items` (string · did)
- `limit` (integer)
  - Constraints: minimum: 1, maximum: 100, default: 50

### Output (application/json)

- `sets` (array, required)
  - `items` (ref)
    - Reference: `computer.localnetwork.directory.defs#setView`

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "List the sets some accounts published, most recently played first. Only accounts that manage a published project have their sets listed.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "sets": {
              "items": {
                "ref": "computer.localnetwork.directory.defs#setView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "sets"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "actors": {
            "items": {
              "format": "did",
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          },
          "limit": {
            "default": 50,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "actors"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "computer.localnetwork.directory.listSets",
  "lexicon": 1
}
```
