{ "openapi": "3.0.1", "info": { "title": "NGSI-LD Entity Operations", "version": "0.1" }, "components": {}, "paths": { "/entityOperations/create": { "post": { "description": "Batch Entity creation", "operationId": "batchEntityCreation", "tags": ["Batch Operations"], "requestBody": { "required": true, "content": { "application/json;application/ld+json": { "schema": { "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/EntityList.json#/definitions/EntityList" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json;application/ld+json": { "schema": { "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/BatchOperationResult.json#/definitions/BatchOperationResult" } } } }, "400": { "description": "Bad request", "content": { "application/json;application/ld+json": { "schema": { "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails" } } } } } } }, "/entityOperations/update": { "post": { "description": "Batch Entity update", "operationId": "batchEntityUpdate", "tags": ["Batch Operations"], "parameters": [ { "name": "options", "in": "query", "required": false, "schema": { "type": "string", "enum": [ "noOverwrite" ] } } ], "requestBody": { "required": true, "content": { "application/json;application/ld+json": { "schema": { "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/EntityList.json#/definitions/EntityList" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json;application/ld+json": { "schema": { "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/BatchOperationResult.json#/definitions/BatchOperationResult" } } } }, "400": { "description": "Bad request", "content": { "application/json;application/ld+json": { "schema": { "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails" } } } } } } }, "/entityOperations/upsert": { "post": { "description": "Batch Entity upsert", "operationId": "batchEntityUpsert", "tags": ["Batch Operations"], "parameters": [ { "name": "options", "in": "query", "required": false, "schema": { "type": "string", "enum": [ "replace", "update" ] } } ], "requestBody": { "required": true, "content": { "application/json;application/ld+json": { "schema": { "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/EntityList.json#/definitions/EntityList" } } } }, "responses": { "200": { "description": "Success", "content": { "application/json;application/ld+json": { "schema": { "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/BatchOperationResult.json#/definitions/BatchOperationResult" } } } }, "400": { "description": "Bad request", "content": { "application/json;application/ld+json": { "schema": { "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails" } } } } } } }, "/entityOperations/delete": { "post": { "description": "Batch Entity delete", "operationId": "batchEntityDelete", "tags": ["Batch Operations"], "requestBody": { "required": true, "content": { "application/json;application/ld+json": { "schema": { "type": "array", "items": { "type": "string", "format": "uri" }, "minItems": 1 } } } }, "responses": { "200": { "description": "Success", "content": { "application/json;application/ld+json": { "schema": { "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/BatchOperationResult.json#/definitions/BatchOperationResult" } } } }, "400": { "description": "Bad request", "content": { "application/json;application/ld+json": { "schema": { "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails" } } } } } } } } }