Skip to main content

FileFolderResponse

@gravity-rail/sdk


@gravity-rail/sdk / FileFolderResponse

Interface: FileFolderResponse

Response model for file directory endpoints.

Flat representation — no nested parent/children/files. Use separate endpoints to list children (GET /folders?parent_id=X) and files (GET /files?folder_id=X).

Properties​

access?​

optional access: string


ancestors?​

optional ancestors: FolderPathSegment[]


childCount?​

optional childCount: number


createdAt​

createdAt: string


description?​

optional description: string | null


fileCount?​

optional fileCount: number


id​

id: number


index?​

optional index: boolean


indexingCompletedAt?​

optional indexingCompletedAt: string | null


indexingStartedAt?​

optional indexingStartedAt: string | null


name​

name: string


ownerId?​

optional ownerId: number | null


ownerName?​

optional ownerName: string | null


parentId?​

optional parentId: number | null


path?​

optional path: string | null


shareable?​

optional shareable: boolean


updatedAt​

updatedAt: string


uuid​

uuid: string