# pub.chive.claiming.dismissSuggestion

> Published by [lexicons.governance.chive.pub](https://lexicon.garden/identity/did:plc:egjghlwgts2hlcer2txilxeh)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:egjghlwgts2hlcer2txilxeh/pub.chive.claiming.dismissSuggestion)
- [Documentation](https://lexicon.garden/lexicon/did:plc:egjghlwgts2hlcer2txilxeh/pub.chive.claiming.dismissSuggestion/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:egjghlwgts2hlcer2txilxeh/pub.chive.claiming.dismissSuggestion/examples)

## Definitions

### `pub.chive.claiming.dismissSuggestion`

**Type**: `procedure`

Record that the authenticated user does not want to see a particular paper suggestion. The paper is filtered out of future suggestions.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `source` | `string` | Yes | External catalogue the suggestion came from, for example openalex or crossref |
| `externalId` | `string` | Yes | Identifier of the suggested work within that catalogue |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `success` | `boolean` | Yes | Whether the suggestion was recorded as dismissed |

#### Errors

- **AuthenticationRequired**: Authentication is required to dismiss a suggestion
- **InvalidRequest**: The source or external identifier was missing or malformed

## Raw Schema

```json
{
  "id": "pub.chive.claiming.dismissSuggestion",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "source",
            "externalId"
          ],
          "properties": {
            "source": {
              "type": "string",
              "maxLength": 64,
              "minLength": 1,
              "description": "External catalogue the suggestion came from, for example openalex or crossref"
            },
            "externalId": {
              "type": "string",
              "maxLength": 512,
              "minLength": 1,
              "description": "Identifier of the suggested work within that catalogue"
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "AuthenticationRequired",
          "description": "Authentication is required to dismiss a suggestion"
        },
        {
          "name": "InvalidRequest",
          "description": "The source or external identifier was missing or malformed"
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "success"
          ],
          "properties": {
            "success": {
              "type": "boolean",
              "description": "Whether the suggestion was recorded as dismissed"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Record that the authenticated user does not want to see a particular paper suggestion. The paper is filtered out of future suggestions."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}
```
