-
Notifications
You must be signed in to change notification settings - Fork 1
Asset API
The Predix SDK for iOS Asset API allows your application to access Asset data from the Asset Service available on Predix.io. The SDK provides a simple native Swift API that converts Asset JSON requests and responses into Swift models that make it easier to use, display, and manipulate Asset data from Swift.
- Predix SDK for iOS handles authentication with Asset, you simply need to provide the UAA endpoint and Zone ID.
- Request data using native Swift objects.
- Response data is represented with native Swift objects making it easier to filter, display, and find data that is most critical to your application.
-
How do I get the SDK to work with my Asset Service protected by UAA?
- The SDK will use the bearer token obtained from the AuthenticationManager to communicate with the Asset Service.
-
How do I get the SDK and Asset to work with a user token (Password Grant type)?
-
You need to add the Asset Service zone to client authorities and the group for the user(s) you want to have access the Asset Service via the SDK.
-
Your UAA client and user(s) group will look something like the images below.
-
-
-
Please consult the UAA and Asset service documentation for more details.
-
- Visit the How-to guides
- Check out the Asset API documentation
Getting Started Guides
Features
How-To Guides:
- Using Authentication API to Authenticate a User
- Using Online API to make Network Requests
- Using Time Serires API to Fetch Time Series Data
- Disable Usage Analytic tracking
API Documentation: