pub.chive.governance.grantDelegation
Grant PDS delegation to a trusted editor. Only accessible to administrators. Delegation allows the user to write records to the Governance PDS.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | governance.chive.pub |
| Indexed |
Procedure
procedure · POSTInput
application/jsonNSID collections the delegation covers
minLength: 1
Number of days the delegation is valid
minimum: 1maximum: 365default: 365
DID of the user to delegate to
maxRecordsPerDay
integerMaximum records delegate can create per day
minimum: 1maximum: 1000default: 100
Output
application/jsonschema
refErrors
AuthenticationRequired
No description in schema.
Unauthorized
No description in schema.
InvalidRequest
No description in schema.
#delegationResult
objectResult of delegation operation
Properties
delegationId
stringDelegation ID (if created)
Human-readable result message
Whether the operation succeeded
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
List active PDS delegations. Only accessible by administrators.
-
pub.chive.governance.revokeDelegation
procedureRevoke an active PDS delegation. Only accessible to administrators.
-
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.
-
Delegation grant from a human to an agent. Lives on the grantor's (human's) PDS. Accumulating record keyed by TID (one per delegation).