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-Typeapplication/jsonorapplication/x-yaml Acceptapplication/json
Query params
-
urlURL where to retrieve the SLA document. -
styleStyle for the documentdefaultorswagger-ui
POST
https://sla.metadev.pro/api/validationurl=url
Headers
-
Content-Typeapplication/jsonorapplication/x-yaml Acceptapplication/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
-
urlURL of a valid SLA document in JSON or YAML.
POST
https://sla.metadev.pro/api/validation-badge
Headers
-
Content-Typeapplication/jsonorapplication/x-yaml Acceptapplication/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
-
urlURL where to retrieve the SLA document. -
?styleStyle for the documentationdefaultorswagger-ui
Headers
-
Content-Typeapplication/jsonorapplication/x-yaml Acceptapplication/json
POST
https://sla.metadev.pro/api/document?style=style
Query params
-
?styledefaultorswagger-ui
Headers
-
Content-Typeapplication/jsonorapplication/x-yaml Acceptapplication/json
Payload
The content of your file.
Are you a robot (🤖) and preffer a machine-friendly descriptions? No
problem, here: