# com.suibari.nagi.getZenkatsu

> ゼンカツ！の、ある1日のお題と全回答。回答は新着順（indexedAt 降順）。記録は公開情報なので未認証でも読める。認証した本人のぶんだけ viewer（提出済みか、今日出せる札）が付く。

- Kind: query
- Authority: nagi.suibari.com
- Lexicon: 1
- Published by [suibari.com](https://lexicon.garden/identity/did:plc:uixgxpiqf4i63p6rgpu7ytmx), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:uixgxpiqf4i63p6rgpu7ytmx/com.suibari.nagi.getZenkatsu)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:uixgxpiqf4i63p6rgpu7ytmx/com.suibari.nagi.getZenkatsu/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:uixgxpiqf4i63p6rgpu7ytmx/com.suibari.nagi.getZenkatsu/analytics)

## Query (`com.suibari.nagi.getZenkatsu`)

Type: query · GET

### Parameters (query string)

- `cursor` (string)
- `date` (string): "YYYY-MM-DD"。省略すると今日。未来の日付は指定できない。
  - Constraints: maxLength: 10
- `limit` (integer)
  - Constraints: minimum: 1, maximum: 100, default: 30

### Output (application/json)

- `cursor` (string)
- `submissions` (array, required): その日の回答。新着順。出したカードと botたんの総評だけを含む（スコアも順位も無い）。
  - `items` (unknown)
- `theme` (unknown, required): その日のお題。初回アクセス時に確定して以後変わらない（お題を足しても過去は動かない）。
- `viewer` (unknown): 認証した本人のぶんだけ。提出済みか、今日出せる札とクールダウンの残り日数。

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "ゼンカツ！の、ある1日のお題と全回答。回答は新着順（indexedAt 降順）。記録は公開情報なので未認証でも読める。認証した本人のぶんだけ viewer（提出済みか、今日出せる札）が付く。",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "type": "string"
            },
            "submissions": {
              "description": "その日の回答。新着順。出したカードと botたんの総評だけを含む（スコアも順位も無い）。",
              "items": {
                "type": "unknown"
              },
              "type": "array"
            },
            "theme": {
              "description": "その日のお題。初回アクセス時に確定して以後変わらない（お題を足しても過去は動かない）。",
              "type": "unknown"
            },
            "viewer": {
              "description": "認証した本人のぶんだけ。提出済みか、今日出せる札とクールダウンの残り日数。",
              "type": "unknown"
            }
          },
          "required": [
            "theme",
            "submissions"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "type": "string"
          },
          "date": {
            "description": "\"YYYY-MM-DD\"。省略すると今日。未来の日付は指定できない。",
            "maxLength": 10,
            "type": "string"
          },
          "limit": {
            "default": 30,
            "maximum": 100,
            "minimum": 1,
            "type": "integer"
          }
        },
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "com.suibari.nagi.getZenkatsu",
  "lexicon": 1
}
```
