Metadev's API for SLA Tools provides the following services
API Version 0.0.4
Validation Service
Validate your SLA document (plans or agreements) as JSON or YAML. Getting a JSON as a result with the errors found if any.
GET
https://sla.metadev.pro/api/validationurl=url
Headers
-
Content-Type
application/json
orapplication/x-yaml
Accept
application/json
Query params
-
url
URL where to retrieve the SLA document. -
style
Style for the documentdefault
orswagger-ui
POST
https://sla.metadev.pro/api/validationurl=url
Headers
-
Content-Type
application/json
orapplication/x-yaml
Accept
application/json
Payload
The content of your file.
Badge Validation Service
Returns a SVG badge with the validation status of the document. Useful for embededing.
GET
https://sla.metadev.pro/api/validation-badge?url=url
Query params
-
url
URL of a valid SLA document in JSON or YAML.
POST
https://sla.metadev.pro/api/validation-badge
Headers
-
Content-Type
application/json
orapplication/x-yaml
Accept
application/json
Payload
The content of your file.
Document Generation Service
Produces a HMTL document for a human-friendly documentation.
GET
https://sla.metadev.pro/api/document?url=url&style=style
Query params
-
url
URL where to retrieve the SLA document. -
?style
Style for the documentationdefault
orswagger-ui
Headers
-
Content-Type
application/json
orapplication/x-yaml
Accept
application/json
POST
https://sla.metadev.pro/api/document?style=style
Query params
-
?style
default
orswagger-ui
Headers
-
Content-Type
application/json
orapplication/x-yaml
Accept
application/json
Payload
The content of your file.
Are you a robot (🤖) and preffer a machine-friendly descriptions? No
problem, here: