Projects

Summarize deployments in a project

Changed on

Summarizes deployment attempts for one comparable resource pipeline. Success rate uses conclusive outcomes only: active and deleted attempts are successful; failed and degraded attempts are failures; in-progress and superseded attempts are excluded. Median build duration includes completed, non-superseded attempts with recorded build work, including failed builds.

With resource_type=function, pass function_kind to summarize one kind of function only. It is rejected with resource_type=frontend.

get/projects/{id}/deployments/summary

Request

  • Base URL
    https://api.volcano.dev
  • Auth
    • HTTP bearer
    • or HTTP bearer

Path parameters

id, string uuid required

Project ID

Query parameters

search, string

Restrict the summary to resource names containing this value.

resource_type, 'function' | 'frontend' required

Restrict the summary to one comparable deployment pipeline.

function_kind, 'standard' | 'durable'

A function kind to filter a list by. Unlike FunctionKind it has no default: omitting the filter includes both kinds.

Restrict results to functions of one kind. Omit to include both standard and durable functions.

created_after, string date-time

Restrict results to attempts created at or after this timestamp.

Response

Successful response

ProjectDeploymentSummary required

Aggregate deployment statistics for one resource pipeline.

deployment_count, integer required

All deployment attempts matching the filters.

successful_count, integer required

Attempts that reached active or deleted.

failed_count, integer required

Attempts that reached failed or degraded.

canceled_count, integer required

Superseded attempts, excluded from success rate and duration.

success_rate, number double nullable required

Successful attempts divided by successful plus failed attempts.

median_build_duration_seconds, number double nullable required

Median build duration across eligible completed attempts.

Changes

    • info

      the endpoint scheme security ProjectAccessToken was added to the API

    • info

      added the new optional query request parameter function_kind

    • breaking

      added the new path request parameter id

    19 more changes in this revision