TEA Component Release

Get a TEA Component Release with its latest collection

Changed on

Get the TEA Component Release with its latest collection

get/componentRelease/{uuid}

Request

  • Base URL
    http://localhost/tea/v1.0.0
  • Auth
    • HTTP bearer
    • or none

Path parameters

uuidstring uuid required

A UUID in lower case (RFC 9562)

UUID of TEA Component Release in the TEA server

Response

Requested TEA Component Release and its latest Collection found and returned

uuidstring uuid required

A UUID in lower case (RFC 9562)

componentstring uuid required

A UUID in lower case (RFC 9562)

componentNamestring

Name of the TEA Component this release belongs to

versionstring required

Human-readable version string

createdDatestring date-time required

Timestamp, RFC 3339 in UTC with the Z designator. Offsets are not accepted; servers shall convert to UTC before emitting. Fractional seconds are optional and preserved as sent. All timestamps in this specification use this schema.

releaseDatestring date-time

Timestamp, RFC 3339 in UTC with the Z designator. Offsets are not accepted; servers shall convert to UTC before emitting. Fractional seconds are optional and preserved as sent. All timestamps in this specification use this schema.

preReleaseboolean

A flag indicating pre-release (or beta) status. May be disabled after the creation of the release object, but can't be enabled after creation of an object.

Example response

{
  "uuid": "605d0ecb-1057-40e4-9abf-c400b10f0345",
  "version": "11.0.7",
  "createdDate": "2025-05-07T18:08:00Z",
  "releaseDate": "2025-05-12T18:08:00Z",
  "component": "c71b316e-ae77-11f1-aafb-1a52914d44b2",
  "identifiers": [
    {
      "idType": "PURL",
      "idValue": "pkg:maven/org.apache.tomcat/tomcat@11.0.7"
    }
  ],
  "latestCollection": {
    "uuid": "605d0ecb-1057-40e4-9abf-c400b10f0345",
    "version": 2,
    "createdDate": "2025-05-12T18:08:00Z",
    "belongsTo": "COMPONENT_RELEASE",
    "updateReason": {
      "type": "VEX_UPDATED",
      "comment": "First artifacts published for this release"
    },
    "artifacts": [
      {
        "uuid": "3c8f5d2a-6b1e-4f7a-9c0d-2e5b8a1f4c93",
        "name": "Build SBOM",
        "version": 1,
        "createdDate": "2025-05-07T18:08:00Z",
        "type": "BOM",
        "formats": [
          {
            "mediaType": "application/vnd.cyclonedx+xml",
            "description": "CycloneDX SBOM (XML)",
            "url": "https://repo.maven.apache.org/maven2/org/apache/tomcat/tomcat/11.0.7/tomcat-11.0.7-cyclonedx.xml",
            "checksums": [
              {
                "algType": "SHA-256",
                "algValue": "66218c5c43e1a62fc2e3904500980241698aeddea4a6c446fda781c900e9d497"
              }
            ]
          }
        ]
      },
      {
        "uuid": "b7e2c4d9-1f3a-4a6e-8d5b-9c0e7f2a3b14",
        "name": "Vulnerability Disclosure Report",
        "version": 1,
        "createdDate": "2025-05-09T18:08:00Z",
        "type": "VULNERABILITIES",
        "formats": [
          {
            "mediaType": "application/vnd.cyclonedx+xml",
            "description": "CycloneDX VDR (XML)",
            "url": "https://tomcat.apache.org/cyclonedx/vdr.xml",
            "checksums": [
              {
                "algType": "SHA-256",
                "algValue": "3d93f05e799f6897570537313e8217dd67583c3b65f08ff0ebbce455357a6101"
              }
            ]
          }
        ]
      }
    ]
  }
}

Changes

    • info

      the ///// response property dependentRequired was added for the status : when url is present, checksums are required

    • info

      api operation id getComponentReleaseById removed and replaced with getComponentRelease