Functions

List a function's recent deployments

The function's most recent deployments, newest first, with build and bundle details: limit of them (default 50, at most 200). This list is not paged; read an older deployment by id with getFunctionDeployment. is_current marks the one serving traffic.

get/functions/{id}/deployments

Request

  • Base URL
    https://api.primitive.dev/v1
  • URL
    https://api.primitive.dev/v1/functions/{id}/deployments
  • Auth
    HTTP bearer

Path parameters

idstring uuid required

The function id.

Query parameters

limitinteger

How many of the newest deployments to return: default 50, at most 200.

Response

List a function's recent deployments

successtrue required

Changes

No operation changes recorded.