Patch a folder
Changed onPartially updates a folder belonging to the specified matter. Only the fields supplied in the request are applied.
A deleted folder can be restored by setting isDeleted to false. Only the folder itself is restored; subfolders and files that were deleted remain deleted. Other fields supplied in the same request are applied after the restore.
Request
- Base URLhttps://api.smokeball.com
- URLhttps://api.smokeball.com/matters/{matterId}/documents/folders/{folderId}
- AuthAPI key in header x-api-key and API key in header Authorization
Path parameters
Unique identifier of the matter.
Unique identifier of the folder.
Request body
Example request
{
"name": "Property Documents",
"parentFolderId": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
"userId": "750eb5c5-ac0b-7d11-4997-e0ce9d8896c8"
}Response
When request is accepted. Returns a hypermedia 'Link' object of the folder to be updated.
Changes
- info
added the new optional request property
(media type: application/json-patch+json) - info
added the new optional request property
(media type: application/json) - info
added the new optional request property
(media type: application/*+json) - info
the request property
became nullable (media type: application/json-patch+json) - info
the request property
became nullable (media type: application/json) - info
the request property
became nullable (media type: application/*+json) - info
the request property
became optional (media type: application/json-patch+json) - info
the request property
became optional (media type: application/json) - info
the request property
became optional (media type: application/*+json) - info
the
request property's minLength was decreased from1to0(media type: application/json-patch+json) - info
the
request property's minLength was decreased from1to0(media type: application/json) - info
the
request property's minLength was decreased from1to0(media type: application/*+json)
- info