Function and Rule Creation
Note
This guide will walk through the steps to configure custom functions and rules to process metrics from deployed sensors (including custom sensors) in the client tenant running in cloud. As of Release 2023.05.v01, the Pulse Platform also has a UI to create custom functions and rules.
Generating the API Security Token
All API endpoints to the Pulse Platform tenant for the client are secured using an API token that can be generated using the credentials to login to the Pulse Dashboard (emailid + password).
Use a REST client (ex: Postman/ARC/cURL) to initiate a request:
- Request Type: POST
- URI: (api-URL)/auth/login
- Request Body:
- Content-type: application/json
- Response (success):
- Response (failure):
Use the TOKEN from step 5. above to authenticate requests for API operations.
Expiry
TOKEN generated is expired in 8 hours from the time of creation
Usage
The API token generated needs to be sent as a Header Param to Rest API requests.
- Security Header Param: