MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / push_delegation

Method push_delegation

atomic-remote/src/storage.rs:472–477  ·  view source on GitHub ↗

Upload a new or renewed delegation certificate.

(
        &self,
        req: &PushDelegationRequest,
    )

Source from the content-addressed store, hash-verified

470
471 /// Upload a new or renewed delegation certificate.
472 pub async fn push_delegation(
473 &self,
474 req: &PushDelegationRequest,
475 ) -> Result<DelegationInfo, RemoteError> {
476 self.post("/delegations", req).await
477 }
478
479 /// List the delegations issued by the authenticated identity.
480 pub async fn list_delegations(&self) -> Result<Vec<DelegationInfo>, RemoteError> {

Callers 2

executeMethod · 0.80
publish_grantMethod · 0.80

Calls 1

postMethod · 0.80

Tested by

no test coverage detected