Loading spec/updated/entities-spec.json +234 −173 Original line number Diff line number Diff line Loading @@ -102,6 +102,16 @@ "type": "string", "minLength": 1 } }, "limit": { "name": "limit", "description": "Pagination limit", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1 } } } }, Loading @@ -110,8 +120,7 @@ "get": { "description": "Retrieve a set of entities which matches a specific query from an NGSI-LD system", "operationId": "queryEntities", "parameters": [ { "parameters": [{ "$ref": "#/components/parameters/id" }, { Loading Loading @@ -140,6 +149,9 @@ }, { "$ref": "#/components/parameters/csf" }, { "$ref": "#/components/parameters/limit" } ], "responses": { Loading @@ -161,9 +173,58 @@ "400": { "description": "Bad request", "content": { "application/json": { "application/json;application/ld+json": { "schema": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails" } } } } } }, "post": { "description": "Create a new Entity within an NGSI-LD system", "operationId": "createEntity", "requestBody": { "required": true, "content": { "application/json;application/ld+json": { "schema": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#" }, } } }, "responses": { "201": { "description": "Created. Contains the resource URI of the created Entity" }, "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" } } } }, "409": { "description": "Already exists", "content": { "application/json;application/ld+json": { "schema": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails" } } } }, "422": { "description": "Unprocessable Entity", "content": { "application/json;application/ld+json": { "schema": { "$ref": "" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails" } } } Loading Loading
spec/updated/entities-spec.json +234 −173 Original line number Diff line number Diff line Loading @@ -102,6 +102,16 @@ "type": "string", "minLength": 1 } }, "limit": { "name": "limit", "description": "Pagination limit", "in": "query", "required": false, "schema": { "type": "integer", "minimum": 1 } } } }, Loading @@ -110,8 +120,7 @@ "get": { "description": "Retrieve a set of entities which matches a specific query from an NGSI-LD system", "operationId": "queryEntities", "parameters": [ { "parameters": [{ "$ref": "#/components/parameters/id" }, { Loading Loading @@ -140,6 +149,9 @@ }, { "$ref": "#/components/parameters/csf" }, { "$ref": "#/components/parameters/limit" } ], "responses": { Loading @@ -161,9 +173,58 @@ "400": { "description": "Bad request", "content": { "application/json": { "application/json;application/ld+json": { "schema": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails" } } } } } }, "post": { "description": "Create a new Entity within an NGSI-LD system", "operationId": "createEntity", "requestBody": { "required": true, "content": { "application/json;application/ld+json": { "schema": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/Entity.json#" }, } } }, "responses": { "201": { "description": "Created. Contains the resource URI of the created Entity" }, "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" } } } }, "409": { "description": "Already exists", "content": { "application/json;application/ld+json": { "schema": { "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails" } } } }, "422": { "description": "Unprocessable Entity", "content": { "application/json;application/ld+json": { "schema": { "$ref": "" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/ProblemDetails" } } } Loading