getFileDescriptor( )


Gets information about the specified file in the Media Manager.

The getFileDescriptor() function returns a Promise that resolves to the specified file's descriptor.

Use getFileDescriptors() to get multiple file descriptors at once.

Admin Method

This function requires elevated permissions and runs only on the backend and on dashboard pages.

Permission Scopes

For app development, you must have one of the following permission scopes:
Manage Bookings Services and Settings
Read Media Manager
Manage Media Manager
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
fileIdstringRequired

File ID.

Returns
Return Type:Promise<FileDescriptor>
Was this helpful?
Yes
No