@@ -87,6 +87,30 @@ paths:
8787 $ref : " #/components/responses/404-object-by-id-not-found"
8888 tags :
8989 - TEA Product Release
90+ /productRelease/{uuid}/cle :
91+ get :
92+ description : Get the CLE (Common Lifecycle Enumeration) data for a TEA Product Release
93+ operationId : getCleByProductReleaseId
94+ parameters :
95+ - name : uuid
96+ in : path
97+ required : true
98+ description : UUID of TEA Product Release in the TEA server
99+ schema :
100+ " $ref " : " #/components/schemas/uuid"
101+ responses :
102+ ' 200 ' :
103+ description : CLE data for the requested TEA Product Release found and returned
104+ content :
105+ application/json :
106+ schema :
107+ " $ref " : " #/components/schemas/cle"
108+ ' 400 ' :
109+ $ref : " #/components/responses/400-invalid-request"
110+ ' 404 ' :
111+ $ref : " #/components/responses/404-object-by-id-not-found"
112+ tags :
113+ - CLE
90114 /productReleases :
91115 get :
92116 description : Returns a list of TEA product releases. Note that multiple product releases may match.
@@ -242,6 +266,30 @@ paths:
242266 $ref : " #/components/responses/404-object-by-id-not-found"
243267 tags :
244268 - TEA Component Release
269+ /componentRelease/{uuid}/cle :
270+ get :
271+ description : Get the CLE (Common Lifecycle Enumeration) data for a TEA Component Release
272+ operationId : getCleByComponentReleaseId
273+ parameters :
274+ - name : uuid
275+ in : path
276+ required : true
277+ description : UUID of TEA Component Release in the TEA server
278+ schema :
279+ " $ref " : " #/components/schemas/uuid"
280+ responses :
281+ ' 200 ' :
282+ description : CLE data for the requested TEA Component Release found and returned
283+ content :
284+ application/json :
285+ schema :
286+ " $ref " : " #/components/schemas/cle"
287+ ' 400 ' :
288+ $ref : " #/components/responses/400-invalid-request"
289+ ' 404 ' :
290+ $ref : " #/components/responses/404-object-by-id-not-found"
291+ tags :
292+ - CLE
245293 /componentRelease/{uuid}/collection/latest :
246294 get :
247295 description : Get the latest TEA Collection belonging to the TEA Component Release
@@ -500,9 +548,6 @@ components:
500548 List of identifiers for the product, like TEI, CPE, PURL or other identifiers
501549 items :
502550 " $ref " : " #/components/schemas/identifier"
503- cle :
504- description : Optional Common Lifecycle Enumeration (CLE) data for this product
505- $ref : " #/components/schemas/cle"
506551 required :
507552 - uuid
508553 - name
@@ -559,9 +604,6 @@ components:
559604 the UUID of a specific component release to pin the exact version.
560605 items :
561606 " $ref " : " #/components/schemas/component-ref"
562- cle :
563- description : Optional Common Lifecycle Enumeration (CLE) data for this product release
564- $ref : " #/components/schemas/cle"
565607 required :
566608 - uuid
567609 - version
@@ -598,9 +640,6 @@ components:
598640 description : List of identifiers for the component
599641 items :
600642 " $ref " : " #/components/schemas/identifier"
601- cle :
602- description : Optional Common Lifecycle Enumeration (CLE) data for this component
603- $ref : " #/components/schemas/cle"
604643 required :
605644 - uuid
606645 - name
@@ -685,9 +724,6 @@ components:
685724 description : List of different formats of this component release
686725 items :
687726 " $ref " : " #/components/schemas/release-distribution"
688- cle :
689- description : Optional Common Lifecycle Enumeration (CLE) data for this component release
690- $ref : " #/components/schemas/cle"
691727 required :
692728 - uuid
693729 - version
0 commit comments