dev.knotless.setOrgMembership
Writes the account's dev.knotless.orgAcceptance record where the visibility says, in its public records or in the organization's space, takes back one in the other place, and asks the organization's gateway to take it in (dev.knotless.joinOrg). Requires the session cookie the pages' login sets: the appview acts with the session it keeps for that account. Clients holding their own session call the organization's gateway themselves.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | knotless.dev |
| Indexed |
Procedure
procedure · POSTInput
application/jsonThe organization.
Who may see the membership: anyone, or the organization's members alone.
maxLength: 64knownValues: public | hidden
Output
application/jsonwarning
stringSet when the change was made only in part, saying what is left.
maxLength: 2000
Errors
InvalidRequest
The change was refused: by the organization's gateway, or as the account may not make it.
AuthenticationRequired
No account is logged in to the pages, or its session has ended.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.knotless.joinOrg
procedureTakes the caller into an organization that invited them, once they keep a dev.knotless.orgAcceptance record naming it, through the gateway the organization delegated writes to: names them in its public record when their acceptance record is public, and only in its space when it is in their repo there; lets them read its space and its private repositories. Called again after moving the record, it changes how the membership shows. Refused when the invitation lapsed. Requires a service token from t
-
dev.knotless.inviteToOrg
procedureInvites an account to an organization as the account logged in to this appview's pages, or changes its role, as `knotless org add` does.
-
dev.knotless.endOrgMembership
procedureLeaves an organization as the account logged in to this appview's pages, or declines its invitation, as `knotless org leave` does.
-
dev.knotless.putOrgMember
procedureInvites an account to an organization, or changes a member's role, through the gateway the organization delegated writes to, which writes as the organization. The caller must be an admin of it who joined. Requires a service token from the caller's PDS, audience the gateway's DID, for this method.
-
dev.knotless.getOrg
queryAn organization's members on knotless.