# net.olamaelcu.livtet.biblio.searchPublishers

> Search catalog publishers by name or identifier value. Anonymous and read-only; served by the bibliograph edge from the catalog tables. Results are ordered by exact-name match, then name prefix, then substring, with a stable name/URI tie-break.

- Kind: query
- Authority: biblio.livtet.olamaelcu.net
- Lexicon: 1
- Published by [biblio.livtet.olamaelcu.net](https://lexicon.garden/identity/did:plc:e2x3ihw2ntxt7pcgzmtu3abi), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/net.olamaelcu.livtet.biblio.searchPublishers)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/net.olamaelcu.livtet.biblio.searchPublishers/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/net.olamaelcu.livtet.biblio.searchPublishers/analytics)

## Query (`net.olamaelcu.livtet.biblio.searchPublishers`)

Type: query · GET

### Parameters (query string)

- `cursor` (string): Opaque pagination cursor from a previous response. A malformed cursor restarts at the beginning rather than erroring.
  - Constraints: maxLength: 512
- `limit` (integer): Maximum number of publishers to return.
  - Constraints: minimum: 1, maximum: 100, default: 25
- `q` (string, required): Text to match against the publisher's name and identifier values. Case-insensitive substring match; a blank value is rejected.
  - Constraints: minLength: 1, maxLength: 256

### Output (application/json)

- `cursor` (string): Opaque cursor for the next page; absent when no more matches exist.
- `items` (array, required)
  - `items` (ref)
    - Reference: `net.olamaelcu.livtet.biblio.defs#publisherView`

### Errors

- `InvalidQuery`: q is missing or blank.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "errors": [
        {
          "description": "q is missing or blank.",
          "name": "InvalidQuery"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "description": "Opaque cursor for the next page; absent when no more matches exist.",
              "type": "string"
            },
            "items": {
              "items": {
                "ref": "net.olamaelcu.livtet.biblio.defs#publisherView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "items"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Opaque pagination cursor from a previous response. A malformed cursor restarts at the beginning rather than erroring.",
            "maxLength": 512,
            "type": "string"
          },
          "limit": {
            "default": 25,
            "description": "Maximum number of publishers to return.",
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          },
          "q": {
            "description": "Text to match against the publisher's name and identifier values. Case-insensitive substring match; a blank value is rejected.",
            "maxLength": 256,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "q"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "Search catalog publishers by name or identifier value. Anonymous and read-only; served by the bibliograph edge from the catalog tables. Results are ordered by exact-name match, then name prefix, then substring, with a stable name/URI tie-break.",
  "id": "net.olamaelcu.livtet.biblio.searchPublishers",
  "lexicon": 1
}
```
