ai.newnal.illi.media.getTodayUploadCount

Persisted photo originals on the current date in the family timezone, including pending/failed/cancelled media registration. Same-file duplicate uploads count once; videos and deleted originals are excluded. Includes remaining uploads to the ten-photo new-work condition.

Details · query
Kindquery
Authoritymedia.illi.newnal.ai
Indexed
cid bafyreiazuevnm3rdgwiw7fe524zla3lxtwjuddc5ijmcqusd2jczjgkuu4

Checks

Valid
  • unlimited-string defs.main.output.schema.properties.timezoneNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Persisted photo originals on the current date in the family timezone, including pending/failed/cancelled media registration. Same-file duplicate uploads count once; videos and deleted originals are excluded. Includes remaining uploads to the ten-photo new-work condition.",
      "errors": [
        {
          "name": "NotMember"
        },
        {
          "name": "HomeNotFound"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "accumulatedPhotoCount": {
              "description": "Home-wide persisted photo originals by the completedPhotoCount rule without the date condition, including pending/failed media registration and processing. Independent of prior use.",
              "minimum": 0,
              "type": "integer"
            },
            "completedPhotoCount": {
              "minimum": 0,
              "type": "integer"
            },
            "localDate": {
              "maxLength": 10,
              "type": "string"
            },
            "remainingPhotoCount": {
              "minimum": 0,
              "type": "integer"
            },
            "requiredPhotoCount": {
              "const": 10,
              "type": "integer"
            },
            "timezone": {
              "type": "string"
            }
          },
          "required": [
            "localDate",
            "timezone",
            "completedPhotoCount",
            "requiredPhotoCount",
            "remainingPhotoCount",
            "accumulatedPhotoCount"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "homeId": {
            "format": "tid",
            "type": "string"
          }
        },
        "required": [
          "homeId"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "ai.newnal.illi.media.getTodayUploadCount",
  "lexicon": 1
}