tools.umbrae.actor.getProfiles

Hidden profiles of up to 25 accounts at once, each answered exactly as tools.umbrae.actor.getProfile answers it: audiences only for the owner, pinnedPost only if the viewer may see it, and the status only where the profile shows. One item per actor asked, in order; a repeated actor is answered again. notFound stands exactly where getProfile answers ProfileNotFound: no profile, not one the viewer may see, not one this app holds, and a block either way. So the batch reveals nothing a series of getProfile calls doesn't. A client tells a block from tools.umbrae.actor.getRelationships, and shows it to the two parties only. Served and authenticated as tools.umbrae.actor.getProfile, wherever that is served.

Details · query
Kindquery
Authorityactor.umbrae.tools
Commit rev3n3oyhmgry22e
Indexed
cid bafyreify5wfd74qq4szluocwx37jnoipvyeb7eou4wvy26t735m4wgpba4

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Hidden profiles of up to 25 accounts at once, each answered exactly as tools.umbrae.actor.getProfile answers it: audiences only for the owner, pinnedPost only if the viewer may see it, and the status only where the profile shows. One item per actor asked, in order; a repeated actor is answered again. notFound stands exactly where getProfile answers ProfileNotFound: no profile, not one the viewer may see, not one this app holds, and a block either way. So the batch reveals nothing a series of getProfile calls doesn't. A client tells a block from tools.umbrae.actor.getRelationships, and shows it to the two parties only. Served and authenticated as tools.umbrae.actor.getProfile, wherever that is served.",
      "errors": [
        {
          "description": "The app doesn't serve this account.",
          "name": "NotAdmitted"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "profiles": {
              "description": "One per actor asked for, in order.",
              "items": {
                "refs": [
                  "#profileView",
                  "#notFound"
                ],
                "type": "union"
              },
              "type": "array"
            }
          },
          "required": [
            "profiles"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "actors": {
            "description": "The profiles' owners. A value that isn't a DID makes the whole call InvalidRequest.",
            "items": {
              "format": "did",
              "type": "string"
            },
            "maxLength": 25,
            "minLength": 1,
            "type": "array"
          }
        },
        "required": [
          "actors"
        ],
        "type": "params"
      },
      "type": "query"
    },
    "notFound": {
      "description": "No profile the viewer may see here: the same for every reason, a block either way included.",
      "properties": {
        "did": {
          "format": "did",
          "type": "string"
        }
      },
      "required": [
        "did"
      ],
      "type": "object"
    },
    "profileView": {
      "description": "Exactly tools.umbrae.actor.getProfile's output.",
      "properties": {
        "did": {
          "format": "did",
          "type": "string"
        },
        "profile": {
          "description": "The tools.umbrae.profile record value, with its blob refs, without audiences (unless the viewer is the owner). Fetch its blobs with tools.umbrae.actor.getProfileBlob.",
          "type": "unknown"
        },
        "status": {
          "description": "The owner's hidden status, by getProfile's rules.",
          "type": "unknown"
        }
      },
      "required": [
        "did",
        "profile"
      ],
      "type": "object"
    }
  },
  "id": "tools.umbrae.actor.getProfiles",
  "lexicon": 1
}