# club.hellyeah.getRunEnds

> Every run an account has ended, newest first. Public and permanent.

- Kind: query
- Authority: hellyeah.club
- Lexicon: 1
- Published by [hellyeah.club](https://lexicon.garden/identity/did:plc:ce2gpmv3q5a4xlnpt63e4nsn), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:ce2gpmv3q5a4xlnpt63e4nsn/club.hellyeah.getRunEnds)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:ce2gpmv3q5a4xlnpt63e4nsn/club.hellyeah.getRunEnds/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:ce2gpmv3q5a4xlnpt63e4nsn/club.hellyeah.getRunEnds/analytics)

## Query (`club.hellyeah.getRunEnds`)

Type: query · GET

### Parameters (query string)

- `actor` (string · at-identifier, required)

### Output (application/json)

- `runEnds` (array, required)
  - `items` (ref)
    - Reference: `club.hellyeah.defs#runEnd`

### Errors

- `ActorNotFound`: No description in schema.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Every run an account has ended, newest first. Public and permanent.",
      "errors": [
        {
          "name": "ActorNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "runEnds": {
              "items": {
                "ref": "club.hellyeah.defs#runEnd",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "runEnds"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "actor": {
            "format": "at-identifier",
            "type": "string"
          }
        },
        "required": [
          "actor"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "club.hellyeah.getRunEnds",
  "lexicon": 1
}
```
