ai.newnal.illi.mydata.listRecords

The records of one My Data collection of a parent, with their provenance. Same visibility as getParentData.

Details · query
Kindquery
Authoritymydata.illi.newnal.ai
Commit rev3n2zzb7tgbl2b
Indexed
cid bafyreih7dsfwkrzhzhjjzut5uknv5koaxz2ejavqcqa34as4xrhcueqwxi

Checks

Valid
  • unlimited-string defs.main.parameters.properties.collectionNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "The records of one My Data collection of a parent, with their provenance. Same visibility as getParentData.",
      "errors": [
        {
          "name": "NotMember"
        },
        {
          "name": "HomeNotFound"
        },
        {
          "name": "ParentNotLinked"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "records": {
              "items": {
                "ref": "ai.newnal.illi.mydata.defs#recordView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "records"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "collection": {
            "description": "A My Data collection ILLI writes for a parent (dev-spec 21 §8.1).",
            "knownValues": [
              "ai.newnal.mydata.healthFunctionalAbilities",
              "ai.newnal.mydata.healthMedicalEvents",
              "ai.newnal.mydata.healthAllergies",
              "ai.newnal.mydata.healthMedications",
              "ai.newnal.mydata.healthHealthStatus",
              "ai.newnal.mydata.interestsAndTastesTravel",
              "ai.newnal.mydata.interestsAndTastesHobbies",
              "ai.newnal.mydata.interestsAndTastesFood",
              "ai.newnal.mydata.interestsAndTastesGeneral",
              "ai.newnal.mydata.interestsAndTastesMedia",
              "ai.newnal.mydata.interestsAndTastesNews",
              "ai.newnal.mydata.interestsAndTastesFavoriteWorks",
              "ai.newnal.mydata.interestsAndTastesFavoriteCreators",
              "ai.newnal.mydata.capabilitiesSkillsAndKnowledge",
              "ai.newnal.mydata.valuesAndGoalsGoals",
              "ai.newnal.mydata.profileScheduleActivities",
              "ai.newnal.mydata.lifestyleHabits",
              "ai.newnal.mydata.profileIdentity",
              "ai.newnal.mydata.profileBirth",
              "ai.newnal.mydata.profileRepresentation"
            ],
            "type": "string"
          },
          "homeId": {
            "format": "tid",
            "type": "string"
          },
          "slot": {
            "description": "The parent slot, 1 or 2.",
            "maximum": 2,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "homeId",
          "slot",
          "collection"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "ai.newnal.illi.mydata.listRecords",
  "lexicon": 1
}