Méthode | Description | |
---|---|---|
Authorize ( string apiClientId, Permissions permission, string projectId, string folderName, string collectionId = null, string collectionKey = null ) : Task |
Adds container-level permission to specified User API client. Requires Backend API key with Admin permission role.
|
|
Deauthorize ( string apiClientId, Permissions permission, string projectId, string folderName, string collectionId = null, string collectionKey = null ) : Task |
Removes container-level permission from specified User API client. Requires Backend API key with Admin permission role.
|
|
Delete ( string projectId, string name, string collectionId = null, string collectionKey = null ) : Task |
Permanently delete specified folder and all associated data.
|
|
FolderSyncanoClient ( ISyncanoClient syncanoClient ) : System |
Creates FolderSyncanoClient object.
|
|
Get ( string projectId, string collectionId = null, string collectionKey = null ) : Task
|
Get folders for a specified collection.
|
|
GetOne ( string projectId, string folderName, string collectionId = null, string collectionKey = null ) : Task |
Get folder for a specified collection and folder name.
|
|
New ( string projectId, string name, string collectionId = null, string collectionKey = null ) : Task |
Create new folder within a specified collection. The collection_id/collection_key parameter means that one can use either one of them - collection_id or collection_key. |
|
Update ( string projectId, string name, string collectionId = null, string collectionKey = null, string newName = null, string sourceId = null ) : Task |
Create existing folder.
|
public Authorize ( string apiClientId, Permissions permission, string projectId, string folderName, string collectionId = null, string collectionKey = null ) : Task |
||
apiClientId | string | User API client id. |
permission | Permissions | User API client's permission to add. |
projectId | string | Project containing specified container. |
folderName | string | Folder name defining folder that permission will be added to. |
collectionId | string | Collection containing specified container. |
collectionKey | string | Collection containing specified container. |
Résultat | Task |
public Deauthorize ( string apiClientId, Permissions permission, string projectId, string folderName, string collectionId = null, string collectionKey = null ) : Task |
||
apiClientId | string | User API client id. |
permission | Permissions | User API client's permission to remove. |
projectId | string | Project containing specified container. |
folderName | string | Folder name defining folder that permission will be removed from. |
collectionId | string | Collection containing specified container. |
collectionKey | string | Collection containing specified container. |
Résultat | Task |
public Delete ( string projectId, string name, string collectionId = null, string collectionKey = null ) : Task |
||
projectId | string | Project id. |
name | string | Folder name to delete. |
collectionId | string | Collection id defining collection where folder exists. |
collectionKey | string | Collection key defining collection where folder exists. |
Résultat | Task |
public FolderSyncanoClient ( ISyncanoClient syncanoClient ) : System | ||
syncanoClient | ISyncanoClient | Object implementing ISyncanoClient interface. Provides means for connecting to Syncano. |
Résultat | System |
public Get ( string projectId, string collectionId = null, string collectionKey = null ) : Task
|
||
projectId | string | Project id. |
collectionId | string | Collection id defining the collection for which folders will be returned. |
collectionKey | string | Collection key defining the collection for which folders will be returned. |
Résultat | Task
|
public GetOne ( string projectId, string folderName, string collectionId = null, string collectionKey = null ) : Task |
||
projectId | string | Project id. |
folderName | string | Folder name defining folder. |
collectionId | string | Collection id defining a collection for which the folder will be returned. |
collectionKey | string | Collection key defining a collection for which the folder will be returned. |
Résultat | Task |
public New ( string projectId, string name, string collectionId = null, string collectionKey = null ) : Task |
||
projectId | string | Project id. |
name | string | Folder name. |
collectionId | string | Collection id defining collection where folder will be created. |
collectionKey | string | Collection key defining collection where folder will be created. |
Résultat | Task |
public Update ( string projectId, string name, string collectionId = null, string collectionKey = null, string newName = null, string sourceId = null ) : Task |
||
projectId | string | Project id. |
name | string | Current folder name. |
collectionId | string | Collection id defining collection where folder exists. |
collectionKey | string | Collection key defining collection where folder exists. |
newName | string | New folder name. |
sourceId | string | New source id, can be used for mapping folders to external source. |
Résultat | Task |