From 2bf0c05eeb494153158f941c031e4ab7780bb397 Mon Sep 17 00:00:00 2001 From: "github-merge-queue[bot]" <118344674+github-merge-queue[bot]@users.noreply.github.com> Date: Mon, 17 Mar 2025 16:24:24 +0000 Subject: [PATCH] update client/openapi/trustd.yaml Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- client/openapi/trustd.yaml | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/client/openapi/trustd.yaml b/client/openapi/trustd.yaml index e64ac9f01..210cc2a0d 100644 --- a/client/openapi/trustd.yaml +++ b/client/openapi/trustd.yaml @@ -982,6 +982,33 @@ paths: application/json: schema: $ref: '#/components/schemas/PaginatedResults_PurlSummary' + post: + tags: + - purl + summary: Retrieve details for multiple qualified PURLs + operationId: getPurls + parameters: + - name: deprecated + in: query + required: false + schema: + type: string + enum: + - Ignore + - Consider + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/PurlsRequest' + required: true + responses: + '200': + description: Details for the qualified PURLs + content: + application/json: + schema: + $ref: '#/components/schemas/PurlsResponse' /api/v2/purl/base: get: tags: @@ -3182,6 +3209,21 @@ components: deprecated: true version: $ref: '#/components/schemas/VersionedPurlHead' + PurlsRequest: + type: object + required: + - items + properties: + items: + type: array + items: + type: string + PurlsResponse: + type: object + additionalProperties: + $ref: '#/components/schemas/PurlDetails' + propertyNames: + type: string Relationship: type: string enum: