Loading ngsi-ld-api.yaml +12 −8 Original line number Diff line number Diff line Loading @@ -1376,6 +1376,8 @@ paths: items: type: string '207': allOf: - $ref: '#/components/responses/MultiStatus.BatchOperationResult' description: | If only some or none of the entities have been successfully created, a response body containing the result of each operation contained in the batch is returned in a BatchOperationResult structure. Loading @@ -1392,7 +1394,6 @@ paths: is returned in a BatchOperationResult structure. Errors can occur whenever a distributed operation is unsupported, fails or times out, see clause 6.3.17. $ref: '#/components/responses/MultiStatus.BatchOperationResult' '400': $ref: '#/components/responses/BadRequest' /entityOperations/upsert: Loading Loading @@ -1467,12 +1468,14 @@ paths: NGSILD-Tenant: $ref: '#/components/headers/NGSILD-Tenant' '207': allOf: - $ref: '#/components/responses/MultiStatus.BatchOperationResult' description: | If only some or none of the entities have been successfully created, a response body containing the If only some or none of the entities have been successfully created or updated, a response body containing the result of each operation contained in the batch is returned in a BatchOperationResult structure. It contains two arrays. The first array ('success') contains the URIs of the successfully created entities, It contains two arrays. The first array ('success') contains the URIs of the successfully created or updated entities, while the second array ('errors') contains information about the error for each of the entities that could not be created. There is no restriction of the entities that could not be created or updated. There is no restriction as to the order of the Entity Ids in the arrays. If any of the entities matches to a registration, the relevant parts of the request Loading @@ -1483,7 +1486,6 @@ paths: is returned in a BatchOperationResult structure. Errors can occur whenever a distributed operation is unsupported, fails or times out, see clause 6.3.17. $ref: '#/components/responses/MultiStatus.BatchOperationResult' '400': $ref: '#/components/responses/BadRequest' /entityOperations/update: Loading Loading @@ -1536,11 +1538,13 @@ paths: responses: '204': description: | If all entities already existed and are successfully updated, there is no payload body in the response. If all entities have been successfully updated, there is no payload body in the response. headers: NGSILD-Tenant: $ref: '#/components/headers/NGSILD-Tenant' '207': allOf: - $ref: '#/components/responses/MultiStatus.BatchOperationResult' description: | If only some or none of the entities have been successfully created, a response body containing the result of each operation contained in the batch is returned in a BatchOperationResult structure. Loading @@ -1557,7 +1561,6 @@ paths: is returned in a BatchOperationResult structure. Errors can occur whenever a distributed operation is unsupported, fails or times out, see clause 6.3.17. $ref: '#/components/responses/MultiStatus.BatchOperationResult' '400': $ref: '#/components/responses/BadRequest' /entityOperations/delete: Loading Loading @@ -1594,6 +1597,8 @@ paths: NGSILD-Tenant: $ref: '#/components/headers/NGSILD-Tenant' '207': allOf: - $ref: '#/components/responses/MultiStatus.BatchOperationResult' description: | If some or all of the entities have not been successfully deleted, or did not exist, a response body containing the result of each operation contained in the batch is returned Loading @@ -1611,7 +1616,6 @@ paths: fails or times out, see clause 6.3.17. Errors can occur whenever a distributed operation is unsupported, fails or times out, see clause 6.3.17. $ref: '#/components/responses/MultiStatus.BatchOperationResult' '400': $ref: '#/components/responses/BadRequest' /entityOperations/query: Loading Loading
ngsi-ld-api.yaml +12 −8 Original line number Diff line number Diff line Loading @@ -1376,6 +1376,8 @@ paths: items: type: string '207': allOf: - $ref: '#/components/responses/MultiStatus.BatchOperationResult' description: | If only some or none of the entities have been successfully created, a response body containing the result of each operation contained in the batch is returned in a BatchOperationResult structure. Loading @@ -1392,7 +1394,6 @@ paths: is returned in a BatchOperationResult structure. Errors can occur whenever a distributed operation is unsupported, fails or times out, see clause 6.3.17. $ref: '#/components/responses/MultiStatus.BatchOperationResult' '400': $ref: '#/components/responses/BadRequest' /entityOperations/upsert: Loading Loading @@ -1467,12 +1468,14 @@ paths: NGSILD-Tenant: $ref: '#/components/headers/NGSILD-Tenant' '207': allOf: - $ref: '#/components/responses/MultiStatus.BatchOperationResult' description: | If only some or none of the entities have been successfully created, a response body containing the If only some or none of the entities have been successfully created or updated, a response body containing the result of each operation contained in the batch is returned in a BatchOperationResult structure. It contains two arrays. The first array ('success') contains the URIs of the successfully created entities, It contains two arrays. The first array ('success') contains the URIs of the successfully created or updated entities, while the second array ('errors') contains information about the error for each of the entities that could not be created. There is no restriction of the entities that could not be created or updated. There is no restriction as to the order of the Entity Ids in the arrays. If any of the entities matches to a registration, the relevant parts of the request Loading @@ -1483,7 +1486,6 @@ paths: is returned in a BatchOperationResult structure. Errors can occur whenever a distributed operation is unsupported, fails or times out, see clause 6.3.17. $ref: '#/components/responses/MultiStatus.BatchOperationResult' '400': $ref: '#/components/responses/BadRequest' /entityOperations/update: Loading Loading @@ -1536,11 +1538,13 @@ paths: responses: '204': description: | If all entities already existed and are successfully updated, there is no payload body in the response. If all entities have been successfully updated, there is no payload body in the response. headers: NGSILD-Tenant: $ref: '#/components/headers/NGSILD-Tenant' '207': allOf: - $ref: '#/components/responses/MultiStatus.BatchOperationResult' description: | If only some or none of the entities have been successfully created, a response body containing the result of each operation contained in the batch is returned in a BatchOperationResult structure. Loading @@ -1557,7 +1561,6 @@ paths: is returned in a BatchOperationResult structure. Errors can occur whenever a distributed operation is unsupported, fails or times out, see clause 6.3.17. $ref: '#/components/responses/MultiStatus.BatchOperationResult' '400': $ref: '#/components/responses/BadRequest' /entityOperations/delete: Loading Loading @@ -1594,6 +1597,8 @@ paths: NGSILD-Tenant: $ref: '#/components/headers/NGSILD-Tenant' '207': allOf: - $ref: '#/components/responses/MultiStatus.BatchOperationResult' description: | If some or all of the entities have not been successfully deleted, or did not exist, a response body containing the result of each operation contained in the batch is returned Loading @@ -1611,7 +1616,6 @@ paths: fails or times out, see clause 6.3.17. Errors can occur whenever a distributed operation is unsupported, fails or times out, see clause 6.3.17. $ref: '#/components/responses/MultiStatus.BatchOperationResult' '400': $ref: '#/components/responses/BadRequest' /entityOperations/query: Loading