@edgible-team/sdk
    Preparing search index...

    Interface ArtifactUploadGrant

    Kick-off response for an artifact ingest session. sessionToken is one-time.

    interface ArtifactUploadGrant {
        artifactKind: ArtifactKind;
        digest: string;
        expiresAt: number;
        ingestUrl: string;
        kind: "artifact";
        pinCertDerB64?: string;
        sessionToken: string;
        state: IngestSessionState;
        uploadId: string;
    }
    Index

    Properties

    artifactKind: ArtifactKind
    digest: string
    expiresAt: number

    ms epoch token expiry.

    ingestUrl: string

    Hostname the caller PUT-streams the bundle bytes to.

    kind: "artifact"
    pinCertDerB64?: string

    T1a: base64 DER of the device-managed ingest leaf to PIN on the streaming PUT. Absent → default public-CA trust (back-compat). The ingest app serves a self-signed leaf, so without this the PUT fails TLS verification.

    sessionToken: string

    One-time plaintext session token — never returned by later reads.

    state: IngestSessionState
    uploadId: string