Get folders/files under a folder
Changed onReturns a list of sub folders and files under a specified folder of a matter.
The parentId and name properties of the response describe the requested folder itself, not its children. A deleted folder is still returned, with isDeleted: true and an empty listing.
Folders are listed before files. Paging applies across the combined list: offset defaults to 0 and limit defaults to the maximum page size (PagingOptions.MaxPageSize). Deleted sub folders and deleted files are excluded.
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.
Query parameters
Response
When request is successful. Returns a paged collection of 'FolderListing' objects.
Example response
{
"value": [
{
"folders": [
{
"id": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
"parentId": "750eb5c5-ac0b-7d11-4997-e0ce9d8896c8",
"name": "Property Documents"
}
],
"files": [
{
"id": "b471682e-fa17-4e46-b7fe-9b2b8fdcb3c2",
"versionId": "0f8fad5b-d9cb-469f-a165-70867728950e",
"name": "court filing",
"fileExtension": ".pdf",
"ownerId": "750eb5c5-ac0b-7d11-4997-e0ce9d8896c8",
"to": "recipient@email.com",
"from": "sender@email.com",
"dateCreated": "2022-04-23T14:00:00Z",
"dateModified": "2022-04-25T17:00:00Z",
"sizeBytes": 19104768,
"additionalData": {
"source": "Outlook",
"pageCount": 12,
"isSigned": true
}
}
]
}
],
"parentId": "750eb5c5-ac0b-7d11-4997-e0ce9d8896c8",
"name": "Property Documents"
}Changes
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
////to the response with the status
- info