latestOpenAPI 3.0.32026-08-19299284712.8 KB

67d9f45bb99b

Library

Update a folder

This is a shortcut class that will include all 6 resourceful actions part of the DRF ViewSets:

  • list()
  • retrieve()
  • create()
  • update()
  • partial_update()
  • destroy()

If you do not want to expose all 6 of these in your ViewSet, then use the CubeAuthenticatedViewSet and add the appropriate mixins to it (see rest_framework.mixins). This will allow the api to behave appropriately and block requests to unprocessable endpoints. Furthermore, it will make the drf_spectacular documentation be generated more easily.

patch/folders/{id}

Path parameters

idstring required

Headers

X-Company-IDstring required

Associates request with company

Request body

idinteger
namestring
company_idstring uuid
namespace'LIBRARY'
  • LIBRARY - Library
parent_idinteger nullable
sharing_schemestring
shared_withstring[]
created_atstring date-time
modified_atstring date-time
item_countinteger

Response

idinteger required
namestring required
company_idstring uuid required
namespace'LIBRARY'
  • LIBRARY - Library
parent_idinteger nullable
sharing_schemestring
shared_withstring[]
created_atstring date-time required
modified_atstring date-time required
item_countinteger required