REST API
Service Level Agreement Manager (SLAM) exposes an interface for programmatic use in order to integrate other Indigo Data Cloud components. This documentation specifies the usage of REST API through HTTP protocol.
Resource sla
Endpoints
list:
<slam-url>/sla
retrieve:
<slam-url>/sla/<id>
Methods
GET
Parameters
customer - identifier of a customer (comma separated values allowed),
provider - identifier of a provider (comma separated values allowed),
date - SLAs active at date (URL encoded time - refer to ISO 8601 standard) - when not set current time is assumed,
ids - comma separated identifiers,
service_type - service type enumeration (comma separated values allowed - OR logical operator applied)
Response format
Request examples
list
https:/<slam_api_domain>/sla/
retrieve
https://<slam_api_domain>/sla/sla_1
filter used (SLAs for customer123 active at current time)
https://<slam_api_domain>/sla?customer=customer123
filter used (SLAs for provider123 active at given time)
https://<slam_api_domain>/sla?provider=provider123&date=2016-02-24T14%3A23%3A10Z
filter used (SLAs with ids - useful for combining with preferences resource response)
https://<slam_api_domain>/sla?ids=sla_1,sla_2
Response example:
Resource preferences
Endpoints
list:
<slam-url>/preferences
retrieve:
<slam-url>/preferences/<customer_id>
Methods
GET
Parameters
none
Response format
Request examples
list preferences for two user active at date
<slam-url>/preferences?customer=12,21&date=2016-02-24T14%3A23%3A10Z
Response example
Last updated