Commit b71512d8 authored by canterafonsj's avatar canterafonsj
Browse files

Adding tags

parent 2b188de0
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
"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"],
"parameters": [ "parameters": [
{ {
"$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/id" "$ref": "https://forge.etsi.org/gitlab/NGSI-LD/NGSI-LD/raw/master/spec/updated/entities-spec.json#/components/parameters/id"
...@@ -76,6 +77,7 @@ ...@@ -76,6 +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"],
"requestBody": { "requestBody": {
"required": true, "required": true,
"content": { "content": {
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
"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": "retrieveSubscription",
"tags": ["Context Sources"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/subscriptionId" "$ref": "#/components/parameters/subscriptionId"
...@@ -69,6 +70,7 @@ ...@@ -69,6 +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"]
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/subscriptionId" "$ref": "#/components/parameters/subscriptionId"
...@@ -111,8 +113,9 @@ ...@@ -111,8 +113,9 @@
} }
}, },
"delete": { "delete": {
"description": "Removes a specific Subscription from an NGSI-LD system", "description": "Removes a specific Context Source Subscription from an NGSI-LD system",
"operationId": "removeSubscription", "operationId": "removeCSourceSubscription",
"tags": ["Context Sources"]
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/subscriptionId" "$ref": "#/components/parameters/subscriptionId"
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +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"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/limit" "$ref": "#/components/parameters/limit"
...@@ -59,6 +60,7 @@ ...@@ -59,6 +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"]
"requestBody": { "requestBody": {
"required": true, "required": true,
"content": { "content": {
......
...@@ -130,6 +130,7 @@ ...@@ -130,6 +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"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/id" "$ref": "#/components/parameters/id"
...@@ -199,6 +200,7 @@ ...@@ -199,6 +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"]
"requestBody": { "requestBody": {
"required": true, "required": true,
"content": { "content": {
......
...@@ -44,6 +44,7 @@ ...@@ -44,6 +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"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/entityId" "$ref": "#/components/parameters/entityId"
...@@ -101,6 +102,7 @@ ...@@ -101,6 +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"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/entityId" "$ref": "#/components/parameters/entityId"
...@@ -157,6 +159,7 @@ ...@@ -157,6 +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"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/entityId" "$ref": "#/components/parameters/entityId"
...@@ -204,6 +207,7 @@ ...@@ -204,6 +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"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/entityId" "$ref": "#/components/parameters/entityId"
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +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"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/entityId" "$ref": "#/components/parameters/entityId"
...@@ -97,6 +98,7 @@ ...@@ -97,6 +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"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/entityId" "$ref": "#/components/parameters/entityId"
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
"post": { "post": {
"description": "Batch Entity creation", "description": "Batch Entity creation",
"operationId": "batchEntityCreation", "operationId": "batchEntityCreation",
"tags": ["Batch Operations"],
"requestBody": { "requestBody": {
"required": true, "required": true,
"content": { "content": {
...@@ -48,6 +49,7 @@ ...@@ -48,6 +49,7 @@
"post": { "post": {
"description": "Batch Entity update", "description": "Batch Entity update",
"operationId": "batchEntityUpdate", "operationId": "batchEntityUpdate",
"tags": ["Batch Operations"],
"parameters": [ "parameters": [
{ {
"name": "options", "name": "options",
...@@ -99,6 +101,7 @@ ...@@ -99,6 +101,7 @@
"post": { "post": {
"description": "Batch Entity upsert", "description": "Batch Entity upsert",
"operationId": "batchEntityUpsert", "operationId": "batchEntityUpsert",
"tags": ["Batch Operations"],
"parameters": [ "parameters": [
{ {
"name": "options", "name": "options",
...@@ -151,6 +154,7 @@ ...@@ -151,6 +154,7 @@
"post": { "post": {
"description": "Batch Entity delete", "description": "Batch Entity delete",
"operationId": "batchEntityDelete", "operationId": "batchEntityDelete",
"tags": ["Batch Operations"],
"requestBody": { "requestBody": {
"required": true, "required": true,
"content": { "content": {
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
"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": "retrieveSubscription",
"tags": ["Context Subscriptions"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/subscriptionId" "$ref": "#/components/parameters/subscriptionId"
...@@ -69,6 +70,7 @@ ...@@ -69,6 +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": ["Subscriptions"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/subscriptionId" "$ref": "#/components/parameters/subscriptionId"
...@@ -113,6 +115,7 @@ ...@@ -113,6 +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": ["Subscriptions"],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/subscriptionId" "$ref": "#/components/parameters/subscriptionId"
......
...@@ -23,6 +23,9 @@ ...@@ -23,6 +23,9 @@
"get": { "get": {
"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":[
"Subscriptions"
],
"parameters": [ "parameters": [
{ {
"$ref": "#/components/parameters/limit" "$ref": "#/components/parameters/limit"
...@@ -59,6 +62,9 @@ ...@@ -59,6 +62,9 @@
"post": { "post": {
"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":[
"Subscriptions"
],
"requestBody": { "requestBody": {
"required": true, "required": true,
"content": { "content": {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment