party.whey.writeproxy.replaceDelegation

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.

Repository @whey.party did:plc:mn45tewwnse5btfftvd3powc not from the namespace authority
Details · procedure
Kindprocedure
Authoritywriteproxy.whey.party
Commit rev3n3m7ce4gzk2w
Indexed

Procedure

procedure · POST

Input

application/json

actions

array
  • minLength: 1
  • maxLength: 3
itemsstring
  • enum: create | update | delete
  • minLength: 1
  • maxLength: 100
itemsstring · nsid

delegation

requiredstring
  • maxLength: 128

ifRevision

integer
  • minimum: 0

label

string
  • maxLength: 128

Output

application/json

authorizationUrl

requiredstring · uri

clientMetadataUrl

requiredstring · uri

expiresAt

requiredstring · datetime

Errors

DelegationNotFound

No description in schema.

NotAuthorized

No description in schema.

DelegationNotActive

No description in schema.

InvalidCollections

No description in schema.

InvalidActions

No description in schema.

InvalidBlobPolicy

No description in schema.

Conflict

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.

  • 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.

  • party.whey.writeproxy.revokeDelegation

    procedure not from the namespace authority

    Revoke a delegation. Idempotent. Marks the delegation revoked, discards its caller allowlist, deletes the stored credential, and best-effort revokes the OAuth grant at the PDS. Only the delegation's repo owner may call this.