release
Update a release's custom metadata
Applies a per-title upsert to the release's custom metadata: a title mapped to a value is set (creating or overwriting that entry), a title mapped to null is deleted, and titles not present in the request are left unchanged. The title is the entry's identity, and its stable id is derived from it server-side.
put/app/{appId}/release/{releaseId}/metadata
Request
- Base URLhttps://api.runway.team
- URLhttps://api.runway.team/app/{appId}/release/{releaseId}/metadata
- AuthAPI key in header X-API-Key
Path parameters
appIdstring required
The id of the app
releaseIdstring required
The id of the release. Constructed from the app's id and the release version like so: {appId}:{version}. For the GET single release endpoint, the following keywords are also accepted: live (latest completed release), next or current (current active release).
Request body
Example request
{
"metadata": {
"Incident link": "https://incidents.example.com/4821",
"Root cause": {
"commit": "abc123"
},
"Stale entry": null
}
}Response
The details of a release
Example response
{
"id": "fake-app:1.0.0",
"version": "1.0.0",
"createdAt": "2022-03-02T01:15:00Z",
"releasePilotId": "sully@example.com",
"targetKickoffDate": "2022-03-02T01:15:00Z",
"targetSubmissionDate": "2022-03-02T01:15:00Z",
"targetReleaseDate": "2022-03-02T01:15:00Z",
"releaseBranch": "release-1.0.0",
"updatedAt": "2022-03-02T01:15:00Z",
"kickedOffAt": "2022-03-02T01:15:00Z",
"submittedAt": "2022-03-02T01:15:00Z",
"releasedAt": "2022-03-02T01:15:00Z",
"rolloutCompletedAt": "2022-03-02T01:15:00Z",
"completedAt": "2022-03-02T01:15:00Z",
"regressionTestingStatus": {
"updatedAt": "2022-03-02T01:15:00Z"
},
"workItems": [
{
"id": "acb-1234",
"ticket": {
"createdAt": "2022-03-02T01:15:00Z",
"updatedAt": "2022-03-02T01:15:00Z"
},
"code": {
"committedAt": "2022-03-02T01:15:00Z",
"authoredAt": "2022-03-02T01:15:00Z"
}
}
],
"steps": [
{
"data": {
"approvalItems": [
{
"title": "Gather new release notes",
"description": "Contact sully@demo.com on the copywriting team to get new release notes together.",
"oneOffForVersion": "1.1.0",
"status": {
"createdAt": "2022-03-02T01:15:00Z"
}
}
]
},
"checklistItems": [
{
"title": "Gather new release notes",
"description": "Contact sully@demo.com on the copywriting team to get new release notes together.",
"oneOffForVersion": "1.1.0",
"status": {
"createdAt": "2022-03-02T01:15:00Z"
}
}
]
}
],
"customMetadata": {
"incident-4821": {
"title": "Incident link",
"value": "https://incidents.example.com/4821"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.