Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 14 additions & 9 deletions spec/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ paths:
$ref: "#/components/responses/404-object-by-id-not-found"
tags:
- TEA Component
/release/{uuid}/collection:
/release/{uuid}/collection/latest:
get:
description: Get the latest TEA Collection belonging to the TEA Release
operationId: getLatestCollectionByReleaseId
operationId: getLatestCollection
parameters:
- name: uuid
in: path
Expand Down Expand Up @@ -163,18 +163,18 @@ paths:
$ref: "#/components/responses/404-object-by-id-not-found"
tags:
- TEA Release
/release/{uuid}/collection/{version}:
/release/{uuid}/collection/{collectionVersion}:
get:
description: Get all versions of a TEA Collection by its UUID
operationId: getTeaCollectionVersionByCollectionIdAndVersion
description: Get a specific Collection (by version) for a TEA Release by its UUID
operationId: getCollection
parameters:
- name: uuid
in: path
required: true
description: UUID of TEA Collection in the TEA server
schema:
"$ref": "#/components/schemas/uuid"
- name: version
- name: collectionVersion
in: path
required: true
description: Version of TEA Collection
Expand Down Expand Up @@ -347,8 +347,11 @@ components:
description: Version number
type: string
example: 1.2.3
createdDate:
description: Timestamp when this Release was created in TEA (for sorting purposes)
"$ref": "#/components/schemas/date-time"
releaseDate:
description: Timestamp of the release (for sorting purposes)
description: Timestamp of the release
"$ref": "#/components/schemas/date-time"
preRelease:
type: boolean
Expand All @@ -364,26 +367,28 @@ components:
required:
- uuid
- version
- releaseDate
- createdDate
examples:
# Apache Tomcat 11.0.6
- uuid: 605d0ecb-1057-40e4-9abf-c400b10f0345
version: "11.0.6"
createdDate: 2025-04-01T15:43:00Z
releaseDate: 2025-04-01T15:43:00Z
identifiers:
- idType: PURL
idValue: pkg:maven/org.apache.tomcat/tomcat@11.0.6
# Different release of Apache Tomcat
- uuid: da89e38e-95e7-44ca-aa7d-f3b6b34c7fab
version: "10.1.40"
createdDate: 2025-04-01T18:20:00Z
releaseDate: 2025-04-01T18:20:00Z
identifiers:
- idType: PURL
idValue: pkg:maven/org.apache.tomcat/tomcat@10.1.40
# A pre-release of Apache Tomcat
- uuid: 95f481df-f760-47f4-b2f2-f8b76d858450
version: "11.0.0-M26"
releaseDate: 2024-09-13T17:49:00Z
createdDate: 2024-09-13T17:49:00Z
preRelease: true
identifiers:
- idType: PURL
Expand Down