From 1f14b7cdaeb53db2ff542701ed93c13f00e5a099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik-L=C3=A2n=20Do=20Dinh?= Date: Mon, 15 Apr 2024 10:55:18 +0200 Subject: [PATCH] Remove `source` parameter --- CHANGELOG.md | 1 + drafts/0.0.1-draft-0.1/api-plu.yml | 11 ----------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05b33af..ab3c905 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ * [Deployment] Set draft version for development * [Spec] Replace `plu:procedureStartDate` (type `xsd:dateTime`) with `plu:procedurePeriod` (type `dct:PeriodOfTime`) * [Spec] Add new attribute `dct:title` to `plu:ProcessStep` +* [API] Remove `source` query parameter from `POST`/`PUT`/`DELETE` endpoints for records ## 2024-02-28 - 0.1.4 diff --git a/drafts/0.0.1-draft-0.1/api-plu.yml b/drafts/0.0.1-draft-0.1/api-plu.yml index eadb9f8..706dea8 100644 --- a/drafts/0.0.1-draft-0.1/api-plu.yml +++ b/drafts/0.0.1-draft-0.1/api-plu.yml @@ -241,7 +241,6 @@ paths: operationId: postRecord parameters: - $ref: '#/components/parameters/collectionId' - - $ref: '#/components/parameters/source' requestBody: required: true content: @@ -301,7 +300,6 @@ paths: parameters: - $ref: '#/components/parameters/collectionId' - $ref: '#/components/parameters/recordId' - - $ref: '#/components/parameters/source' requestBody: required: true content: @@ -333,7 +331,6 @@ paths: parameters: - $ref: '#/components/parameters/collectionId' - $ref: '#/components/parameters/recordId' - - $ref: '#/components/parameters/source' responses: '200': $ref: '#/components/responses/200Success' @@ -359,14 +356,6 @@ components: schema: type: string example: f08a255e-2c11-49dd-bdf9-88a0dcbe2aa6 - source: - name: source - in: query - description: The mandatory source parameter denotes the origin point of the dataset. It influences the merging strategy for competing datasets. Interpreted values are `cockpit`, `cockpitpro`, `beteiligungsdb`. - required: true - schema: - type: string - example: cockpit q: name: q in: query