Loading schema/BatchOperationResult.json +23 −16 Original line number Diff line number Diff line { "$schema": "http://json-schema.org/schema#", "id": "https://uri.etsi.org/ngsi-ld/schema/BatchOperationResult.json", "id": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/BatchOperationResult.json", "title": "NGSI-LD Batch Operation Result", "description": "NGSI-LD Batch Operation Result", "definitions": { Loading @@ -12,8 +12,8 @@ "error": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails" } } }, "BatchOperationResult": { "type": "object", "properties": { "success": { Loading @@ -31,3 +31,10 @@ } } } }, "allOf": [ { "$ref": "#/definitions/BatchOperationResult" } ] } spec/updated/entity-operations-spec.json 0 → 100644 +56 −0 Original line number Diff line number Diff line { "openapi": "3.0.1", "info": { "title": "NGSI-LD Entity Operations", "version": "latest" }, "components": { }, "paths": { "/entityOperations/create": { "post": { "description": "Batch Entity creation", "operationId": "batchEntityCreation", "requestBody": { "required": true, "content": { "application/json;application/ld+json": { "schema": { "$ref": "https://forge.etsi.org/gitlab/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/gitlab/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/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails" } } } }, } } }, "/entityOperations/update": { }, "/entityOperations/upsert": { }, "/entityOperations/delete": { } } } Loading
schema/BatchOperationResult.json +23 −16 Original line number Diff line number Diff line { "$schema": "http://json-schema.org/schema#", "id": "https://uri.etsi.org/ngsi-ld/schema/BatchOperationResult.json", "id": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/BatchOperationResult.json", "title": "NGSI-LD Batch Operation Result", "description": "NGSI-LD Batch Operation Result", "definitions": { Loading @@ -12,8 +12,8 @@ "error": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails" } } }, "BatchOperationResult": { "type": "object", "properties": { "success": { Loading @@ -31,3 +31,10 @@ } } } }, "allOf": [ { "$ref": "#/definitions/BatchOperationResult" } ] }
spec/updated/entity-operations-spec.json 0 → 100644 +56 −0 Original line number Diff line number Diff line { "openapi": "3.0.1", "info": { "title": "NGSI-LD Entity Operations", "version": "latest" }, "components": { }, "paths": { "/entityOperations/create": { "post": { "description": "Batch Entity creation", "operationId": "batchEntityCreation", "requestBody": { "required": true, "content": { "application/json;application/ld+json": { "schema": { "$ref": "https://forge.etsi.org/gitlab/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/gitlab/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/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails" } } } }, } } }, "/entityOperations/update": { }, "/entityOperations/upsert": { }, "/entityOperations/delete": { } } }