curl --request GET \
--url https://api.example.com/v1/projects/{project}/releases/{release}{
"name": "<string>",
"title": "<string>",
"files": [
{
"id": "<string>",
"path": "<string>",
"type": "TYPE_UNSPECIFIED",
"version": "<string>",
"enableGhost": true,
"sheet": "<string>",
"statement": "<string>",
"sheetSha256": "<string>",
"statementSize": "<string>"
}
],
"vcsSource": {
"vcsType": "VCS_TYPE_UNSPECIFIED",
"url": "<string>"
},
"creator": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"state": "STATE_UNSPECIFIED",
"digest": "<string>"
}Retrieves a release by name. Permissions required: bb.releases.get
curl --request GET \
--url https://api.example.com/v1/projects/{project}/releases/{release}{
"name": "<string>",
"title": "<string>",
"files": [
{
"id": "<string>",
"path": "<string>",
"type": "TYPE_UNSPECIFIED",
"version": "<string>",
"enableGhost": true,
"sheet": "<string>",
"statement": "<string>",
"sheetSha256": "<string>",
"statementSize": "<string>"
}
],
"vcsSource": {
"vcsType": "VCS_TYPE_UNSPECIFIED",
"url": "<string>"
},
"creator": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"state": "STATE_UNSPECIFIED",
"digest": "<string>"
}OK
Format: projects/{project}/releases/{release}
The title of the release.
The SQL files included in the release.
Show child attributes
The version control source of the release.
Show child attributes
Format: users/[email protected]
The lifecycle state of the release.
STATE_UNSPECIFIED, ACTIVE, DELETED The digest of the release. The user can provide the digest of the release. It can be used later to retrieve the release in GetRelease. Whether to provide digest and how to generate it is up to the user. If the digest is not empty, it must be unique in the project. Otherwise, an ALREADY_EXISTS error will be returned.
Was this page helpful?