party.whey.writeproxy.createDelegation

Create a pending write delegation for one (space, repo) pair and return an OAuth authorization URL for the delegator to open. The delegation starts with an empty caller allowlist.

Repository @whey.party did:plc:mn45tewwnse5btfftvd3powc namespace authority
Details · procedure
Kindprocedure
Authoritywriteproxy.whey.party
Commit rev3n3m7cdqi7k2w
Indexed

Showing version bafyreia4fuud2i7m7s6mj7amb6ro6mh2imbmdgj4ax42zckwqmynoqtso4. Show the latest

Procedure

procedure · POST

Input

application/json

actions

requiredarray
  • minLength: 1
  • maxLength: 3
itemsstring
  • enum: create | update | delete

collections

requiredarray
  • minLength: 1
  • maxLength: 100
itemsstring · nsid

contact

string
  • maxLength: 320

label

string
  • maxLength: 128

space

requiredstring · space-ref

Output

application/json

authorizationUrl

requiredstring · uri

clientMetadataUrl

requiredstring · uri

expiresAt

requiredstring · datetime

Errors

InvalidRequest

No description in schema.

InvalidSpace

No description in schema.

InvalidRepo

No description in schema.

InvalidCollections

No description in schema.

InvalidActions

No description in schema.

InvalidBlobPolicy

No description in schema.

RegistrationRequired

No description in schema.

DelegationExists

No description in schema.

RateLimited

No description in schema.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • party.whey.writeproxy.replaceDelegation

    procedure not from the namespace authority

    Create a new delegation for the same (space, repo) with a changed scope, then revoke the old one after the new one is active. The old delegation remains active until the new OAuth flow completes.

  • Starts delegating the caller's writes to a gateway. The gateway, an OAuth client of the caller's PDS, pushes an authorization request for the caller and answers with the page where the caller approves it; once they do, the gateway keeps the session, replacing any it held, to write on the caller's behalf for collaborators and batched commits. Requires a service token from the caller's PDS, audience the gateway's DID, for this method.