# africa.kandake.asha.recipe.list

> Published by [kandake.africa](https://lexicon.garden/identity/did:plc:lrphxvv25aibthe7xoc2eeyy)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:lrphxvv25aibthe7xoc2eeyy/africa.kandake.asha.recipe.list)
- [Documentation](https://lexicon.garden/lexicon/did:plc:lrphxvv25aibthe7xoc2eeyy/africa.kandake.asha.recipe.list/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:lrphxvv25aibthe7xoc2eeyy/africa.kandake.asha.recipe.list/examples)

## Definitions

### `africa.kandake.asha.recipe.list`

**Type**: `query`

List recipes for a given user, optionally filtered by category.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `actor` | `string` (at-identifier) | Yes | DID or handle of the user. |
| `limit` | `integer` | No |  |
| `cursor` | `string` | No |  |
| `category` | `string` | No |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cursor` | `string` | No |  |
| `recipes` | `array` | Yes |  |

## Raw Schema

```json
{
  "id": "africa.kandake.asha.recipe.list",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "recipes"
          ],
          "properties": {
            "cursor": {
              "type": "string"
            },
            "recipes": {
              "type": "array",
              "items": {
                "ref": "africa.kandake.asha.recipe.get#recipeView",
                "type": "ref"
              }
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "actor"
        ],
        "properties": {
          "actor": {
            "type": "string",
            "format": "at-identifier",
            "description": "DID or handle of the user."
          },
          "limit": {
            "type": "integer",
            "default": 50,
            "maximum": 100,
            "minimum": 1
          },
          "cursor": {
            "type": "string"
          },
          "category": {
            "type": "string",
            "maxLength": 128
          }
        }
      },
      "description": "List recipes for a given user, optionally filtered by category."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
