Gremlin reliability-management API

API to access resources for reliability management

OpenAPI Specification

gremlin-reliability-management-api-openapi.yml Raw ↑
openapi: 3.0.1
info:
  title: Gremlin agents reliability-management API
  description: The API for interacting with the Gremlin Failure-as-a-Service platform
  termsOfService: https://www.gremlin.com/terms_of_service_2017_03_24
  contact:
    name: Gremlin Support
    email: support@gremlin.com
  license:
    name: Gremlin License
    url: https://www.gremlin.com/license_2017_03_24
  version: '1.0'
servers:
- url: https://api.gremlin.com/v1
  description: Gremlin API v1
tags:
- name: reliability-management
  description: API to access resources for reliability management
paths:
  /reliability-management/services/{serviceId}:
    get:
      tags:
      - reliability-management
      summary: Loads the service details and score
      description: Requires the privilege [`SERVICES_READ`](https://www.gremlin.com/docs/user-management/access-control/#privileges)
      operationId: getServiceDetails
      parameters:
      - name: serviceId
        in: path
        required: true
        schema:
          type: string
      - name: teamId
        in: query
        description: Required when using company session token.
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceResponse'
        '403':
          description: 'User requires privilege for target team: SERVICES_READ'
        '401':
          description: Authorization header missing or malformed. Please provide proper credentials in the authorization header.
      security:
      - privilege:
        - SERVICES_READ
components:
  schemas:
    ServiceResponse:
      type: object
      properties:
        serviceId:
          type: string
        serviceName:
          type: string
        score:
          type: number
          format: double