hotfix requests

Approve a hotfix request

Requires CreateHotfix permission. finalProposal is optional and defaults to the current proposal. If it changes the current proposal, prior approvals are reset before the caller's approval is recorded. Approval can create the resulting release once the required approval count is reached.

post/app/{appId}/hotfixRequests/{requestId}/approve

Request

  • Base URL
    https://api.runway.team
  • URL
    https://api.runway.team/app/{appId}/hotfixRequests/{requestId}/approve
  • Auth
    API key in header X-API-Key

Path parameters

appIdstring required

The id of the app

requestIdstring required

The ID of the hotfix request.

Request body

expectedRevisioninteger required

Example request

{
  "finalProposal": {
    "proposedVersion": "2.1.1",
    "base": {
      "name": "v1.0.0"
    }
  }
}

Response

Updated hotfix request

auditEventsobject[]
approvalsobject[]

Example response

{
  "request": {
    "proposal": {
      "proposedVersion": "2.1.1",
      "base": {
        "name": "v1.0.0"
      }
    },
    "finalProposal": {
      "proposedVersion": "2.1.1",
      "base": {
        "name": "v1.0.0"
      }
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.