Device role controller

Get access rules based on the Vendor ID

GET
/api/v1/device-roles/vendor

This API allows the user to get the access control rules defined for them.

Authorization

thingspace_oauth sessionToken
AuthorizationBearer <token>

This is the ThingSpace token, from Credentials and Tokens is used

In: header

SessionToken<token>

This is the Session/M2M token needed to authenticate the user. It should be acquired by using the ThingSpace APIs. For detail on how to obtain a Session/M2M token please refer to the

In: header

Query Parameters

VendorID*string

The user's Vendor ID

Match^[a-zA-Z0-9]+$
Length1 <= length <= 64

Response Body

application/json

text/plain

text/plain

text/plain

text/plain

text/plain

text/plain

curl -X GET "https://example.com/api/v1/device-roles/vendor?VendorID=TestVendor"
[  {    "name": "ts.device.mqtt.imp:Software.Application.TestVendor",    "subscribeLimit": 50,    "publishRateLimit": 15,    "publish": [      "vzimp/1/GeoRelevance/Vehicle/Bus/TestVendor/j2735_gr/BSM"    ],    "subscribe": [      "vzimp/1/GeoRelevance/Vehicle/Bus/TestVendor/j2735_gr/MAP/*"    ]  }]