com.livtet.giveaway.listEntries

List the entries into one giveaway, oldest first. Entries are records in each entrant's own public repo, so the DIDs here leak nothing the index does not already expose.

Details · query
Kindquery
Authoritygiveaway.livtet.com
Commit rev3n3l6g44u277u
Indexed
cid bafyreibs4v2jnho2hhltpoibobaz6rx4ob6y7dnll6s77viylpgkmqafym

Checks

Valid
  • missing-primary-description defs.mainThe query has no description.
  • unlimited-string defs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cursor": {
              "description": "Opaque pagination cursor; absent when no further entries are known.",
              "type": "string"
            },
            "entries": {
              "items": {
                "properties": {
                  "country": {
                    "maxLength": 2,
                    "minLength": 2,
                    "type": "string"
                  },
                  "createdAt": {
                    "format": "datetime",
                    "type": "string"
                  },
                  "did": {
                    "description": "The entrant: the repo the entry was written into.",
                    "format": "did",
                    "type": "string"
                  },
                  "uri": {
                    "description": "AT-URI of the entry record, in the entrant's own repo.",
                    "format": "at-uri",
                    "type": "string"
                  }
                },
                "required": [
                  "uri",
                  "did",
                  "createdAt"
                ],
                "type": "object"
              },
              "type": "array"
            }
          },
          "required": [
            "entries"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "cursor": {
            "description": "Opaque pagination cursor.",
            "type": "string"
          },
          "giveaway": {
            "description": "AT-URI of the giveaway whose entries to list.",
            "format": "at-uri",
            "type": "string"
          },
          "limit": {
            "default": 50,
            "maximum": 500,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "giveaway"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "description": "List the entries into one giveaway, oldest first. Entries are records in each entrant's own public repo, so the DIDs here leak nothing the index does not already expose.",
  "id": "com.livtet.giveaway.listEntries",
  "lexicon": 1
}