From 508fd4e9034d0ea36e86492211c6c24c236fadfc Mon Sep 17 00:00:00 2001 From: GitHub Action Bot Date: Mon, 30 Oct 2023 11:42:02 +0000 Subject: [PATCH] Automated commit 'ISCCOMPLI-698 : Update Campaign filter API docs changes for V1 to V3 migration (#1460) * ISCCOMPLI-698 Update Campaign filter API docs changes for V1 to V3 migration * ISCCOMPLI-698 updated description' by github action: 6692250351 --- idn/v3/paths/campaign-filter.yaml | 41 +++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/idn/v3/paths/campaign-filter.yaml b/idn/v3/paths/campaign-filter.yaml index 3bb48147..0bd5c2ba 100644 --- a/idn/v3/paths/campaign-filter.yaml +++ b/idn/v3/paths/campaign-filter.yaml @@ -34,5 +34,46 @@ get: $ref: '../responses/404.yaml' '429': $ref: '../responses/429.yaml' + '500': + $ref: '../responses/500.yaml' +post: + operationId: updateCampaignFilter + tags: + - Certification Campaign Filters + summary: Updates a Campaign Filter + description: >- + Updates an existing campaign filter using the filter's ID. + security: + - UserContextAuth: [ idn:campaign-filter:update ] + parameters: + - in: path + name: filterId + schema: + type: string + example: e9f9a1397b842fd5a65842087040d3ac + required: true + description: The ID of the campaign filter being modified. + requestBody: + required: true + description: A campaign filter details with updated field values. + content: + application/json: + schema: + $ref: '../schemas/CampaignFilterDetails.yaml' + responses: + '200': + description: Created successfully. + content: + application/json: + schema: + $ref: '../schemas/CampaignFilterDetails.yaml' + '400': + $ref: '../responses/400.yaml' + '401': + $ref: '../responses/401.yaml' + '403': + $ref: '../responses/403.yaml' + '429': + $ref: '../responses/429.yaml' '500': $ref: '../responses/500.yaml' \ No newline at end of file