openapi: 3.0.3
info: { title: TIIX Perms API — Perms.Overrides, version: v1.0.0 }
servers: [ { url: /adm/api } ]
paths:
  /Perms.TeamOverrides/list:
    post:
      summary: Lista overrides da equipe
      responses:
        "200":
          description: OK
          content: { application/json: { schema: { $ref: '#/components/schemas/DefaultResponse' } } }
  /Perms.TeamOverrides/add:
    post:
      summary: Adiciona override da equipe
      responses:
        "200":
          description: OK
          content: { application/json: { schema: { $ref: '#/components/schemas/DefaultResponse' } } }
  /Perms.TeamOverrides/remove:
    post:
      summary: Remove override da equipe
      responses:
        "200":
          description: OK
          content: { application/json: { schema: { $ref: '#/components/schemas/DefaultResponse' } } }
  /Perms.UserOverrides/list:
    post:
      summary: Lista overrides do usuário
      responses:
        "200":
          description: OK
          content: { application/json: { schema: { $ref: '#/components/schemas/DefaultResponse' } } }
  /Perms.UserOverrides/add:
    post:
      summary: Adiciona override do usuário
      responses:
        "200":
          description: OK
          content: { application/json: { schema: { $ref: '#/components/schemas/DefaultResponse' } } }
  /Perms.UserOverrides/remove:
    post:
      summary: Remove override do usuário
      responses:
        "200":
          description: OK
          content: { application/json: { schema: { $ref: '#/components/schemas/DefaultResponse' } } }
components:
  schemas:
    DefaultResponse:
      type: object
      properties: { erro: {type: integer}, msg: {type: string}, data: {type: object}, id: {type: integer} }
