# computer.localnetwork.directory.getRecords

> Get records the directory indexed, by URI, in the order asked for. Records it doesn't have are left out.

- 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.getRecords)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.directory.getRecords/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.directory.getRecords/analytics)

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

Type: query · GET

### Parameters (query string)

- `uris` (array, required)
  - Constraints: maxLength: 25
  - `items` (string · at-uri)

### Output (application/json)

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

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get records the directory indexed, by URI, in the order asked for. Records it doesn't have are left out.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "records": {
              "items": {
                "ref": "computer.localnetwork.directory.defs#recordView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "records"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "uris": {
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 25,
            "type": "array"
          }
        },
        "required": [
          "uris"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "computer.localnetwork.directory.getRecords",
  "lexicon": 1
}
```
