dev.knotless.getOrg

lexicons.knotless.dev

Documentation

The accounts an organization (any account keeping a dev.knotless.org record) invited, as the appview has indexed its records. To anyone, those who are members in public: named by a dev.knotless.orgMember record in its public records, taken in, and keeping a public dev.knotless.orgAcceptance record naming it. Optional authentication: to the organization itself and to its members, its invitations and hidden members too, from its space; to an account it invited, its own entry.

main query

The accounts an organization (any account keeping a dev.knotless.org record) invited, as the appview has indexed its records. To anyone, those who are members in public: named by a dev.knotless.orgMember record in its public records, taken in, and keeping a public dev.knotless.orgAcceptance record naming it. Optional authentication: to the organization itself and to its members, its invitations and hidden members too, from its space; to an account it invited, its own entry.

Parameters

actor string at-identifier Required

The organization, by DID or handle.

Output

Encodingapplication/json
gateway stringdid Optional

The gateway its public dev.knotless.org record names, which members join and leave through, and admins change its members through.

inside boolean Required

Whether the asker sees its invitations and hidden members: it is the organization, or one of its members.

members array Required

The first invited first: to an asker inside, every account it invited; to anyone else, its members in public.

organization boolean Required

Whether the account is an organization: it keeps a public dev.knotless.org record.

Errors

ProfileNotFound No account by that DID or handle.
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
The organization, by DID or handle.
View raw schema
{
  "description": "The accounts an organization (any account keeping a dev.knotless.org record) invited, as the appview has indexed its records. To anyone, those who are members in public: named by a dev.knotless.orgMember record in its public records, taken in, and keeping a public dev.knotless.orgAcceptance record naming it. Optional authentication: to the organization itself and to its members, its invitations and hidden members too, from its space; to an account it invited, its own entry.",
  "errors": [
    {
      "description": "No account by that DID or handle.",
      "name": "ProfileNotFound"
    }
  ],
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "gateway": {
          "description": "The gateway its public dev.knotless.org record names, which members join and leave through, and admins change its members through.",
          "format": "did",
          "type": "string"
        },
        "inside": {
          "description": "Whether the asker sees its invitations and hidden members: it is the organization, or one of its members.",
          "type": "boolean"
        },
        "members": {
          "description": "The first invited first: to an asker inside, every account it invited; to anyone else, its members in public.",
          "items": {
            "ref": "#memberView",
            "type": "ref"
          },
          "type": "array"
        },
        "org": {
          "ref": "dev.knotless.defs#actorView",
          "type": "ref"
        },
        "organization": {
          "description": "Whether the account is an organization: it keeps a public dev.knotless.org record.",
          "type": "boolean"
        }
      },
      "required": [
        "org",
        "organization",
        "inside",
        "members"
      ],
      "type": "object"
    }
  },
  "parameters": {
    "properties": {
      "actor": {
        "description": "The organization, by DID or handle.",
        "format": "at-identifier",
        "type": "string"
      }
    },
    "required": [
      "actor"
    ],
    "type": "params"
  },
  "type": "query"
}
memberView object

An account an organization invited, and where it stands.

Properties

expiresAt string datetime Optional

When the invitation lapses, when its record says.

invitedAt string datetime Required

An RFC 3339 formatted timestamp.

joinedAt string datetime Optional

When the organization took it in.

role string Required

What it may do: an admin also invites and removes members.

Known values: admin, member
standing string Required

Invited and not yet a member; invited, and the invitation lapsed; a member anyone may see; or a member only the organization's members see.

Known values: invited, lapsed, public, hidden
View raw schema
{
  "description": "An account an organization invited, and where it stands.",
  "properties": {
    "actor": {
      "ref": "dev.knotless.defs#actorView",
      "type": "ref"
    },
    "expiresAt": {
      "description": "When the invitation lapses, when its record says.",
      "format": "datetime",
      "type": "string"
    },
    "invitedAt": {
      "format": "datetime",
      "type": "string"
    },
    "joinedAt": {
      "description": "When the organization took it in.",
      "format": "datetime",
      "type": "string"
    },
    "role": {
      "description": "What it may do: an admin also invites and removes members.",
      "knownValues": [
        "admin",
        "member"
      ],
      "type": "string"
    },
    "standing": {
      "description": "Invited and not yet a member; invited, and the invitation lapsed; a member anyone may see; or a member only the organization's members see.",
      "knownValues": [
        "invited",
        "lapsed",
        "public",
        "hidden"
      ],
      "type": "string"
    }
  },
  "required": [
    "actor",
    "role",
    "standing",
    "invitedAt"
  ],
  "type": "object"
}

Lexicon Garden

@