logo SLA TOOLS

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 or application/x-yaml
  • Accept application/json
Query params
  • url URL where to retrieve the SLA document.
  • style Style for the document default or swagger-ui
POST
https://sla.metadev.pro/api/validationurl=url
Headers
  • Content-Type application/json or application/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 or application/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 documentation default or swagger-ui
Headers
  • Content-Type application/json or application/x-yaml
  • Accept application/json
POST
https://sla.metadev.pro/api/document?style=style
Query params
  • ?style default or swagger-ui
Headers
  • Content-Type application/json or application/x-yaml
  • Accept application/json
Payload
The content of your file.
Are you a robot (🤖) and preffer a machine-friendly descriptions? No problem, here:
  • GET
    https://sla.metadev.pro/openapi.json for our raw OpenAPI definition as JSON.
  • GET
    https://sla.metadev.pro/openapi.yaml for our raw OpenAPI definition as YAML.
  • GET
    https://sla.metadev.pro/sla.json for our SLA contract as JSON.
  • GET
    https://sla.metadev.pro/sla.yaml for our SLA contract as YAML.