Change path for version API:

- Rename "updates" -> "versions"
- Add explicit "stream" in path to make API self-describing
This commit is contained in:
Malte Poll 2022-11-30 15:19:53 +01:00 committed by Malte Poll
parent 7ee2539645
commit 85d723ccbd
4 changed files with 10 additions and 10 deletions

View file

@ -154,8 +154,8 @@ const (
CDNImagePath = "constellation/v1/images"
// CDNMeasurementsPath is the default path to image measurements in the CDN repository.
CDNMeasurementsPath = "constellation/v1/measurements"
// CDNUpdatesPath is the default path to updates in the CDN repository.
CDNUpdatesPath = "constellation/v1/updates"
// CDNVersionsPath is the default path to versions in the CDN repository.
CDNVersionsPath = "constellation/v1/versions"
)
// VersionInfo is the version of a binary. Left as a separate variable to allow override during build.