From 658f4d4786b7f7290d91d3d16e99c405c176d686 Mon Sep 17 00:00:00 2001 From: leventecsanyi Date: Mon, 5 Aug 2024 15:46:59 +0200 Subject: Fixed URL for data job result - fixed opeanapi and stub - updated pnp simulator image Issue-ID: CPS-2296 Signed-off-by: leventecsanyi Change-Id: I6654762256097f9deb8ce40cfc8014bed67cb269 --- docs/api/swagger/openapi-datajob.yaml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'docs/api/swagger/openapi-datajob.yaml') diff --git a/docs/api/swagger/openapi-datajob.yaml b/docs/api/swagger/openapi-datajob.yaml index ea2c3a9e..54ce0660 100644 --- a/docs/api/swagger/openapi-datajob.yaml +++ b/docs/api/swagger/openapi-datajob.yaml @@ -97,6 +97,14 @@ paths: example: some-producer-job-identifier type: string style: simple + - description: Identifier for the data producer + in: query + name: dataProducerId + required: true + schema: + example: some-data-producer-identifier + type: string + style: form responses: "501": content: @@ -110,17 +118,17 @@ paths: description: Not Implemented tags: - dmi-datajob - /v1/dataJob/{requestId}/dataProducerJob/{dataProducerJobId}/result: + /v1/cmwriteJob/dataProducer/{dataProducerId}/dataProducerJob/{dataProducerJobId}/result: get: description: Retrieve the result of a data job. operationId: getDataJobResult parameters: - - description: Identifier for the overall Datajob + - description: Identifier for the data producer in: path - name: requestId + name: dataProducerId required: true schema: - example: some-identifier + example: some-data-producer-identifier type: string style: simple - description: Identifier for the data producer job @@ -277,7 +285,7 @@ components: type: string dataJobId: description: Identifier for the overall Data Job - example: my-data-producer-identifier + example: my-data-job-identifier type: string data: example: -- cgit 1.2.3-korg