latestOpenAPI 3.0.02026-08-0819201.1 MB

411f9f98c01e

components

Lists the Component versions based on the specified Component Id

The component should be accessible to the client (e.g. component from the own Contract or shared one).

get/components/{component_id}/versions

Path parameters

component_idstring required

Component identifier

Response

OK

metaobject required

Example response

{
  "data": [
    {
      "id": "db12f2a7291fd904d004786cb9f11220c90421aa",
      "links": {
        "self": "/v2/versions/db12f2a7291fd904d004786cb9f11220c90421aa"
      },
      "attributes": {
        "date": 1452180641922,
        "version_number": "2"
      },
      "relationships": {
        "descriptor": {
          "data": {
            "id": "db12f2a7291fd904d004786cb9f11220c90421aa"
          },
          "links": {
            "self": "/v2/components/5b4f337bff4304610483ba67/versions/db12f2a7291fd904d004786cb9f11220c90421aa/descriptor"
          }
        },
        "component": {
          "data": {
            "id": "5b4f337bff4304610483ba67"
          },
          "links": {
            "self": "/v2/components/5b4f337bff4304610483ba67"
          }
        }
      }
    }
  ],
  "links": {
    "self": "/v2/components/5b4f337bff4304610483ba67/versions"
  }
}