swagger: '2.0'
info:
  title: Schrödinger API
  description: Welcome to the Schrödinger API documentation
  termsOfService: https://www.google.com/policies/terms/
  contact:
    email: contact@schrodinger.com
  license:
    name: BSD License
  version: v1
host: api.sdingr.com
schemes:
- https
basePath: /api
consumes:
- application/json
produces:
- application/json
securityDefinitions:
  Basic:
    type: basic
security:
- Basic: []
paths:
  /auth/activate/:
    get:
      operationId: auth_activate_list
      description: ''
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - auth
    post:
      operationId: auth_activate_create
      description: ''
      parameters: []
      responses:
        '201':
          description: ''
      tags:
      - auth
    parameters: []
  /auth/deactivate/:
    delete:
      operationId: auth_deactivate_delete
      description: ''
      parameters: []
      responses:
        '204':
          description: ''
      tags:
      - auth
    parameters: []
  /auth/delete/:
    delete:
      operationId: auth_delete_delete
      description: ''
      parameters: []
      responses:
        '204':
          description: ''
      tags:
      - auth
    parameters: []
  /auth/login/:
    post:
      operationId: auth_login_create
      description: ''
      parameters: []
      responses:
        '201':
          description: ''
      tags:
      - auth
    parameters: []
  /auth/logout-all-devices/:
    post:
      operationId: auth_logout-all-devices_create
      description: ''
      parameters: []
      responses:
        '201':
          description: ''
      tags:
      - auth
    parameters: []
  /auth/logout/:
    post:
      operationId: auth_logout_create
      description: ''
      parameters: []
      responses:
        '201':
          description: ''
      tags:
      - auth
    parameters: []
  /auth/refresh/:
    post:
      operationId: auth_refresh_create
      description: ''
      parameters:
      - name: data
        in: body
        required: true
        schema:
          $ref: '#/definitions/TokenRefresh'
      responses:
        '201':
          description: ''
          schema:
            $ref: '#/definitions/TokenRefresh'
      tags:
      - auth
    parameters: []
  /auth/send-activation-email/:
    post:
      operationId: auth_send-activation-email_create
      description: ''
      parameters: []
      responses:
        '201':
          description: ''
      tags:
      - auth
    parameters: []
  /auth/signup/:
    post:
      operationId: auth_signup_create
      description: ''
      parameters: []
      responses:
        '201':
          description: ''
      tags:
      - auth
    parameters: []
  /grievance/:
    post:
      operationId: grievance_create
      description: ''
      parameters: []
      responses:
        '201':
          description: ''
      tags:
      - grievance
    parameters: []
  /grievance/{grievance_id}/evidence/:
    post:
      operationId: grievance_evidence_create
      description: ''
      parameters: []
      responses:
        '201':
          description: ''
      consumes:
      - multipart/form-data
      tags:
      - grievance
    parameters:
    - name: grievance_id
      in: path
      required: true
      type: string
  /health/:
    get:
      operationId: health_list
      description: ''
      parameters: []
      responses:
        '200':
          description: ''
      tags:
      - health
    parameters: []
definitions:
  TokenRefresh:
    required:
    - refresh
    type: object
    properties:
      refresh:
        title: Refresh
        type: string
        minLength: 1
      access:
        title: Access
        type: string
        readOnly: true
        minLength: 1
