openapi: 3.0.3
info: { title: TIIX Perms API — Perms.Kits, version: v1.0.0 }
servers: [ { url: /adm/api } ]
paths:
  /Perms.Kits/list:
    post:
      summary: Lista kits
      responses:
        "200":
          description: OK
          content: { application/json: { schema: { $ref: '#/components/schemas/DefaultResponse' } } }
  /Perms.Kits/create:
    post:
      summary: Cria kit
      responses:
        "200":
          description: OK
          content: { application/json: { schema: { $ref: '#/components/schemas/DefaultResponse' } } }
  /Perms.Kits/update:
    post:
      summary: Atualiza kit
      responses:
        "200":
          description: OK
          content: { application/json: { schema: { $ref: '#/components/schemas/DefaultResponse' } } }
  /Perms.Kits/delete:
    post:
      summary: Remove kit
      responses:
        "200":
          description: OK
          content: { application/json: { schema: { $ref: '#/components/schemas/DefaultResponse' } } }
  /Perms.Kits/linkNamespace:
    post:
      summary: Associa namespace ao kit
      responses:
        "200":
          description: OK
          content: { application/json: { schema: { $ref: '#/components/schemas/DefaultResponse' } } }
  /Perms.Kits/unlinkNamespace:
    post:
      summary: Remove namespace do kit
      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} }
