Improve this doc
Detailed information for resources

Available fields

id
created_at
belongs_to__application
is_created_by__user
commit
composition
status
source
build_log
start_timestamp
end_timestamp
update_timestamp
is_invalidated
release_version
contract

Examples

Get all releases for an application

curl -X GET \
"https://api.balena-cloud.com/v6/release?\$filter=belongs_to__application%20eq%20<APP ID>" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <AUTH_TOKEN>" 

Get a release ID given a specific application and commit

curl -X GET \
"https://api.balena-cloud.com/v6/release?\$filter=belongs_to__application%20eq%20<APP ID>%20and%20commit%20eq%20'<COMMIT HASH>'&\$select=id" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <AUTH_TOKEN>"