Description
Transform OpenAPI/ThingDescriptor
Transform OpenAPI/ThingDescriptor
| Domain | Health |
|---|
You are not logged in
{
"internal_id": "mrIwxNYh",
"@context": "https://www.w3.org/2022/wot/td/v1.1",
"title": "Developer Portal",
"description": "Transform OpenApi/Thing Descriptor",
"properties": {
"learningMaterials": {
"forms": [
{
"op": "readproperty",
"href": "https://gatekeeper.lst.tfo.upm.es/tms/learning-materials",
"contentType": "application/json",
"security": [
"bearer_sc"
]
},
{
"op": "writeproperty",
"href": "https://gatekeeper.lst.tfo.upm.es/tms/learning-materials",
"contentType": "application/json",
"security": [
"bearer_sc"
]
}
]
},
"thingDescriptor": {
"uriVariables": {
"thing_id": {
"title": "thing_id",
"description": "TMS Thing descriptor id",
"type": "string"
}
},
"forms": [
{
"op": "readproperty",
"href": "https://gatekeeper.lst.tfo.upm.es/tms/broker",
"contentType": "application/json",
"security": [
"bearer_sc"
]
},
{
"op": "readproperty",
"href": "https://gatekeeper.lst.tfo.upm.es/tms/broker/{thing_id}",
"contentType": "application/json",
"security": [
"bearer_sc"
]
},
{
"op": "writeproperty",
"href": "https://gatekeeper.lst.tfo.upm.es/tms/broker",
"contentType": "application/json",
"security": [
"bearer_sc"
]
}
]
},
"thingDescriptorMetaData": {
"forms": [
{
"op": "readproperty",
"href": "https://gatekeeper.lst.tfo.upm.es/tms/metadata",
"contentType": "application/json",
"security": [
"bearer_sc"
]
},
{
"op": "writeproperty",
"href": "https://gatekeeper.lst.tfo.upm.es/tms/metadata",
"contentType": "application/json",
"security": [
"bearer_sc"
]
}
]
},
"userMetadata": {
"uriVariables": {
"user_id": {
"title": "user_id",
"description": "WoT transformation tests direction",
"type": "string"
}
},
"forms": [
{
"op": "readproperty",
"href": "https://gatekeeper.lst.tfo.upm.es/tms/user-metadata/{user_id}",
"contentType": "application/json",
"security": [
"bearer_sc"
]
},
{
"op": "writeproperty",
"href": "https://gatekeeper.lst.tfo.upm.es/tms/user-metadata/{user_id}",
"contentType": "application/json",
"security": [
"bearer_sc"
]
}
]
}
},
"actions": {
"addLearningMaterial": {
"input": {
"type": "object",
"required": [
"true"
],
"title": "Thing Metadata"
},
"forms": [
{
"op": "invokeaction",
"href": "https://gatekeeper.lst.tfo.upm.es/tms/learning-materials",
"contentType": "application/json",
"security": [
"bearer_sc"
]
}
]
},
"addThingDescriptor": {
"input": {
"type": "object",
"required": [
"true"
],
"title": "Thing Metadata"
},
"forms": [
{
"op": "invokeaction",
"href": "https://gatekeeper.lst.tfo.upm.es/tms/broker",
"contentType": "application/json",
"security": [
"bearer_sc"
]
}
]
},
"addThingDescriptorMetaData": {
"input": {
"type": "object",
"required": [
"true"
],
"title": "Thing Metadata"
},
"forms": [
{
"op": "invokeaction",
"href": "https://gatekeeper.lst.tfo.upm.es/tms/td-metadata",
"contentType": "application/json",
"security": [
"bearer_sc"
]
}
]
},
"fileUploadService": {
"input": {
"type": "string",
"required": [
"true"
],
"contentMediaType": "image/png"
},
"forms": [
{
"op": "invokeaction",
"href": "https://gatekeeper.lst.tfo.upm.es/dev-files/files",
"contentType": "multipart/form-data",
"security": [
"bearer_sc"
]
}
]
},
"auth": {
"input": {
"type": "object",
"required": [
"true"
],
"properties": {
"username": {
"type": "string"
},
"password": {
"type": "string"
},
"grant_type": {
"type": "string"
},
"client_id": {
"type": "string"
}
}
},
"forms": [
{
"op": "invokeaction",
"href": "https://gatekeeper.lst.tfo.upm.es/auth/realms/gatekeeper/protocol/openid-connect/token",
"contentType": "application/x-www-form-urlencoded"
}
]
}
},
"security": [
"bearer_sc"
],
"securityDefinitions": {
"bearer_sc": {
"scheme": "bearer",
"in": "header",
"format": "jwt",
"alg": "ES256",
"authorization": "https://gatekeeper.lst.tfo.upm.es/auth/realms/gatekeeper/protocol/openid-connect/token/"
}
}
} Got a question? Ask The GK Virtual Agent
Reviews
There are no reviews yet.