We will create a card that will show us the latest value from one of our devices posting data to the Time Series service.
To create a card, you should run a POST query via POSTMAN. The POST query should be linked to the following URL: https://predix-views.run.aws-usw02-pr.ice.predix.io/api/cards. Its headers should be as shown here:
Content-Type:application/jsonAuthorization:Bearer LONG_TOKENPredix-Zone-Id:b3e07566-273f-4d1e-85ce-a5d4b2632a27
The body of the query should contain the following:
[{ "title": "Current value", "slug": "device-card", "attributes": { "name": "sensor1:variable1", "device": "/device/raspberry" }}]
To get the LONG_TOKEN for authorization, use the uaac context command described in the Developing your ...