Wattyo API
Introduction
The Wattyo Api help us to externalize some functionalities related with the composer. We need some functionalities to generate charts, images and shortify urls
Methods
Shortify
- ShortifyURL: this a POST method that get an url and create a short url.
- Inputs:
- URL
- Outputs:
- URL
- key
- ResolveURL: This a get method. As input parameter we send the key generated in the previous methed and the method redirects to the original url sended on the previous method.
Sequential
-
HealthCheck: This is a GET method that verifies if the API is active.
- Inputs: None
- Outputs:
- Status message (“I’m alive!”)
-
CreateSequential: This is a POST method to create a new sequence.
- Inputs:
- name
- startValue
- incrementValue
- maxValue
- mask
- cyclic
- lastAssignedDate
- x-api-key (header)
- Outputs:
- Result message
-
GetNextSequential: This is a GET method to get the next value(s) of a sequence.
- Inputs:
- name (query param)
- count (optional query param)
- x-api-key (header)
- Outputs:
- List of sequential values
Authentication
The integration is based on api-key authentication. And the credentials are stored using External Credentials
The API Key for the Security Review process are:
API KEY
Uu2xF6vuka6HRvIDqjgyk3NTpdxDQ03HazL3E4AX