Retrieve links between assets and users
GEThttps://demo.openremote.io/api/master/asset/user/link
Retrieve links between assets and users
Request
Query Parameters
realm string
userId string
assetId string
Header Parameters
Authorization string
X-Forwarded-Proto string
X-Forwarded-Host string
Responses
- default
default response
- application/json
- Schema
- Example (auto)
Schema
- Array [
- ]
id object
createdOndate-time
assetNamestring
parentAssetNamestring
userFullNamestring
[
{
"id": {
"realm": "string",
"userId": "string",
"assetId": "string"
},
"createdOn": "2024-07-29T15:51:28.071Z",
"assetName": "string",
"parentAssetName": "string",
"userFullName": "string"
}
]
Authorization: oauth2
name: openidtype: oauth2flows: {
"clientCredentials": {
"tokenUrl": "/auth/realms/master/protocol/openid-connect/token",
"refreshUrl": "/auth/realms/master/protocol/openid-connect/token",
"scopes": {
"profile": "profile"
}
},
"authorizationCode": {
"authorizationUrl": "/auth/realms/master/protocol/openid-connect/auth",
"tokenUrl": "/auth/realms/master/protocol/openid-connect/token",
"refreshUrl": "/auth/realms/master/protocol/openid-connect/token",
"scopes": {
"profile": "profile"
}
}
}
- curl
- nodejs
- java
- python
- ruby
- csharp
- go
- php
- powershell
- CURL
curl -L 'https://demo.openremote.io/api/master/asset/user/link' \
-H 'Authorization: Bearer <token>'
ResponseClear