asset-controller
Make asset publicly available (assignAssetToPublicCustomer)
Asset will be available for non-authorized (not logged-in) users. This is useful to create dashboards that you plan to share/embed on a publicly available website. However, users that are logged-in and belong to different tenant will not be able to access the asset.
Available for users with 'TENANT_ADMIN' authority.
post/api/customer/public/asset/{assetId}
Path parameters
assetIdstring required
A string value representing the asset id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
Response
OK
Example response
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "ASSET"
},
"createdTime": 1609459200000,
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"customerId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "CUSTOMER"
},
"name": "Empire State Building",
"type": "Building",
"label": "NY Building",
"assetProfileId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "ASSET_PROFILE"
},
"additionalInfo": {}
}