Description
demo
demo
| Measurements | Blood Sugar |
|---|
You are not logged in
{
"@context": ["https://www.w3.org/2019/wot/td/v1"],
"title": "Broker service",
"description": "Broker service para la gestion de multiples recursos",
"base": "http://gatekeeper.lst.tfo.upm.es",
"security": ["oauth2_sc"],
"securityDefinitions": {
"oauth2_sc": {
"scheme": "oauth2",
"authorizationUrl": "http://gatekeeper.lst.tfo.upm.es:32030/auth/realms/thing-management-system/account",
"flow": "code"
}
},
"properties": {
"info": {
"title": "Information about broker service",
"description": "Informacion sobre el broker service",
"output": {
"@type": "Thing"
},
"forms": [
{
"op": "readproperty",
"href": "http://gatekeeper.lst.tfo.upm.es",
"htv:methodName": "GET"
}
]
},
"servicesList": {
"title": "Services list",
"description": "Lista de servicios",
"@type": "jsonschema:ArraySchema",
"output": {
"@type": "Thing"
},
"forms": [
{
"op": "readproperty",
"href": "http://gatekeeper.lst.tfo.upm.es/b/broker",
"htv:methodName": "GET",
"security": ["oauth2_sc"]
}
]
},
"servicesCount": {
"title": "Services count",
"description": "Servicios disponibles",
"output": {
"type": "xsd:integer"
},
"forms": [
{
"op": "readproperty",
"href": "http://gatekeeper.lst.tfo.upm.es/b/broker/count",
"htv:methodName": "GET",
"security": ["oauth2_sc"]
}
]
},
"getServiceById": {
"title": "Service by id",
"description": "Obtener un servicio segun su id",
"uriVariables": {
"id": {
"type": "string"
}
},
"output": {
"@type": "Thing"
},
"forms": [
{
"op": "readproperty",
"href": "http://gatekeeper.lst.tfo.upm.es/b/broker/{id}}",
"htv:methodName": "GET",
"security": ["oauth2_sc"]
}
]
}
},
"actions": {
"auth": {
"title": "Authentication",
"description": "Access this endpoint to authenticate",
"forms": [
{
"op": "invokeaction",
"href": "http://gatekeeper.lst.tfo.upm.es/auth/realms/thing-management-system/account",
"htv:methodName": "GET"
}
]
},
"newService": {
"title": "New service",
"description": "Nuevo servicio",
"@type": "Thing",
"forms": [
{
"op": "invokeaction",
"href": "http://gatekeeper.lst.tfo.upm.es/b/broker",
"htv:methodName": "POST",
"security": ["oauth2_sc"]
}
]
},
"updateService": {
"title": "Update service",
"description": "Actualizar servicio",
"@type": "Thing",
"forms": [
{
"op": "invokeaction",
"href": "http://gatekeeper.lst.tfo.upm.es/b/broker",
"htv:methodName": "PATCH",
"security": ["oauth2_sc"]
}
]
},
"updateServiceById": {
"title": "Update service",
"description": "Actualizar servicio",
"@type": "Thing",
"uriVariables": {
"id": {
"type": "string"
}
},
"forms": [
{
"op": "invokeaction",
"href": "http://gatekeeper.lst.tfo.upm.es/b/broker/{id}",
"htv:methodName": "PATCH",
"security": ["oauth2_sc"]
}
]
},
"putServiceById": {
"title": "Put service",
"description": "Actualizar servicio segun nueva informacion",
"@type": "Thing",
"uriVariables": {
"id": {
"type": "string"
}
},
"forms": [
{
"op": "invokeaction",
"href": "http://gatekeeper.lst.tfo.upm.es/b/broker/{id}",
"htv:methodName": "PUT",
"security": ["oauth2_sc"]
}
]
},
"deleteServiceById": {
"title": "Delete service",
"description": "Eliminar servicio segun su id",
"uriVariables": {
"id": {
"type": "string"
}
},
"forms": [
{
"op": "invokeaction",
"href": "http://gatekeeper.lst.tfo.upm.es/b/broker/{id}",
"htv:methodName": "DEL",
"security": ["oauth2_sc"]
}
]
}
}
} Got a question? Ask The GK Virtual Agent
Reviews
There are no reviews yet.