add: BaseApiViewMixin created, TODO: switch external endpoints to GenericAPIView and BaseApiViewMixin
This commit is contained in:
@@ -60,8 +60,8 @@ GET /companies/<uuid:pk>/contracts # user # partial
|
||||
- - folder: uuid | None
|
||||
- - status: list[str]
|
||||
|
||||
GET /companies/<uuid:pk>/folders # user #! not working
|
||||
POST /companies/<uuid:pk>/folders # user #! not working
|
||||
GET /companies/<uuid:pk>/folders # user # ok
|
||||
POST /companies/<uuid:pk>/folders # user # ok
|
||||
|
||||
GET /companies/<uuid:pk>/accounts # user # ok
|
||||
POST /companies/<uuid:pk>/accounts # user #! TODO
|
||||
@@ -116,10 +116,9 @@ PATCH /contract-owners/<uuid:pk> # admin # ok
|
||||
|
||||
GET /contract-owners/<uuid:pk>/contract # user # ok | full contract data return
|
||||
|
||||
POST /contract-owners/<uuid:pk>/files # user # ok
|
||||
POST /contract-owners/<uuid:pk>/files # user #! not ok
|
||||
GET /contract-owners/<uuid:pk>/files # user #! not ok | full data return
|
||||
DELETE /contract-owners/<uuid:pk>/files/<uuid:pk> # user # ok
|
||||
<!-- PATCH /contract-owners/<uuid:pk>/files/<uuid:pk> # user -->
|
||||
GET /contract-owners/<uuid:pk>/files # user # not ok | full data return
|
||||
|
||||
POST /contract-owners/<uuid:pk>/files/<uuid:pk>/upload # user # ok
|
||||
|
||||
|
||||
Reference in New Issue
Block a user