diff --git a/components/schemas/environments/EnvironmentMeta.yml b/components/schemas/environments/EnvironmentMeta.yml index b7d1beeb..3b08fdb1 100644 --- a/components/schemas/environments/EnvironmentMeta.yml +++ b/components/schemas/environments/EnvironmentMeta.yml @@ -28,3 +28,19 @@ properties: $ref: "../containers/summaries/ContainerImageSummary.yml" environment: $ref: "../containers/summaries/ContainerEnvironmentSummary.yml" + service_versions: + description: A map where the key is the service and the value describes the version and date of last update. + type: object + additionalProperties: + type: object + required: + - version + - last_updated + properties: + version: + description: A string depicting the service version. + example: v2025.01.01.01 + type: string + last_updated: + description: The time the version was last updated. + $ref: ../DateTime.yml diff --git a/platform/paths/environments/environment.yml b/platform/paths/environments/environment.yml index a6cbaaee..3410f587 100644 --- a/platform/paths/environments/environment.yml +++ b/platform/paths/environments/environment.yml @@ -29,6 +29,7 @@ get: - containers - containers_count - instances_count + - service_versions - name: include in: query required: false diff --git a/platform/paths/environments/environments.yml b/platform/paths/environments/environments.yml index f23725e6..9ab717c9 100644 --- a/platform/paths/environments/environments.yml +++ b/platform/paths/environments/environments.yml @@ -22,6 +22,7 @@ get: - containers - containers_count - instances_count + - service_versions - name: include in: query required: false