# net.olamaelcu.livtet.biblio.isMuted

> Whether the caller has muted one book, contributor or person. Authenticated with an atproto service JWT minted by the caller's own PDS (`aud` this AppView's `did:web`, `lxm` this NSID).

- 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.isMuted)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/net.olamaelcu.livtet.biblio.isMuted/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:e2x3ihw2ntxt7pcgzmtu3abi/net.olamaelcu.livtet.biblio.isMuted/analytics)

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

Type: query · GET

### Parameters (query string)

- `subject` (string, required): The muted resource. For `book` and `contributor`, an at-uri in that collection; for `person`, a DID.
  - Constraints: minLength: 1
- `subjectType` (string, required)
  - Constraints: knownValues: book | contributor | person

### Output (application/json)

- `muted` (boolean, required): Whether the caller has muted this subject.

### Errors

- `AuthRequired`: No service JWT, or one that does not verify.
- `InvalidRequest`: `subject`/`subjectType` are missing or do not match.
- `ServiceUnavailable`: The mute store could not be reached.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "errors": [
        {
          "description": "No service JWT, or one that does not verify.",
          "name": "AuthRequired"
        },
        {
          "description": "`subject`/`subjectType` are missing or do not match.",
          "name": "InvalidRequest"
        },
        {
          "description": "The mute store could not be reached.",
          "name": "ServiceUnavailable"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "muted": {
              "description": "Whether the caller has muted this subject.",
              "type": "boolean"
            }
          },
          "required": [
            "muted"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "subject": {
            "description": "The muted resource. For `book` and `contributor`, an at-uri in that collection; for `person`, a DID.",
            "minLength": 1,
            "type": "string"
          },
          "subjectType": {
            "knownValues": [
              "book",
              "contributor",
              "person"
            ],
            "type": "string"
          }
        },
        "required": [
          "subject",
          "subjectType"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "Whether the caller has muted one book, contributor or person. Authenticated with an atproto service JWT minted by the caller's own PDS (`aud` this AppView's `did:web`, `lxm` this NSID).",
  "id": "net.olamaelcu.livtet.biblio.isMuted",
  "lexicon": 1
}
```
