Skip to content
{ {
"$schema": "http://json-schema.org/schema#",
"$id": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/temporal/EntityTemporal.json",
"title": "NGSI-LD Entity", "title": "NGSI-LD Entity",
"description": "NGSI-LD Temporal Representation of an Entity", "description": "NGSI-LD Temporal Representation of an Entity",
"definitions": { "definitions": {
...@@ -46,7 +44,7 @@ ...@@ -46,7 +44,7 @@
} }
}, },
"additionalProperties": { "additionalProperties": {
"anyOf": [ "oneOf": [
{ {
"type": "array", "type": "array",
"items": { "items": {
...@@ -69,22 +67,19 @@ ...@@ -69,22 +67,19 @@
"minItems": 1 "minItems": 1
} }
] ]
},
"propertyNames": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/PropertyNames"
} }
}, },
"EntityTemporal": { "EntityTemporal": {
"allOf": [ "allOf": [
{
"$ref": "#/definitions/EntityTemporalFragment"
},
{ {
"type": "object", "type": "object",
"required": [ "required": [
"id", "type",
"type" "id"
] ]
},
{
"$ref": "#/definitions/EntityTemporalFragment"
} }
] ]
} }
......
{ {
"$schema": "http://json-schema.org/schema#",
"$id": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/temporal/EntityTemporalList.json",
"title": "NGSI-LD Entity", "title": "NGSI-LD Entity",
"description": "NGSI-LD Temporal Representation List", "description": "NGSI-LD Temporal Representation List",
"definitions": { "definitions": {
"EntityTemporalList": { "EntityTemporalList": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/temporal/EntityTemporal.json#" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/temporal/EntityTemporal.json#/definitions/EntityTemporal"
} }
} }
}, },
......
{ {
"$schema": "http://json-schema.org/schema#",
"$id": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/temporal/Entity_temporalValues.json",
"title": "NGSI-LD Entity Temporal Values", "title": "NGSI-LD Entity Temporal Values",
"description": "NGSI-LD Simplified Temporal Representation of Entities", "description": "NGSI-LD Simplified Temporal Representation of Entities",
"definitions": { "definitions": {
...@@ -105,7 +103,7 @@ ...@@ -105,7 +103,7 @@
"id" "id"
], ],
"additionalProperties": { "additionalProperties": {
"anyOf": [ "oneOf": [
{ {
"$ref": "#/definitions/PropertyTemporalValues" "$ref": "#/definitions/PropertyTemporalValues"
}, },
...@@ -113,8 +111,5 @@ ...@@ -113,8 +111,5 @@
"$ref": "#/definitions/RelationshipTemporalValues" "$ref": "#/definitions/RelationshipTemporalValues"
} }
] ]
},
"propertyNames": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/common.json#/definitions/PropertyNames"
} }
} }
\ No newline at end of file
#!/bin/bash
#
# Requires install swagger-cli: npm install -g swagger-cli
#
# Generate a file which combines all the spec files into a unique swagger definition file (maintains references)
swagger-cli bundle ./spec/updated/ngsi-ld-spec-open-api.json -o ./bundle/ngsild_swagger_combined.json
# Generate a file which combines all the spec files into a unique swagger definition file (removes references)
# working with modified swagger-cli.js to avoid circular ref problem
swagger-cli -d bundle --dereference ./spec/updated/ngsi-ld-spec-open-api.json -o ./bundle/ngsild_swagger_combined_dereferenced.json
# modified version to allow circular ref
# swagger-cli bundle --dereference="ignore" ./spec/updated/ngsi-ld-spec-open-api.json -o ./bundle/ngsild_swagger_combined.json
\ No newline at end of file
#!/bin/bash
scripts/setBasePath.sh https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master http://localhost:8090
docker run --name spec-server --rm -d -v ${PWD}/:/ngsi -e FOLDER=/ngsi -p 8090:8080 halverneus/static-file-server
read -p "Press enter to finish editing"
docker stop spec-server
scripts/setBasePath.sh http://localhost:8090 https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master
#!/bin/bash
toBeReplaced=$1
replacement=$2
for i in $(find spec -type f -print)
do
sed -i s,${toBeReplaced},${replacement},g "${i}"
done
for i in $(find schema -type f -print)
do
sed -i s,${toBeReplaced},${replacement},g "${i}"
done
\ No newline at end of file
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
"get": { "get": {
"description": "Retrieves a specific context source registration from an NGSI-LD system", "description": "Retrieves a specific context source registration from an NGSI-LD system",
"operationId": "retrieveCsource", "operationId": "retrieveCsource",
"tags": ["Context Sources"], "tags": ["Context Sources", "CSourceRegistrations"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/registrationId" "$ref": "#/components/parameters/registrationId"
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
"delete": { "delete": {
"description": "Removes an specific context source registration within an NGSI-LD system", "description": "Removes an specific context source registration within an NGSI-LD system",
"operationId": "removeCsource", "operationId": "removeCsource",
"tags": ["Context Sources"], "tags": ["Context Sources", "CSourceRegistrations"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/registrationId" "$ref": "#/components/parameters/registrationId"
......
...@@ -13,37 +13,37 @@ ...@@ -13,37 +13,37 @@
"get": { "get": {
"description": "Retrieve a set of context sources which matches a specific query from an NGSI-LD system", "description": "Retrieve a set of context sources which matches a specific query from an NGSI-LD system",
"operationId": "queryCsources", "operationId": "queryCsources",
"tags": ["Context Sources"], "tags": ["Context Sources", "CSourceRegistrations"],
"parameters": [ "parameters": [
{ {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/id" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entities-spec.json#/components/parameters/id"
}, },
{ {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/idPattern" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entities-spec.json#/components/parameters/idPattern"
}, },
{ {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/type" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entities-spec.json#/components/parameters/type"
}, },
{ {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/attrs" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entities-spec.json#/components/parameters/attrs"
}, },
{ {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/q" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entities-spec.json#/components/parameters/q"
}, },
{ {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/georel" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entities-spec.json#/components/parameters/georel"
}, },
{ {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/geometry" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entities-spec.json#/components/parameters/geometry"
}, },
{ {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/coordinates" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entities-spec.json#/components/parameters/coordinates"
}, },
{ {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/geoproperty" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entities-spec.json#/components/parameters/geoproperty"
}, },
{ {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/limit" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entities-spec.json#/components/parameters/limit"
} }
], ],
"responses": { "responses": {
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
"post": { "post": {
"description": "Registers a new context source within an NGSI-LD system", "description": "Registers a new context source within an NGSI-LD system",
"operationId": "registerCsource", "operationId": "registerCsource",
"tags": ["Context Sources"], "tags": ["Context Sources", "CSourceRegistrations"],
"requestBody": { "requestBody": {
"required": true, "required": true,
"content": { "content": {
......
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
"/csourceSubscriptions/{subscriptionId}": { "/csourceSubscriptions/{subscriptionId}": {
"get": { "get": {
"description": "Retrieves a specific Subscription from an NGSI-LD system", "description": "Retrieves a specific Subscription from an NGSI-LD system",
"operationId": "retrieveSubscription", "operationId": "retrieveCSourceSubscriptionsById",
"tags": ["Context Sources"], "tags": ["Context Sources", "CSourceSubscriptions"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/subscriptionId" "$ref": "#/components/parameters/subscriptionId"
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
"patch": { "patch": {
"description": "Updates a specific context source discovery Subscription within an NGSI-LD system", "description": "Updates a specific context source discovery Subscription within an NGSI-LD system",
"operationId": "updateCSourceSubscription", "operationId": "updateCSourceSubscription",
"tags": ["Context Sources"], "tags": ["Context Sources", "CSourceSubscriptions"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/subscriptionId" "$ref": "#/components/parameters/subscriptionId"
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
"delete": { "delete": {
"description": "Removes a specific Context Source Subscription from an NGSI-LD system", "description": "Removes a specific Context Source Subscription from an NGSI-LD system",
"operationId": "removeCSourceSubscription", "operationId": "removeCSourceSubscription",
"tags": ["Context Sources"], "tags": ["Context Sources", "CSourceSubscriptions"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/subscriptionId" "$ref": "#/components/parameters/subscriptionId"
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
"get": { "get": {
"description": "Retrieves the context source discovery subscriptions available in an NGSI-LD system", "description": "Retrieves the context source discovery subscriptions available in an NGSI-LD system",
"operationId": "retrieveCSourceSubscriptions", "operationId": "retrieveCSourceSubscriptions",
"tags": ["Context Sources"], "tags": ["Context Sources", "CSourceSubscriptions"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/limit" "$ref": "#/components/parameters/limit"
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
"post": { "post": {
"description": "Creates a context source discovery Subscription within an NGSI-LD system", "description": "Creates a context source discovery Subscription within an NGSI-LD system",
"operationId": "createCSourceSubscription", "operationId": "createCSourceSubscription",
"tags": ["Context Sources"], "tags": ["Context Sources", "CSourceSubscriptions"],
"requestBody": { "requestBody": {
"required": true, "required": true,
"content": { "content": {
......
...@@ -130,7 +130,7 @@ ...@@ -130,7 +130,7 @@
"get": { "get": {
"description": "Retrieve a set of entities which matches a specific query from an NGSI-LD system", "description": "Retrieve a set of entities which matches a specific query from an NGSI-LD system",
"operationId": "queryEntities", "operationId": "queryEntities",
"tags": ["Context Information"], "tags": ["Context Information", "Entities"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/id" "$ref": "#/components/parameters/id"
...@@ -200,7 +200,7 @@ ...@@ -200,7 +200,7 @@
"post": { "post": {
"description": "Create a new Entity within an NGSI-LD system", "description": "Create a new Entity within an NGSI-LD system",
"operationId": "createEntity", "operationId": "createEntity",
"tags": ["Context Information"], "tags": ["Context Information", "Entities"],
"requestBody": { "requestBody": {
"required": true, "required": true,
"content": { "content": {
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
"post": { "post": {
"description": "Append new Entity attributes to an existing Entity within an NGSI-LD system", "description": "Append new Entity attributes to an existing Entity within an NGSI-LD system",
"operationId": "appendEntityAttrs", "operationId": "appendEntityAttrs",
"tags": ["Context Information"], "tags": ["Context Information", "Entities"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/entityId" "$ref": "#/components/parameters/entityId"
...@@ -72,7 +72,7 @@ ...@@ -72,7 +72,7 @@
"content": { "content": {
"application/json;application/ld+json": { "application/json;application/ld+json": {
"schema": { "schema": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/UpdateResult.json#" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/UpdateResult.json#/definitions/UpdateResult"
} }
} }
} }
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
"patch": { "patch": {
"description": "Update existing Entity attributes within an NGSI-LD system", "description": "Update existing Entity attributes within an NGSI-LD system",
"operationId": "updateEntityAttrs", "operationId": "updateEntityAttrs",
"tags": ["Context Information"], "tags": ["Context Information", "Entities"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/entityId" "$ref": "#/components/parameters/entityId"
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
"content": { "content": {
"application/json;application/ld+json": { "application/json;application/ld+json": {
"schema": { "schema": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/UpdateResult.json#" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/schema/UpdateResult.json#/definitions/UpdateResult"
} }
} }
} }
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
"patch": { "patch": {
"description": "Update existing Entity attributes within an NGSI-LD system", "description": "Update existing Entity attributes within an NGSI-LD system",
"operationId": "partialAttrUpdate", "operationId": "partialAttrUpdate",
"tags": ["Context Information"], "tags": ["Context Information", "Entities"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/entityId" "$ref": "#/components/parameters/entityId"
...@@ -207,7 +207,7 @@ ...@@ -207,7 +207,7 @@
"delete": { "delete": {
"description": "Removes an existing Entity attribute within an NGSI-LD system", "description": "Removes an existing Entity attribute within an NGSI-LD system",
"operationId": "removeEntityAttr", "operationId": "removeEntityAttr",
"tags": ["Context Information"], "tags": ["Context Information", "Entities"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/entityId" "$ref": "#/components/parameters/entityId"
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
"get": { "get": {
"description": "Retrieve an specific Entity from an NGSI-LD system. It's possible to specify the Entity attributes to be retrieved by using query parameters", "description": "Retrieve an specific Entity from an NGSI-LD system. It's possible to specify the Entity attributes to be retrieved by using query parameters",
"operationId": "retrieveEntityById", "operationId": "retrieveEntityById",
"tags": ["Context Information"], "tags": ["Context Information", "Entities"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/entityId" "$ref": "#/components/parameters/entityId"
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
"$ref": "#/components/parameters/type" "$ref": "#/components/parameters/type"
}, },
{ {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/options" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entities-spec.json#/components/parameters/options"
} }
], ],
"responses": { "responses": {
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
"delete": { "delete": {
"description": "Removes an specific Entity from an NGSI-LD system", "description": "Removes an specific Entity from an NGSI-LD system",
"operationId": "removeEntityById", "operationId": "removeEntityById",
"tags": ["Context Information"], "tags": ["Context Information", "Entities"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/entityId" "$ref": "#/components/parameters/entityId"
......
...@@ -6,11 +6,11 @@ ...@@ -6,11 +6,11 @@
}, },
"components": {}, "components": {},
"paths": { "paths": {
"/entityOperations/create/": { "/entityOperations/create": {
"post": { "post": {
"description": "Batch Entity creation", "description": "Batch Entity creation",
"operationId": "batchEntityCreation", "operationId": "batchEntityCreation",
"tags": ["Batch Operations"], "tags": ["Batch Operations", "Entities"],
"requestBody": { "requestBody": {
"required": true, "required": true,
"content": { "content": {
...@@ -45,11 +45,11 @@ ...@@ -45,11 +45,11 @@
} }
} }
}, },
"/entityOperations/update/": { "/entityOperations/update": {
"post": { "post": {
"description": "Batch Entity update", "description": "Batch Entity update",
"operationId": "batchEntityUpdate", "operationId": "batchEntityUpdate",
"tags": ["Batch Operations"], "tags": ["Batch Operations", "Entities"],
"parameters": [ "parameters": [
{ {
"name": "options", "name": "options",
...@@ -97,11 +97,11 @@ ...@@ -97,11 +97,11 @@
} }
} }
}, },
"/entityOperations/upsert/": { "/entityOperations/upsert": {
"post": { "post": {
"description": "Batch Entity upsert", "description": "Batch Entity upsert",
"operationId": "batchEntityUpsert", "operationId": "batchEntityUpsert",
"tags": ["Batch Operations"], "tags": ["Batch Operations", "Entities"],
"parameters": [ "parameters": [
{ {
"name": "options", "name": "options",
...@@ -150,11 +150,11 @@ ...@@ -150,11 +150,11 @@
} }
} }
}, },
"/entityOperations/delete/": { "/entityOperations/delete": {
"post": { "post": {
"description": "Batch Entity delete", "description": "Batch Entity delete",
"operationId": "batchEntityDelete", "operationId": "batchEntityDelete",
"tags": ["Batch Operations"], "tags": ["Batch Operations", "Entities"],
"requestBody": { "requestBody": {
"required": true, "required": true,
"content": { "content": {
......
>:warning: **Don't edit files in this folder, they are automatically generated and will be overwritten.**
\ No newline at end of file
...@@ -48,46 +48,46 @@ ...@@ -48,46 +48,46 @@
], ],
"paths": { "paths": {
"/entities/": { "/entities/": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/paths/%2Fentities%2F" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entities-spec.json#/paths/%2Fentities%2F"
}, },
"/entities/{entityId}": { "/entities/{entityId}": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entity-by-id-spec.json#/paths/%2Fentities%2F%7BentityId%7D" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entity-by-id-spec.json#/paths/%2Fentities%2F%7BentityId%7D"
}, },
"/entities/{entityId}/attrs/": { "/entities/{entityId}/attrs/": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entity-attrs-spec.json#/paths/%2Fentities%2F%7BentityId%7D%2Fattrs%2F" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entity-attrs-spec.json#/paths/%2Fentities%2F%7BentityId%7D%2Fattrs%2F"
}, },
"/entities/{entityId}/attrs/{attrId}": { "/entities/{entityId}/attrs/{attrId}": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entity-attrs-spec.json#/paths/%2Fentities%2F%7BentityId%7D%2Fattrs%2F%7BattrId%7D" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entity-attrs-spec.json#/paths/%2Fentities%2F%7BentityId%7D%2Fattrs%2F%7BattrId%7D"
}, },
"/subscriptions/": { "/subscriptions/": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/subscriptions-spec.json#/paths/%2Fsubscriptions%2F" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/subscriptions/subscriptions-spec.json#/paths/%2Fsubscriptions%2F"
}, },
"/subscriptions/{subscriptionId}": { "/subscriptions/{subscriptionId}": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/subscription-by-id-spec.json#/paths/%2Fsubscriptions%2F%7BsubscriptionId%7D" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/subscriptions/subscription-by-id-spec.json#/paths/%2Fsubscriptions%2F%7BsubscriptionId%7D"
}, },
"/csourceRegistrations/": { "/csourceRegistrations/": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/csource-registrations-spec.json#/paths/%2FcsourceRegistrations%2F" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/csourceRegistrations/csource-registrations-spec.json#/paths/%2FcsourceRegistrations%2F"
}, },
"/csourceRegistrations/{registrationId}": { "/csourceRegistrations/{registrationId}": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/csource-registration-by-id-spec.json#/paths/%2FcsourceRegistrations%2F%7BregistrationId%7D" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/csourceRegistrations/csource-registration-by-id-spec.json#/paths/%2FcsourceRegistrations%2F%7BregistrationId%7D"
}, },
"/csourceSubscriptions/": { "/csourceSubscriptions/": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/csource-subscriptions-spec.json#/paths/%2FcsourceSubscriptions%2F" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/csourceSubscriptions/csource-subscriptions-spec.json#/paths/%2FcsourceSubscriptions%2F"
}, },
"/csourceSubscriptions/{subscriptionId}": { "/csourceSubscriptions/{subscriptionId}": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/csource-subscription-by-id-spec.json#/paths/%2FcsourceSubscriptions%2F%7BsubscriptionId%7D" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/csourceSubscriptions/csource-subscription-by-id-spec.json#/paths/%2FcsourceSubscriptions%2F%7BsubscriptionId%7D"
}, },
"/entityOperations/create": { "/entityOperations/create": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entity-operations-spec.json#/paths/%2FentityOperations%2Fcreate" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entity-operations-spec.json#/paths/%2FentityOperations%2Fcreate"
}, },
"/entityOperations/update": { "/entityOperations/update": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entity-operations-spec.json#/paths/%2FentityOperations%2Fupdate" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entity-operations-spec.json#/paths/%2FentityOperations%2Fupdate"
}, },
"/entityOperations/upsert": { "/entityOperations/upsert": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entity-operations-spec.json#/paths/%2FentityOperations%2Fupsert" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entity-operations-spec.json#/paths/%2FentityOperations%2Fupsert"
}, },
"/entityOperations/delete": { "/entityOperations/delete": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entity-operations-spec.json#/paths/%2FentityOperations%2Fdelete" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entity-operations-spec.json#/paths/%2FentityOperations%2Fdelete"
}, },
"/temporal/entities/": { "/temporal/entities/": {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/temporal/temporal-entities-spec.json#/paths/%2Ftemporal%2Fentities%2F" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/temporal/temporal-entities-spec.json#/paths/%2Ftemporal%2Fentities%2F"
......
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
"/subscriptions/{subscriptionId}": { "/subscriptions/{subscriptionId}": {
"get": { "get": {
"description": "Retrieves a specific Subscription from an NGSI-LD system", "description": "Retrieves a specific Subscription from an NGSI-LD system",
"operationId": "retrieveSubscription", "operationId": "retrieveSubscriptionById",
"tags": ["Context Subscription"], "tags": ["Context Subscription", "Subscriptions"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/subscriptionId" "$ref": "#/components/parameters/subscriptionId"
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
"patch": { "patch": {
"description": "Updates a specific Subscription within an NGSI-LD system", "description": "Updates a specific Subscription within an NGSI-LD system",
"operationId": "updateSubscription", "operationId": "updateSubscription",
"tags": ["Context Subscription"], "tags": ["Context Subscription", "Subscriptions"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/subscriptionId" "$ref": "#/components/parameters/subscriptionId"
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
"delete": { "delete": {
"description": "Removes a specific Subscription from an NGSI-LD system", "description": "Removes a specific Subscription from an NGSI-LD system",
"operationId": "removeSubscription", "operationId": "removeSubscription",
"tags": ["Context Subscription"], "tags": ["Context Subscription", "Subscriptions"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/subscriptionId" "$ref": "#/components/parameters/subscriptionId"
......
...@@ -24,7 +24,8 @@ ...@@ -24,7 +24,8 @@
"description": "Retrieves the subscriptions available in an NGSI-LD system", "description": "Retrieves the subscriptions available in an NGSI-LD system",
"operationId": "retrieveSubscriptions", "operationId": "retrieveSubscriptions",
"tags": [ "tags": [
"Context Subscription" "Context Subscription",
"Subscriptions"
], ],
"parameters": [ "parameters": [
{ {
...@@ -63,7 +64,8 @@ ...@@ -63,7 +64,8 @@
"description": "Creates a new Subscription within an NGSI-LD system", "description": "Creates a new Subscription within an NGSI-LD system",
"operationId": "createSubscription", "operationId": "createSubscription",
"tags": [ "tags": [
"Context Subscription" "Context Subscription",
"Subscriptions"
], ],
"requestBody": { "requestBody": {
"required": true, "required": true,
......
...@@ -74,34 +74,34 @@ ...@@ -74,34 +74,34 @@
"get": { "get": {
"description": "Query temporal evolution of Entities from an NGSI-LD system", "description": "Query temporal evolution of Entities from an NGSI-LD system",
"operationId": "queryTemporalEntities", "operationId": "queryTemporalEntities",
"tags": ["Temporal Evolution"], "tags": ["Temporal Evolution", "Temporal"],
"parameters": [ "parameters": [
{ {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/id" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entities-spec.json#/components/parameters/id"
}, },
{ {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/idPattern" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entities-spec.json#/components/parameters/idPattern"
}, },
{ {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/type" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entities-spec.json#/components/parameters/type"
}, },
{ {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/attrs" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entities-spec.json#/components/parameters/attrs"
}, },
{ {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/q" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entities-spec.json#/components/parameters/q"
}, },
{ {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/georel" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entities-spec.json#/components/parameters/georel"
}, },
{ {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/geometry" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entities-spec.json#/components/parameters/geometry"
}, },
{ {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/coordinates" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entities-spec.json#/components/parameters/coordinates"
}, },
{ {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/geoproperty" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entities-spec.json#/components/parameters/geoproperty"
}, },
{ {
"$ref": "#/components/parameters/timerel" "$ref": "#/components/parameters/timerel"
...@@ -116,10 +116,10 @@ ...@@ -116,10 +116,10 @@
"$ref": "#/components/parameters/endTime" "$ref": "#/components/parameters/endTime"
}, },
{ {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/csf" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entities-spec.json#/components/parameters/csf"
}, },
{ {
"$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/limit" "$ref": "https://forge.etsi.org/rep/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities/entities-spec.json#/components/parameters/limit"
}, },
{ {
"$ref": "#/components/parameters/options" "$ref": "#/components/parameters/options"
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
"post": { "post": {
"description": "Create or update temporal representation of an Entity within an NGSI-LD system", "description": "Create or update temporal representation of an Entity within an NGSI-LD system",
"operationId": "createUpdateEntityTemporal", "operationId": "createUpdateEntityTemporal",
"tags": ["Temporal Evolution"], "tags": ["Temporal Evolution", "Temporal"],
"requestBody": { "requestBody": {
"required": true, "required": true,
"content": { "content": {
......