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.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | writeproxy.whey.party |
| Commit rev | 3n3mi6k5i3k2w |
| Indexed |
Procedure
procedure · POSTInput
application/jsonminLength: 1maxLength: 3
enum: create | update | delete
blob
refminLength: 1maxLength: 100
contact
stringmaxLength: 320
label
stringmaxLength: 128
returnTo
string · uriAbsolute http(s) URL the proxy redirects to after the OAuth callback, with the outcome appended as query parameters.
maxLength: 2048
Output
application/jsonErrors
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 matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
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.
-
dev.knotless.putDelegation
procedureStarts 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.