OpenAPI spec for rest framework in yaml format - Eraikun/rejected_aplusplusapp GitHub Wiki
openapi: 3.0.2 info:
title: '' version: ''
- paths:
-
- /api/:
-
- get:
-
operationId: listApiOverviews description: '' parameters: [] responses:
- '200':
-
- content:
-
- application/json:
-
- schema:
- type: array items: {}
description: ''
tags: - api
- /api/employees/:
-
- get:
-
operationId: listview_employees description: '' parameters: [] responses:
- '200':
-
- content:
-
- application/json:
-
- schema:
- type: array items: {}
description: ''
tags: - api
- /api/team/:
-
- get:
-
operationId: listview_teams description: '' parameters: [] responses:
- '200':
-
- content:
-
- application/json:
-
- schema:
- type: array items: {}
description: ''
tags: - api
- /api/work_arrangements/:
-
- get:
-
operationId: listview_was description: '' parameters: [] responses:
- '200':
-
- content:
-
- application/json:
-
- schema:
- type: array items: {}
description: ''
tags: - api
- /api/teammember/:
-
- get:
-
operationId: listview_members description: '' parameters: [] responses:
- '200':
-
- content:
-
- application/json:
-
- schema:
- type: array items: {}
description: ''
tags: - api
- /api/teamleader/:
-
- get:
-
operationId: listview_leaders description: '' parameters: [] responses:
- '200':
-
- content:
-
- application/json:
-
- schema:
- type: array items: {}
description: ''
tags: - api
- /api/create/:
-
- post:
-
operationId: createadd_employee description: '' parameters: [] requestBody:
- content:
-
- application/json:
- schema: {}
- application/x-www-form-urlencoded:
- schema: {}
- multipart/form-data:
- schema: {}
- responses:
-
- '201':
-
- content:
-
- application/json:
- schema: {}
description: ''
tags: - api
- /api/update_employee/{id}/:
-
- post:
-
operationId: createupdate_employee description: '' parameters: - name: id
in: path required: true description: '' schema:
type: string
- requestBody:
-
- content:
-
- application/json:
- schema: {}
- application/x-www-form-urlencoded:
- schema: {}
- multipart/form-data:
- schema: {}
- responses:
-
- '201':
-
- content:
-
- application/json:
- schema: {}
description: ''
tags: - api
- /api/create_team/:
-
- post:
-
operationId: createcreate_team description: '' parameters: [] requestBody:
- content:
-
- application/json:
- schema: {}
- application/x-www-form-urlencoded:
- schema: {}
- multipart/form-data:
- schema: {}
- responses:
-
- '201':
-
- content:
-
- application/json:
- schema: {}
description: ''
tags: - api
- /api/update_team/{id}/:
-
- post:
-
operationId: createupdate_team description: '' parameters: - name: id
in: path required: true description: '' schema:
type: string
- requestBody:
-
- content:
-
- application/json:
- schema: {}
- application/x-www-form-urlencoded:
- schema: {}
- multipart/form-data:
- schema: {}
- responses:
-
- '201':
-
- content:
-
- application/json:
- schema: {}
description: ''
tags: - api
- /api/create_wa/:
-
- post:
-
operationId: createcreate_wa description: '' parameters: [] requestBody:
- content:
-
- application/json:
- schema: {}
- application/x-www-form-urlencoded:
- schema: {}
- multipart/form-data:
- schema: {}
- responses:
-
- '201':
-
- content:
-
- application/json:
- schema: {}
description: ''
tags: - api
- /api/update_wa/{id}/:
-
- post:
-
operationId: createupdate_wa description: '' parameters: - name: id
in: path required: true description: '' schema:
type: string
- requestBody:
-
- content:
-
- application/json:
- schema: {}
- application/x-www-form-urlencoded:
- schema: {}
- multipart/form-data:
- schema: {}
- responses:
-
- '201':
-
- content:
-
- application/json:
- schema: {}
description: ''
tags: - api
- /api/create_member/:
-
- post:
-
operationId: createcreate_member description: '' parameters: [] requestBody:
- content:
-
- application/json:
- schema: {}
- application/x-www-form-urlencoded:
- schema: {}
- multipart/form-data:
- schema: {}
- responses:
-
- '201':
-
- content:
-
- application/json:
- schema: {}
description: ''
tags: - api
- /api/update_member/{id}/:
-
- post:
-
operationId: createupdate_member description: '' parameters: - name: id
in: path required: true description: '' schema:
type: string
- requestBody:
-
- content:
-
- application/json:
- schema: {}
- application/x-www-form-urlencoded:
- schema: {}
- multipart/form-data:
- schema: {}
- responses:
-
- '201':
-
- content:
-
- application/json:
- schema: {}
description: ''
tags: - api
- /api/create_leader/:
-
- post:
-
operationId: createcreate_leader description: '' parameters: [] requestBody:
- content:
-
- application/json:
- schema: {}
- application/x-www-form-urlencoded:
- schema: {}
- multipart/form-data:
- schema: {}
- responses:
-
- '201':
-
- content:
-
- application/json:
- schema: {}
description: ''
tags: - api
- /api/update_leader/{id}/:
-
- post:
-
operationId: createupdate_leader description: '' parameters: - name: id
in: path required: true description: '' schema:
type: string
- requestBody:
-
- content:
-
- application/json:
- schema: {}
- application/x-www-form-urlencoded:
- schema: {}
- multipart/form-data:
- schema: {}
- responses:
-
- '201':
-
- content:
-
- application/json:
- schema: {}
description: ''
tags: - api
- /api/employee/{id}/delete/:
-
- delete:
-
operationId: destroydelete_employee description: '' parameters: - name: id
in: path required: true description: '' schema:
type: string
- responses:
-
- '204':
- description: ''
tags: - api
- /api/team/{id}/delete/:
-
- delete:
-
operationId: destroydelete_team description: '' parameters: - name: id
in: path required: true description: '' schema:
type: string
- responses:
-
- '204':
- description: ''
tags: - api
- /api/work_arrangements/{id}/delete/:
-
- delete:
-
operationId: destroydelete_wa description: '' parameters: - name: id
in: path required: true description: '' schema:
type: string
- responses:
-
- '204':
- description: ''
tags: - api
- /api/teammember/{id}/delete/:
-
- delete:
-
operationId: destroydelete_member description: '' parameters: - name: id
in: path required: true description: '' schema:
type: string
- responses:
-
- '204':
- description: ''
tags: - api
- /api/teamleader/{id}/delete/:
-
- delete:
-
operationId: destroydelete_leader description: '' parameters: - name: id
in: path required: true description: '' schema:
type: string
- responses:
-
- '204':
- description: ''
tags: - api