Constructors

Properties

Methods

  • Returns agreement_id corresponding to the activity 'This call shall return id of the agreement that lead to the creation of this activity'

    Parameters

    • activityId: string

    Returns ActivityApi.CancelablePromise<string>

    string Agreement.

    Throws

    ApiError

  • Get state of specified Activity.

    Parameters

    • activityId: string

    Returns ActivityApi.CancelablePromise<{
        errorMessage?: string;
        reason?: string;
        state: (null | "Terminated" | "New" | "Initialized" | "Deployed" | "Ready" | "Unresponsive")[];
    }>

    any Success

    Throws

    ApiError

  • Get usage of specified Activity.

    Parameters

    • activityId: string

    Returns ActivityApi.CancelablePromise<{
        currentUsage?: number[];
        timestamp: number;
    }>

    any Success

    Throws

    ApiError

  • Get running commands for a specified Activity. Note: This call shall get routed directly to ExeUnit.

    Parameters

    • activityId: string

    Returns ActivityApi.CancelablePromise<{
        batchId: string;
        command: string;
        params?: string[];
        progress?: string;
    }[]>

    any OK

    Throws

    ApiError