Directory

Operations for managing files and folders

List Directory

List files and folders within a specified directory

POST

https://dev.officex.app/v1/drive/{organization_id}/directory/list

Run In Postman

chevron-rightHeader Parametershashtag

Authorization (required)

stringBearer TOKEN Bearer token for authentication

Bearer eyJhbGciOiJIUz...

chevron-rightPath Parameterhashtag

organization_id (required)

string (DriveID)

Unique identifier for a drive

DriveID_abc123

chevron-rightRequest Body schemahashtag

folder_id

string or null ID of the folder to list contents from

FolderID_c9107c9a-4f1f-444f-b921-1ebce17cfbf1

path

string or null Path to the folder to list contents from

filters

string <= 256 characters Default: "" Filter string for disks

page_size

integer [ 1 .. 1000 ] Default: 50 Number of items per page

50

direction

string

Default: "ASC"

Enum: "ASC" "DESC"

Sort direction

ASC

cursor

string or null <= 256 characters Cursor for pagination

Responses

chevron-rightsuccesshashtag

chevron-righterrorhashtag

Typescript Types


Directory Actions

Perform actions on files and folders such as get, create, update, delete, copy, move, and restore

POST

chevron-rightHeader Parametershashtag

Authorization (required)

stringBearer TOKEN Bearer token for authentication

Bearer eyJhbGciOiJIUz...

chevron-rightPath Parameterhashtag

organization_id (required)

string (DriveID)

Unique identifier for a drive

DriveID_abc123

chevron-rightRequest Body schemahashtag

actions (required)

Array of objects (DirectoryAction) List of directory actions to execute

Typescript Types

Refer Directory Actions for detailed request body schema

Last updated