All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
exportFolderAndFileClearRecycleBin | DELETE /api/rp/v1/Exports/{subscriptionId}/ClearRecycleBin | Delete all folders and files from recycle bin |
exportFolderAndFileCopyFiles | POST /api/rp/v1/Exports/{subscriptionId}/CopyFiles | Copy folders and files to a specified folder |
exportFolderAndFileCountRecycleBinFoldersAndFiles | GET /api/rp/v1/Exports/{subscriptionId}/CountRecycleBinFolderAndFiles | Count all folders and files from recycle bin |
exportFolderAndFileDeleteFiles | POST /api/rp/v1/Exports/{subscriptionId}/DeleteFiles | Delete folders and files |
exportFolderAndFileGetCount | GET /api/rp/v1/Exports/Folder/{id}/CountFolderAndFiles | Get count of files and folders what contains in a specified folder |
exportFolderAndFileGetFoldersAndFiles | GET /api/rp/v1/Exports/Folder/{id}/ListFolderAndFiles | Get all folders and files from specified folder |
exportFolderAndFileGetRecycleBinFoldersAndFiles | GET /api/rp/v1/Exports/{subscriptionId}/ListRecycleBinFolderAndFiles | Get all folders and files from recycle bin |
exportFolderAndFileMoveFiles | POST /api/rp/v1/Exports/{subscriptionId}/MoveFiles | Move folders and files to a specified folder |
exportFolderAndFileMoveFilesToBin | POST /api/rp/v1/Exports/{subscriptionId}/ToBin | Move folders and files to bin |
exportFolderAndFileRecoverAllFromRecycleBin | POST /api/rp/v1/Exports/{subscriptionId}/RecoverRecycleBin | Recover all folders and files from recycle bin |
exportFolderAndFileRecoverFiles | POST /api/rp/v1/Exports/{subscriptionId}/RecoverFiles | Recover folders and files from bin |
exportFoldersCalculateFolderSize | GET /api/rp/v1/Exports/Folder/{id}/size | Get specified folder, calculate it's size |
exportFoldersCopyFolder | POST /api/rp/v1/Exports/Folder/{id}/Copy/{folderId} | Move folder to a specified folder |
exportFoldersDeleteFolder | DELETE /api/rp/v1/Exports/Folder/{id} | Delete specified folder |
exportFoldersGetBreadcrumbs | GET /api/rp/v1/Exports/Folder/{id}/Breadcrumbs | Get specified folder breadcrumbs |
exportFoldersGetFolder | GET /api/rp/v1/Exports/Folder/{id} | Get specified folder |
exportFoldersGetFolders | GET /api/rp/v1/Exports/Folder/{id}/ListFolders | Get all folders from specified folder |
exportFoldersGetFoldersCount | GET /api/rp/v1/Exports/Folder/{id}/CountFolders | Get count of folders what contains in a specified folder |
exportFoldersGetMyPermissions | GET /api/rp/v1/Exports/Folder/{folderId}/mypermissions | Get user's permissions for a folder by id |
exportFoldersGetOrCreate | GET /api/rp/v1/Exports/Folder/getOrCreate | Get specified folder |
exportFoldersGetPermissions | GET /api/rp/v1/Exports/Folder/{id}/permissions | Get all folder permissions |
exportFoldersGetRootFolder | GET /api/rp/v1/Exports/Root | Get user's root folder (without parents) |
exportFoldersMoveFolder | POST /api/rp/v1/Exports/Folder/{id}/Move/{folderId} | Move folder to a specified folder |
exportFoldersMoveFolderToBin | DELETE /api/rp/v1/Exports/Folder/{id}/ToBin | Move specified folder to recycle bin |
exportFoldersPostFolder | POST /api/rp/v1/Exports/Folder/{id}/Folder | Create folder |
exportFoldersRecoverFolder | POST /api/rp/v1/Exports/Folder/{id}/Recover | Recover specified folder |
exportFoldersRenameFolder | PUT /api/rp/v1/Exports/Folder/{id}/Rename | Rename a folder |
exportFoldersUpdateIcon | PUT /api/rp/v1/Exports/Folder/{id}/Icon | Update a folder's icon |
exportFoldersUpdatePermissions | POST /api/rp/v1/Exports/{id}/permissions | Update permissions |
exportFoldersUpdateTags | PUT /api/rp/v1/Exports/Folder/{id}/UpdateTags | Update tags |
exportsCopyFile | POST /api/rp/v1/Exports/File/{id}/Copy/{folderId} | Copy file to a specified folder |
exportsCreateSharingKey | POST /api/rp/v1/Exports/File/{id}/sharingKey | Create a new key, that can be used to share access to a file (You need Administrate.Anon permission to create a new key) |
exportsDeleteFile | DELETE /api/rp/v1/Exports/File/{id} | Delete specified file |
exportsDeleteSharingKey | DELETE /api/rp/v1/Exports/File/{id}/sharingKey | Deletes a sharing key, making links, that utilizing it no longer work |
exportsGetByTaskId | GET /api/rp/v1/Exports/File/Task/{taskId} | Get exports by specified task id |
exportsGetByTaskMessageId | GET /api/rp/v1/Exports/File/TaskMessage/{taskMessageId} | Get export by specified task message id |
exportsGetFile | GET /api/rp/v1/Exports/File/{id} | Get export by specified id |
exportsGetFileHistory | GET /api/rp/v1/Exports/File/{id}/History | Returns list of actions, performed on this file |
exportsGetFilesCount | GET /api/rp/v1/Exports/Folder/{id}/CountFiles | Get count of files what contains in a specified folder |
exportsGetFilesList | GET /api/rp/v1/Exports/Folder/{id}/ListFiles | Get all files from specified folder. <br /> User with Get Entity permission can access this method. <br /> The method will returns minimal infomration about the file: <br /> id, name, size, editedTime, createdTime, tags, status, statusReason. |
exportsGetMyPermissions | GET /api/rp/v1/Exports/File/{id}/mypermissions | Get current user's permissions to file |
exportsGetPermissions | GET /api/rp/v1/Exports/File/{id}/permissions | |
exportsGetSharingKeys | GET /api/rp/v1/Exports/File/{id}/sharingKeys | Returns all sharing keys, associated with the file |
exportsMoveFile | POST /api/rp/v1/Exports/File/{id}/Move/{folderId} | Move file to a specified folder |
exportsMoveFileToBin | DELETE /api/rp/v1/Exports/File/{id}/ToBin | Move specified file to recycle bin |
exportsRecoverFile | POST /api/rp/v1/Exports/File/{id}/Recover | Recover specified file from bin |
exportsRenameFile | PUT /api/rp/v1/Exports/File/{id}/Rename | Rename a file |
exportsUpdateIcon | PUT /api/rp/v1/Exports/File/{id}/Icon | Update a files's icon |
exportsUpdatePermissions | POST /api/rp/v1/Exports/File/{id}/permissions | Update permissions |
exportsUpdateTags | PUT /api/rp/v1/Exports/File/{id}/UpdateTags | Update tags |
exportFolderAndFileClearRecycleBin(subscriptionId)
Delete all folders and files from recycle bin
User with a Delete RecycleBin permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let subscriptionId = "subscriptionId_example"; // String | subscription id
apiInstance.exportFolderAndFileClearRecycleBin(subscriptionId).then(() => {
console.log('API called successfully.');
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
subscriptionId | String | subscription id |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json
exportFolderAndFileCopyFiles(subscriptionId, opts)
Copy folders and files to a specified folder
User with a Get permission for a files and Create permission for a destination folder can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let subscriptionId = "subscriptionId_example"; // String | id of current subscription
let opts = {
'selectedFilesVM': new FastreportCloudSdk.SelectedFilesVM() // SelectedFilesVM | VM with files' ids and params of their destination
};
apiInstance.exportFolderAndFileCopyFiles(subscriptionId, opts).then(() => {
console.log('API called successfully.');
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
subscriptionId | String | id of current subscription | |
selectedFilesVM | SelectedFilesVM | VM with files' ids and params of their destination | [optional] |
null (empty response body)
- Content-Type: application/json, text/json, application/*+json
- Accept: application/json
CountVM exportFolderAndFileCountRecycleBinFoldersAndFiles(subscriptionId, opts)
Count all folders and files from recycle bin
User with a Get DeletedFiles permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let subscriptionId = "subscriptionId_example"; // String | subscription id
let opts = {
'searchPattern': "''", // String |
'useRegex': false // Boolean |
};
apiInstance.exportFolderAndFileCountRecycleBinFoldersAndFiles(subscriptionId, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
subscriptionId | String | subscription id | |
searchPattern | String | [optional] [default to ''] | |
useRegex | Boolean | [optional] [default to false] |
- Content-Type: Not defined
- Accept: application/json
exportFolderAndFileDeleteFiles(subscriptionId, opts)
Delete folders and files
User with a Delete permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let subscriptionId = "subscriptionId_example"; // String | id of current subscription
let opts = {
'selectedFilesVM': new FastreportCloudSdk.SelectedFilesVM() // SelectedFilesVM | VM with files' ids and params of their destination
};
apiInstance.exportFolderAndFileDeleteFiles(subscriptionId, opts).then(() => {
console.log('API called successfully.');
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
subscriptionId | String | id of current subscription | |
selectedFilesVM | SelectedFilesVM | VM with files' ids and params of their destination | [optional] |
null (empty response body)
- Content-Type: application/json, text/json, application/*+json
- Accept: application/json
CountVM exportFolderAndFileGetCount(id, opts)
Get count of files and folders what contains in a specified folder
User with a Get Count permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | folder id
let opts = {
'searchPattern': "searchPattern_example", // String | string, that must be incuded in file or folder name to be counted <br /> (leave undefined to count all files and folders)
'useRegex': false // Boolean | set this to true if you want to use regular expression to search
};
apiInstance.exportFolderAndFileGetCount(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | folder id | |
searchPattern | String | string, that must be incuded in file or folder name to be counted <br /> (leave undefined to count all files and folders) | [optional] |
useRegex | Boolean | set this to true if you want to use regular expression to search | [optional] [default to false] |
- Content-Type: Not defined
- Accept: application/json
FilesVM exportFolderAndFileGetFoldersAndFiles(id, opts)
Get all folders and files from specified folder
User with a Get Entity permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | folder id
let opts = {
'skip': 0, // Number | number of folder and files, that have to be skipped
'take': 10, // Number | number of folder and files, that have to be returned
'orderBy': new FastreportCloudSdk.FileSorting(), // FileSorting | indicates a field to sort by
'desc': false, // Boolean | indicates if sorting is descending
'searchPattern': "''", // String |
'useRegex': false // Boolean |
};
apiInstance.exportFolderAndFileGetFoldersAndFiles(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | folder id | |
skip | Number | number of folder and files, that have to be skipped | [optional] [default to 0] |
take | Number | number of folder and files, that have to be returned | [optional] [default to 10] |
orderBy | FileSorting | indicates a field to sort by | [optional] |
desc | Boolean | indicates if sorting is descending | [optional] [default to false] |
searchPattern | String | [optional] [default to ''] | |
useRegex | Boolean | [optional] [default to false] |
- Content-Type: Not defined
- Accept: application/json
FilesVM exportFolderAndFileGetRecycleBinFoldersAndFiles(subscriptionId, opts)
Get all folders and files from recycle bin
User with a Get DeletedFiles permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let subscriptionId = "subscriptionId_example"; // String | subscription id
let opts = {
'skip': 0, // Number | number of folder and files, that have to be skipped
'take': 10, // Number | number of folder and files, that have to be returned
'orderBy': new FastreportCloudSdk.FileSorting(), // FileSorting | indicates a field to sort by
'desc': false, // Boolean | indicates if sorting is descending
'searchPattern': "''", // String |
'useRegex': false // Boolean |
};
apiInstance.exportFolderAndFileGetRecycleBinFoldersAndFiles(subscriptionId, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
subscriptionId | String | subscription id | |
skip | Number | number of folder and files, that have to be skipped | [optional] [default to 0] |
take | Number | number of folder and files, that have to be returned | [optional] [default to 10] |
orderBy | FileSorting | indicates a field to sort by | [optional] |
desc | Boolean | indicates if sorting is descending | [optional] [default to false] |
searchPattern | String | [optional] [default to ''] | |
useRegex | Boolean | [optional] [default to false] |
- Content-Type: Not defined
- Accept: application/json
exportFolderAndFileMoveFiles(subscriptionId, opts)
Move folders and files to a specified folder
User with a Update Place permission for a files and Create permission for a destination folder can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let subscriptionId = "subscriptionId_example"; // String | id of current subscription
let opts = {
'selectedFilesVM': new FastreportCloudSdk.SelectedFilesVM() // SelectedFilesVM | VM with files' ids and params of their destination
};
apiInstance.exportFolderAndFileMoveFiles(subscriptionId, opts).then(() => {
console.log('API called successfully.');
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
subscriptionId | String | id of current subscription | |
selectedFilesVM | SelectedFilesVM | VM with files' ids and params of their destination | [optional] |
null (empty response body)
- Content-Type: application/json, text/json, application/*+json
- Accept: application/json
exportFolderAndFileMoveFilesToBin(subscriptionId, opts)
Move folders and files to bin
User with a Delete permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let subscriptionId = "subscriptionId_example"; // String | id of current subscription
let opts = {
'selectedFilesVM': new FastreportCloudSdk.SelectedFilesVM() // SelectedFilesVM | VM with files' ids and params of their destination
};
apiInstance.exportFolderAndFileMoveFilesToBin(subscriptionId, opts).then(() => {
console.log('API called successfully.');
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
subscriptionId | String | id of current subscription | |
selectedFilesVM | SelectedFilesVM | VM with files' ids and params of their destination | [optional] |
null (empty response body)
- Content-Type: application/json, text/json, application/*+json
- Accept: application/json
exportFolderAndFileRecoverAllFromRecycleBin(subscriptionId)
Recover all folders and files from recycle bin
User with a Create RecycleBin permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let subscriptionId = "subscriptionId_example"; // String | subscription id
apiInstance.exportFolderAndFileRecoverAllFromRecycleBin(subscriptionId).then(() => {
console.log('API called successfully.');
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
subscriptionId | String | subscription id |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json
exportFolderAndFileRecoverFiles(subscriptionId, opts)
Recover folders and files from bin
User with a SubscriptionCreate permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let subscriptionId = "subscriptionId_example"; // String | id of current subscription
let opts = {
'selectedFilesVM': new FastreportCloudSdk.SelectedFilesVM() // SelectedFilesVM | VM with files' ids and params of their destination
};
apiInstance.exportFolderAndFileRecoverFiles(subscriptionId, opts).then(() => {
console.log('API called successfully.');
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
subscriptionId | String | id of current subscription | |
selectedFilesVM | SelectedFilesVM | VM with files' ids and params of their destination | [optional] |
null (empty response body)
- Content-Type: application/json, text/json, application/*+json
- Accept: application/json
FolderSizeVM exportFoldersCalculateFolderSize(id)
Get specified folder, calculate it's size
User with a Get Entity permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | folder id
apiInstance.exportFoldersCalculateFolderSize(id).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | folder id |
- Content-Type: Not defined
- Accept: application/json
FileVM exportFoldersCopyFolder(id, folderId)
Move folder to a specified folder
User with a Update Place permission for a folder and Create Entity for a Parent Folder can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | moving folder id
let folderId = "folderId_example"; // String | destination folder id
apiInstance.exportFoldersCopyFolder(id, folderId).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | moving folder id | |
folderId | String | destination folder id |
- Content-Type: Not defined
- Accept: application/json
exportFoldersDeleteFolder(id)
Delete specified folder
User with a Delete Entity permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | folder id
apiInstance.exportFoldersDeleteFolder(id).then(() => {
console.log('API called successfully.');
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | folder id |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json
BreadcrumbsVM exportFoldersGetBreadcrumbs(id)
Get specified folder breadcrumbs
User with a Get Entity permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | folder id
apiInstance.exportFoldersGetBreadcrumbs(id).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | folder id |
- Content-Type: Not defined
- Accept: application/json
FileVM exportFoldersGetFolder(id)
Get specified folder
User with a Get Entity permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | folder id
apiInstance.exportFoldersGetFolder(id).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | folder id |
- Content-Type: Not defined
- Accept: application/json
FilesVM exportFoldersGetFolders(id, opts)
Get all folders from specified folder
User with a Get Entity permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | folder id
let opts = {
'skip': 0, // Number | number of files, that have to be skipped
'take': 10, // Number | number of files, that have to be returned
'orderBy': new FastreportCloudSdk.FileSorting(), // FileSorting |
'desc': false, // Boolean |
'searchPattern': "''", // String |
'useRegex': false // Boolean |
};
apiInstance.exportFoldersGetFolders(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | folder id | |
skip | Number | number of files, that have to be skipped | [optional] [default to 0] |
take | Number | number of files, that have to be returned | [optional] [default to 10] |
orderBy | FileSorting | [optional] | |
desc | Boolean | [optional] [default to false] | |
searchPattern | String | [optional] [default to ''] | |
useRegex | Boolean | [optional] [default to false] |
- Content-Type: Not defined
- Accept: application/json
CountVM exportFoldersGetFoldersCount(id)
Get count of folders what contains in a specified folder
User with a Get Count permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | folder id
apiInstance.exportFoldersGetFoldersCount(id).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | folder id |
- Content-Type: Not defined
- Accept: application/json
FilePermissionCRUDVM exportFoldersGetMyPermissions(folderId)
Get user's permissions for a folder by id
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let folderId = "folderId_example"; // String | folder id
apiInstance.exportFoldersGetMyPermissions(folderId).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
folderId | String | folder id |
- Content-Type: Not defined
- Accept: application/json
FileVM exportFoldersGetOrCreate(opts)
Get specified folder
User with a Get Entity permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let opts = {
'name': "name_example", // String | folder name
'subscriptionId': "subscriptionId_example", // String | subscriptionId
'parentId': "parentId_example" // String | parent folder id
};
apiInstance.exportFoldersGetOrCreate(opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
name | String | folder name | [optional] |
subscriptionId | String | subscriptionId | [optional] |
parentId | String | parent folder id | [optional] |
- Content-Type: Not defined
- Accept: application/json
FilePermissionsVM exportFoldersGetPermissions(id)
Get all folder permissions
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String |
apiInstance.exportFoldersGetPermissions(id).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String |
- Content-Type: Not defined
- Accept: application/json
FileVM exportFoldersGetRootFolder(opts)
Get user's root folder (without parents)
> Breakchange. Now user model doesn't contain a root folders. This method can return error 400 and 404 when subscription is not found.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let opts = {
'subscriptionId': "subscriptionId_example" // String |
};
apiInstance.exportFoldersGetRootFolder(opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
subscriptionId | String | [optional] |
- Content-Type: Not defined
- Accept: application/json
FileVM exportFoldersMoveFolder(id, folderId)
Move folder to a specified folder
User with a Update Place permission for a folder and Create Entity for a Parent Folder can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | moving folder id
let folderId = "folderId_example"; // String | destination folder id
apiInstance.exportFoldersMoveFolder(id, folderId).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | moving folder id | |
folderId | String | destination folder id |
- Content-Type: Not defined
- Accept: application/json
exportFoldersMoveFolderToBin(id)
Move specified folder to recycle bin
User with a Delete Entity permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | folder id
apiInstance.exportFoldersMoveFolderToBin(id).then(() => {
console.log('API called successfully.');
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | folder id |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json
FileVM exportFoldersPostFolder(id, opts)
Create folder
User with a Create Entity permisison can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | Identifier of parent folder id
let opts = {
'exportFolderCreateVM': new FastreportCloudSdk.ExportFolderCreateVM() // ExportFolderCreateVM | create VM
};
apiInstance.exportFoldersPostFolder(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | Identifier of parent folder id | |
exportFolderCreateVM | ExportFolderCreateVM | create VM | [optional] |
- Content-Type: application/json, text/json, application/*+json
- Accept: application/json
exportFoldersRecoverFolder(id, opts)
Recover specified folder
User with a Delete Entity permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | folder id
let opts = {
'recoveryPath': "recoveryPath_example" // String |
};
apiInstance.exportFoldersRecoverFolder(id, opts).then(() => {
console.log('API called successfully.');
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | folder id | |
recoveryPath | String | [optional] |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json
FileVM exportFoldersRenameFolder(id, opts)
Rename a folder
User with a Update Name permision can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String |
let opts = {
'folderRenameVM': new FastreportCloudSdk.FolderRenameVM() // FolderRenameVM |
};
apiInstance.exportFoldersRenameFolder(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
folderRenameVM | FolderRenameVM | [optional] |
- Content-Type: application/json, text/json, application/*+json
- Accept: application/json
FileVM exportFoldersUpdateIcon(id, opts)
Update a folder's icon
User with a Update Icon permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | Identifier of folder
let opts = {
'folderIconVM': new FastreportCloudSdk.FolderIconVM() // FolderIconVM | Update icon model
};
apiInstance.exportFoldersUpdateIcon(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | Identifier of folder | |
folderIconVM | FolderIconVM | Update icon model | [optional] |
- Content-Type: application/json, text/json, application/*+json
- Accept: application/json
exportFoldersUpdatePermissions(id, opts)
Update permissions
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String |
let opts = {
'updateFilePermissionsVM': new FastreportCloudSdk.UpdateFilePermissionsVM() // UpdateFilePermissionsVM |
};
apiInstance.exportFoldersUpdatePermissions(id, opts).then(() => {
console.log('API called successfully.');
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
updateFilePermissionsVM | UpdateFilePermissionsVM | [optional] |
null (empty response body)
- Content-Type: application/json, text/json, application/*+json
- Accept: application/json
FileVM exportFoldersUpdateTags(id, opts)
Update tags
User with a Update Tags permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String |
let opts = {
'folderTagsUpdateVM': new FastreportCloudSdk.FolderTagsUpdateVM() // FolderTagsUpdateVM |
};
apiInstance.exportFoldersUpdateTags(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
folderTagsUpdateVM | FolderTagsUpdateVM | [optional] |
- Content-Type: application/json, text/json, application/*+json
- Accept: application/json
ExportVM exportsCopyFile(id, folderId)
Copy file to a specified folder
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | file id
let folderId = "folderId_example"; // String | folder id
apiInstance.exportsCopyFile(id, folderId).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | file id | |
folderId | String | folder id |
- Content-Type: Not defined
- Accept: application/json
FileSharingKeysVM exportsCreateSharingKey(id, opts)
Create a new key, that can be used to share access to a file (You need Administrate.Anon permission to create a new key)
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | file id
let opts = {
'createFileShareVM': new FastreportCloudSdk.CreateFileShareVM() // CreateFileShareVM | parameters for sharing key creation
};
apiInstance.exportsCreateSharingKey(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | file id | |
createFileShareVM | CreateFileShareVM | parameters for sharing key creation | [optional] |
- Content-Type: application/json, text/json, application/*+json
- Accept: application/json
exportsDeleteFile(id)
Delete specified file
User with Delete permission can access the method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | file id
apiInstance.exportsDeleteFile(id).then(() => {
console.log('API called successfully.');
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | file id |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json
exportsDeleteSharingKey(id, key)
Deletes a sharing key, making links, that utilizing it no longer work
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | file id
let key = "key_example"; // String | key to delete
apiInstance.exportsDeleteSharingKey(id, key).then(() => {
console.log('API called successfully.');
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | file id | |
key | String | key to delete |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json
ExportsVM exportsGetByTaskId(taskId)
Get exports by specified task id
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let taskId = "taskId_example"; // String | task id
apiInstance.exportsGetByTaskId(taskId).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
taskId | String | task id |
- Content-Type: Not defined
- Accept: application/json
ExportVM exportsGetByTaskMessageId(taskMessageId)
Get export by specified task message id
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let taskMessageId = "taskMessageId_example"; // String | task message id
apiInstance.exportsGetByTaskMessageId(taskMessageId).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
taskMessageId | String | task message id |
- Content-Type: Not defined
- Accept: application/json
ExportVM exportsGetFile(id)
Get export by specified id
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | id of export
apiInstance.exportsGetFile(id).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | id of export |
- Content-Type: Not defined
- Accept: application/json
AuditActionsVM exportsGetFileHistory(id, opts)
Returns list of actions, performed on this file
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String |
let opts = {
'skip': 0, // Number |
'take': 10 // Number |
};
apiInstance.exportsGetFileHistory(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
skip | Number | [optional] [default to 0] | |
take | Number | [optional] [default to 10] |
- Content-Type: Not defined
- Accept: application/json
CountVM exportsGetFilesCount(id)
Get count of files what contains in a specified folder
User with Get Count permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | folder id
apiInstance.exportsGetFilesCount(id).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | folder id |
- Content-Type: Not defined
- Accept: application/json
ExportsVM exportsGetFilesList(id, opts)
Get all files from specified folder. <br /> User with Get Entity permission can access this method. <br /> The method will returns minimal infomration about the file: <br /> id, name, size, editedTime, createdTime, tags, status, statusReason.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | folder id
let opts = {
'skip': 0, // Number | number of files, that have to be skipped
'take': 10, // Number | number of files, that have to be returned
'searchPattern': "searchPattern_example", // String |
'orderBy': new FastreportCloudSdk.FileSorting(), // FileSorting |
'desc': false, // Boolean |
'useRegex': false // Boolean |
};
apiInstance.exportsGetFilesList(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | folder id | |
skip | Number | number of files, that have to be skipped | [optional] [default to 0] |
take | Number | number of files, that have to be returned | [optional] [default to 10] |
searchPattern | String | [optional] | |
orderBy | FileSorting | [optional] | |
desc | Boolean | [optional] [default to false] | |
useRegex | Boolean | [optional] [default to false] |
- Content-Type: Not defined
- Accept: application/json
FilePermissionCRUDVM exportsGetMyPermissions(id)
Get current user's permissions to file
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | file id
apiInstance.exportsGetMyPermissions(id).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | file id |
- Content-Type: Not defined
- Accept: application/json
FilePermissionsVM exportsGetPermissions(id)
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String |
apiInstance.exportsGetPermissions(id).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String |
- Content-Type: Not defined
- Accept: application/json
FileSharingKeysVM exportsGetSharingKeys(id)
Returns all sharing keys, associated with the file
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | file id
apiInstance.exportsGetSharingKeys(id).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | file id |
- Content-Type: Not defined
- Accept: application/json
ExportVM exportsMoveFile(id, folderId)
Move file to a specified folder
User with a Update Place permission for a folder and Create Entity for a Parent Folder can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | file id
let folderId = "folderId_example"; // String | folder id
apiInstance.exportsMoveFile(id, folderId).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | file id | |
folderId | String | folder id |
- Content-Type: Not defined
- Accept: application/json
exportsMoveFileToBin(id)
Move specified file to recycle bin
User with Delete permission can access the method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | file id
apiInstance.exportsMoveFileToBin(id).then(() => {
console.log('API called successfully.');
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | file id |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json
exportsRecoverFile(id, opts)
Recover specified file from bin
User with Delete permission can access the method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String | file id
let opts = {
'recoveryPath': "recoveryPath_example" // String |
};
apiInstance.exportsRecoverFile(id, opts).then(() => {
console.log('API called successfully.');
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | file id | |
recoveryPath | String | [optional] |
null (empty response body)
- Content-Type: Not defined
- Accept: application/json
ExportVM exportsRenameFile(id, opts)
Rename a file
User with Update Name permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String |
let opts = {
'fileRenameVM': new FastreportCloudSdk.FileRenameVM() // FileRenameVM |
};
apiInstance.exportsRenameFile(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
fileRenameVM | FileRenameVM | [optional] |
- Content-Type: application/json, text/json, application/*+json
- Accept: application/json
ExportVM exportsUpdateIcon(id, opts)
Update a files's icon
User with Update Icon permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String |
let opts = {
'fileIconVM': new FastreportCloudSdk.FileIconVM() // FileIconVM |
};
apiInstance.exportsUpdateIcon(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
fileIconVM | FileIconVM | [optional] |
- Content-Type: application/json, text/json, application/*+json
- Accept: application/json
exportsUpdatePermissions(id, opts)
Update permissions
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String |
let opts = {
'updateFilePermissionsVM': new FastreportCloudSdk.UpdateFilePermissionsVM() // UpdateFilePermissionsVM |
};
apiInstance.exportsUpdatePermissions(id, opts).then(() => {
console.log('API called successfully.');
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
updateFilePermissionsVM | UpdateFilePermissionsVM | [optional] |
null (empty response body)
- Content-Type: application/json, text/json, application/*+json
- Accept: application/json
ExportVM exportsUpdateTags(id, opts)
Update tags
User with Update Tags permission can access this method.
import FastreportCloudSdk from 'fastreport-cloud-sdk';
let defaultClient = FastreportCloudSdk.ApiClient.instance;
// Configure HTTP basic authorization: ApiKey
let ApiKey = defaultClient.authentications['ApiKey'];
ApiKey.username = 'YOUR USERNAME';
ApiKey.password = 'YOUR PASSWORD';
// Configure Bearer (JWT) access token for authorization: JWT
let JWT = defaultClient.authentications['JWT'];
JWT.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new FastreportCloudSdk.ExportsApi();
let id = "id_example"; // String |
let opts = {
'fileTagsUpdateVM': new FastreportCloudSdk.FileTagsUpdateVM() // FileTagsUpdateVM |
};
apiInstance.exportsUpdateTags(id, opts).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});
Name | Type | Description | Notes |
---|---|---|---|
id | String | ||
fileTagsUpdateVM | FileTagsUpdateVM | [optional] |
- Content-Type: application/json, text/json, application/*+json
- Accept: application/json