Skip to content

Commit

Permalink
Add the release versioning fields in the resource reference
Browse files Browse the repository at this point in the history
Change-type: minor
  • Loading branch information
thgreasi committed Sep 19, 2023
1 parent f74cd82 commit 69f657f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions config/dictionaries/resource.json
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,15 @@
"created_at",
"belongs_to__application",
"is_created_by__user",
"raw_version",
"semver",
"semver_major",
"semver_minor",
"semver_patch",
"semver_prerelease",
"semver_build",
"revision",
"variant",
"commit",
"composition",
"status",
Expand All @@ -813,6 +822,22 @@
"endpoint": "/v6/release",
"filters": "?\\$filter=belongs_to__application%20eq%20<FLEET ID>"
},
{
"id": "release-raw-version",
"summary": "Get the release raw_version field",
"description": "The raw_version field is returned only when explicitly requested with $select.",
"method": "GET",
"endpoint": "/v6/release(<ID>)",
"filters": "?\\$select=raw_version"
},
{
"id": "release-from-fleet-and-raw-version",
"summary": "Get a release ID given a specific fleet and version",
"description": "",
"method": "GET",
"endpoint": "/v6/release",
"filters": "?\\$filter=belongs_to__application%20eq%20<FLEET ID>%20and%20raw_version%20eq%20'<RAW VERSION>'&\\$select=id"
},
{
"id": "release-from-fleet-and-commit",
"summary": "Get a release ID given a specific fleet and commit",
Expand Down

0 comments on commit 69f657f

Please sign in to comment.