Class FilePropertiesUserRoutes
The routes for the Dropbox.
Inheritance
Inherited Members
Namespace: Dropbox.Api.FileProperties.Routes
Assembly: Dropbox.Api.dll
Syntax
public class FilePropertiesUserRoutes
Methods
| Improve this Doc View SourceBeginPropertiesAdd(AddPropertiesArg, AsyncCallback, Object)
Begins an asynchronous send to the properties add route.
Declaration
public IAsyncResult BeginPropertiesAdd(AddPropertiesArg addPropertiesArg, AsyncCallback callback, object state = null)
Parameters
Type | Name | Description |
---|---|---|
Add |
addPropertiesArg | The request parameters. |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
state | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
BeginPropertiesAdd(String, IEnumerable<PropertyGroup>, AsyncCallback, Object)
Begins an asynchronous send to the properties add route.
Declaration
public IAsyncResult BeginPropertiesAdd(string path, IEnumerable<PropertyGroup> propertyGroups, AsyncCallback callback, object callbackState = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
path | A unique identifier for the file or folder. |
System. |
propertyGroups | The property groups which are to be added to a Dropbox file. No two groups in the input should refer to the same template. |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
callbackState | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
BeginPropertiesOverwrite(OverwritePropertyGroupArg, AsyncCallback, Object)
Begins an asynchronous send to the properties overwrite route.
Declaration
public IAsyncResult BeginPropertiesOverwrite(OverwritePropertyGroupArg overwritePropertyGroupArg, AsyncCallback callback, object state = null)
Parameters
Type | Name | Description |
---|---|---|
Overwrite |
overwritePropertyGroupArg | The request parameters. |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
state | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
BeginPropertiesOverwrite(String, IEnumerable<PropertyGroup>, AsyncCallback, Object)
Begins an asynchronous send to the properties overwrite route.
Declaration
public IAsyncResult BeginPropertiesOverwrite(string path, IEnumerable<PropertyGroup> propertyGroups, AsyncCallback callback, object callbackState = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
path | A unique identifier for the file or folder. |
System. |
propertyGroups | The property groups "snapshot" updates to force apply. No two groups in the input should refer to the same template. |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
callbackState | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
BeginPropertiesRemove(RemovePropertiesArg, AsyncCallback, Object)
Begins an asynchronous send to the properties remove route.
Declaration
public IAsyncResult BeginPropertiesRemove(RemovePropertiesArg removePropertiesArg, AsyncCallback callback, object state = null)
Parameters
Type | Name | Description |
---|---|---|
Remove |
removePropertiesArg | The request parameters. |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
state | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
BeginPropertiesRemove(String, IEnumerable<String>, AsyncCallback, Object)
Begins an asynchronous send to the properties remove route.
Declaration
public IAsyncResult BeginPropertiesRemove(string path, IEnumerable<string> propertyTemplateIds, AsyncCallback callback, object callbackState = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
path | A unique identifier for the file or folder. |
System. |
propertyTemplateIds | A list of identifiers for a template created by
Templates |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
callbackState | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
BeginPropertiesSearch(PropertiesSearchArg, AsyncCallback, Object)
Begins an asynchronous send to the properties search route.
Declaration
public IAsyncResult BeginPropertiesSearch(PropertiesSearchArg propertiesSearchArg, AsyncCallback callback, object state = null)
Parameters
Type | Name | Description |
---|---|---|
Properties |
propertiesSearchArg | The request parameters. |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
state | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
BeginPropertiesSearch(IEnumerable<PropertiesSearchQuery>, TemplateFilter, AsyncCallback, Object)
Begins an asynchronous send to the properties search route.
Declaration
public IAsyncResult BeginPropertiesSearch(IEnumerable<PropertiesSearchQuery> queries, TemplateFilter templateFilter = null, AsyncCallback callback = null, object callbackState = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
queries | Queries to search. |
Template |
templateFilter | Filter results to contain only properties associated with these template IDs. |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
callbackState | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
BeginPropertiesSearchContinue(PropertiesSearchContinueArg, AsyncCallback, Object)
Begins an asynchronous send to the properties search continue route.
Declaration
public IAsyncResult BeginPropertiesSearchContinue(PropertiesSearchContinueArg propertiesSearchContinueArg, AsyncCallback callback, object state = null)
Parameters
Type | Name | Description |
---|---|---|
Properties |
propertiesSearchContinueArg | The request parameters. |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
state | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
BeginPropertiesSearchContinue(String, AsyncCallback, Object)
Begins an asynchronous send to the properties search continue route.
Declaration
public IAsyncResult BeginPropertiesSearchContinue(string cursor, AsyncCallback callback, object callbackState = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
cursor | The cursor returned by your last call to Properties |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
callbackState | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
BeginPropertiesUpdate(UpdatePropertiesArg, AsyncCallback, Object)
Begins an asynchronous send to the properties update route.
Declaration
public IAsyncResult BeginPropertiesUpdate(UpdatePropertiesArg updatePropertiesArg, AsyncCallback callback, object state = null)
Parameters
Type | Name | Description |
---|---|---|
Update |
updatePropertiesArg | The request parameters. |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
state | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
BeginPropertiesUpdate(String, IEnumerable<PropertyGroupUpdate>, AsyncCallback, Object)
Begins an asynchronous send to the properties update route.
Declaration
public IAsyncResult BeginPropertiesUpdate(string path, IEnumerable<PropertyGroupUpdate> updatePropertyGroups, AsyncCallback callback, object callbackState = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
path | A unique identifier for the file or folder. |
System. |
updatePropertyGroups | The property groups "delta" updates to apply. |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
callbackState | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
BeginTemplatesAddForUser(AddTemplateArg, AsyncCallback, Object)
Begins an asynchronous send to the templates add for user route.
Declaration
public IAsyncResult BeginTemplatesAddForUser(AddTemplateArg addTemplateArg, AsyncCallback callback, object state = null)
Parameters
Type | Name | Description |
---|---|---|
Add |
addTemplateArg | The request parameters. |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
state | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
BeginTemplatesAddForUser(String, String, IEnumerable<PropertyFieldTemplate>, AsyncCallback, Object)
Begins an asynchronous send to the templates add for user route.
Declaration
public IAsyncResult BeginTemplatesAddForUser(string name, string description, IEnumerable<PropertyFieldTemplate> fields, AsyncCallback callback, object callbackState = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | Display name for the template. Template names can be up to 256 bytes. |
System. |
description | Description for the template. Template descriptions can be up to 1024 bytes. |
System. |
fields | Definitions of the property fields associated with this template. There can be up to 32 properties in a single template. |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
callbackState | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
BeginTemplatesGetForUser(GetTemplateArg, AsyncCallback, Object)
Begins an asynchronous send to the templates get for user route.
Declaration
public IAsyncResult BeginTemplatesGetForUser(GetTemplateArg getTemplateArg, AsyncCallback callback, object state = null)
Parameters
Type | Name | Description |
---|---|---|
Get |
getTemplateArg | The request parameters. |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
state | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
BeginTemplatesGetForUser(String, AsyncCallback, Object)
Begins an asynchronous send to the templates get for user route.
Declaration
public IAsyncResult BeginTemplatesGetForUser(string templateId, AsyncCallback callback, object callbackState = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
templateId | An identifier for template added by route See Templates |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
callbackState | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
BeginTemplatesListForUser(AsyncCallback, Object)
Begins an asynchronous send to the templates list for user route.
Declaration
public IAsyncResult BeginTemplatesListForUser(AsyncCallback callback, object state = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
state | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
BeginTemplatesRemoveForUser(RemoveTemplateArg, AsyncCallback, Object)
Begins an asynchronous send to the templates remove for user route.
Declaration
public IAsyncResult BeginTemplatesRemoveForUser(RemoveTemplateArg removeTemplateArg, AsyncCallback callback, object state = null)
Parameters
Type | Name | Description |
---|---|---|
Remove |
removeTemplateArg | The request parameters. |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
state | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
BeginTemplatesRemoveForUser(String, AsyncCallback, Object)
Begins an asynchronous send to the templates remove for user route.
Declaration
public IAsyncResult BeginTemplatesRemoveForUser(string templateId, AsyncCallback callback, object callbackState = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
templateId | An identifier for a template created by Templates |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
callbackState | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
BeginTemplatesUpdateForUser(UpdateTemplateArg, AsyncCallback, Object)
Begins an asynchronous send to the templates update for user route.
Declaration
public IAsyncResult BeginTemplatesUpdateForUser(UpdateTemplateArg updateTemplateArg, AsyncCallback callback, object state = null)
Parameters
Type | Name | Description |
---|---|---|
Update |
updateTemplateArg | The request parameters. |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
state | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
BeginTemplatesUpdateForUser(String, String, String, IEnumerable<PropertyFieldTemplate>, AsyncCallback, Object)
Begins an asynchronous send to the templates update for user route.
Declaration
public IAsyncResult BeginTemplatesUpdateForUser(string templateId, string name = null, string description = null, IEnumerable<PropertyFieldTemplate> addFields = null, AsyncCallback callback = null, object callbackState = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
templateId | An identifier for template added by See Templates |
System. |
name | A display name for the template. template names can be up to 256 bytes. |
System. |
description | Description for the new template. Template descriptions can be up to 1024 bytes. |
System. |
addFields | Property field templates to be added to the group template. There can be up to 32 properties in a single template. |
System. |
callback | The method to be called when the asynchronous send is completed. |
System. |
callbackState | A user provided object that distinguished this send from other send requests. |
Returns
Type | Description |
---|---|
System. |
An object that represents the asynchronous send request. |
EndPropertiesAdd(IAsyncResult)
Waits for the pending asynchronous send to the properties add route to complete
Declaration
public void EndPropertiesAdd(IAsyncResult asyncResult)
Parameters
Type | Name | Description |
---|---|---|
System. |
asyncResult | The reference to the pending asynchronous send request |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Add |
EndPropertiesOverwrite(IAsyncResult)
Waits for the pending asynchronous send to the properties overwrite route to complete
Declaration
public void EndPropertiesOverwrite(IAsyncResult asyncResult)
Parameters
Type | Name | Description |
---|---|---|
System. |
asyncResult | The reference to the pending asynchronous send request |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Invalid |
EndPropertiesRemove(IAsyncResult)
Waits for the pending asynchronous send to the properties remove route to complete
Declaration
public void EndPropertiesRemove(IAsyncResult asyncResult)
Parameters
Type | Name | Description |
---|---|---|
System. |
asyncResult | The reference to the pending asynchronous send request |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Remove |
EndPropertiesSearch(IAsyncResult)
Waits for the pending asynchronous send to the properties search route to complete
Declaration
public PropertiesSearchResult EndPropertiesSearch(IAsyncResult asyncResult)
Parameters
Type | Name | Description |
---|---|---|
System. |
asyncResult | The reference to the pending asynchronous send request |
Returns
Type | Description |
---|---|
Properties |
The response to the send request |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Properties |
EndPropertiesSearchContinue(IAsyncResult)
Waits for the pending asynchronous send to the properties search continue route to complete
Declaration
public PropertiesSearchResult EndPropertiesSearchContinue(IAsyncResult asyncResult)
Parameters
Type | Name | Description |
---|---|---|
System. |
asyncResult | The reference to the pending asynchronous send request |
Returns
Type | Description |
---|---|
Properties |
The response to the send request |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Properties |
EndPropertiesUpdate(IAsyncResult)
Waits for the pending asynchronous send to the properties update route to complete
Declaration
public void EndPropertiesUpdate(IAsyncResult asyncResult)
Parameters
Type | Name | Description |
---|---|---|
System. |
asyncResult | The reference to the pending asynchronous send request |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Update |
EndTemplatesAddForUser(IAsyncResult)
Waits for the pending asynchronous send to the templates add for user route to complete
Declaration
public AddTemplateResult EndTemplatesAddForUser(IAsyncResult asyncResult)
Parameters
Type | Name | Description |
---|---|---|
System. |
asyncResult | The reference to the pending asynchronous send request |
Returns
Type | Description |
---|---|
Add |
The response to the send request |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Modify |
EndTemplatesGetForUser(IAsyncResult)
Waits for the pending asynchronous send to the templates get for user route to complete
Declaration
public GetTemplateResult EndTemplatesGetForUser(IAsyncResult asyncResult)
Parameters
Type | Name | Description |
---|---|---|
System. |
asyncResult | The reference to the pending asynchronous send request |
Returns
Type | Description |
---|---|
Get |
The response to the send request |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Template |
EndTemplatesListForUser(IAsyncResult)
Waits for the pending asynchronous send to the templates list for user route to complete
Declaration
public ListTemplateResult EndTemplatesListForUser(IAsyncResult asyncResult)
Parameters
Type | Name | Description |
---|---|---|
System. |
asyncResult | The reference to the pending asynchronous send request |
Returns
Type | Description |
---|---|
List |
The response to the send request |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Template |
EndTemplatesRemoveForUser(IAsyncResult)
Waits for the pending asynchronous send to the templates remove for user route to complete
Declaration
public void EndTemplatesRemoveForUser(IAsyncResult asyncResult)
Parameters
Type | Name | Description |
---|---|---|
System. |
asyncResult | The reference to the pending asynchronous send request |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Template |
EndTemplatesUpdateForUser(IAsyncResult)
Waits for the pending asynchronous send to the templates update for user route to complete
Declaration
public UpdateTemplateResult EndTemplatesUpdateForUser(IAsyncResult asyncResult)
Parameters
Type | Name | Description |
---|---|---|
System. |
asyncResult | The reference to the pending asynchronous send request |
Returns
Type | Description |
---|---|
Update |
The response to the send request |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Modify |
PropertiesAddAsync(AddPropertiesArg)
Add property groups to a Dropbox file. See Templates
Declaration
public Task PropertiesAddAsync(AddPropertiesArg addPropertiesArg)
Parameters
Type | Name | Description |
---|---|---|
Add |
addPropertiesArg | The request parameters |
Returns
Type | Description |
---|---|
System. |
The task that represents the asynchronous send operation. |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Add |
PropertiesAddAsync(String, IEnumerable<PropertyGroup>)
Add property groups to a Dropbox file. See Templates
Declaration
public Task PropertiesAddAsync(string path, IEnumerable<PropertyGroup> propertyGroups)
Parameters
Type | Name | Description |
---|---|---|
System. |
path | A unique identifier for the file or folder. |
System. |
propertyGroups | The property groups which are to be added to a Dropbox file. No two groups in the input should refer to the same template. |
Returns
Type | Description |
---|---|
System. |
The task that represents the asynchronous send operation. |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Add |
PropertiesOverwriteAsync(OverwritePropertyGroupArg)
Overwrite property groups associated with a file. This endpoint should be
used instead of Properties
Declaration
public Task PropertiesOverwriteAsync(OverwritePropertyGroupArg overwritePropertyGroupArg)
Parameters
Type | Name | Description |
---|---|---|
Overwrite |
overwritePropertyGroupArg | The request parameters |
Returns
Type | Description |
---|---|
System. |
The task that represents the asynchronous send operation. |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Invalid |
PropertiesOverwriteAsync(String, IEnumerable<PropertyGroup>)
Overwrite property groups associated with a file. This endpoint should be
used instead of Properties
Declaration
public Task PropertiesOverwriteAsync(string path, IEnumerable<PropertyGroup> propertyGroups)
Parameters
Type | Name | Description |
---|---|---|
System. |
path | A unique identifier for the file or folder. |
System. |
propertyGroups | The property groups "snapshot" updates to force apply. No two groups in the input should refer to the same template. |
Returns
Type | Description |
---|---|
System. |
The task that represents the asynchronous send operation. |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Invalid |
PropertiesRemoveAsync(RemovePropertiesArg)
Permanently removes the specified property group from the file. To remove
specific property field key value pairs, see Properties
Declaration
public Task PropertiesRemoveAsync(RemovePropertiesArg removePropertiesArg)
Parameters
Type | Name | Description |
---|---|---|
Remove |
removePropertiesArg | The request parameters |
Returns
Type | Description |
---|---|
System. |
The task that represents the asynchronous send operation. |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Remove |
PropertiesRemoveAsync(String, IEnumerable<String>)
Permanently removes the specified property group from the file. To remove
specific property field key value pairs, see Properties
Declaration
public Task PropertiesRemoveAsync(string path, IEnumerable<string> propertyTemplateIds)
Parameters
Type | Name | Description |
---|---|---|
System. |
path | A unique identifier for the file or folder. |
System. |
propertyTemplateIds | A list of identifiers for a template created by
Templates |
Returns
Type | Description |
---|---|
System. |
The task that represents the asynchronous send operation. |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Remove |
PropertiesSearchAsync(PropertiesSearchArg)
Search across property templates for particular property field values.
Declaration
public Task<PropertiesSearchResult> PropertiesSearchAsync(PropertiesSearchArg propertiesSearchArg)
Parameters
Type | Name | Description |
---|---|---|
Properties |
propertiesSearchArg | The request parameters |
Returns
Type | Description |
---|---|
System. |
The task that represents the asynchronous send operation. The TResult parameter contains the response from the server. |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Properties |
PropertiesSearchAsync(IEnumerable<PropertiesSearchQuery>, TemplateFilter)
Search across property templates for particular property field values.
Declaration
public Task<PropertiesSearchResult> PropertiesSearchAsync(IEnumerable<PropertiesSearchQuery> queries, TemplateFilter templateFilter = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
queries | Queries to search. |
Template |
templateFilter | Filter results to contain only properties associated with these template IDs. |
Returns
Type | Description |
---|---|
System. |
The task that represents the asynchronous send operation. The TResult parameter contains the response from the server. |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Properties |
PropertiesSearchContinueAsync(PropertiesSearchContinueArg)
Once a cursor has been retrieved from Properties
Declaration
public Task<PropertiesSearchResult> PropertiesSearchContinueAsync(PropertiesSearchContinueArg propertiesSearchContinueArg)
Parameters
Type | Name | Description |
---|---|---|
Properties |
propertiesSearchContinueArg | The request parameters |
Returns
Type | Description |
---|---|
System. |
The task that represents the asynchronous send operation. The TResult parameter contains the response from the server. |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Properties |
PropertiesSearchContinueAsync(String)
Once a cursor has been retrieved from Properties
Declaration
public Task<PropertiesSearchResult> PropertiesSearchContinueAsync(string cursor)
Parameters
Type | Name | Description |
---|---|---|
System. |
cursor | The cursor returned by your last call to Properties |
Returns
Type | Description |
---|---|
System. |
The task that represents the asynchronous send operation. The TResult parameter contains the response from the server. |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Properties |
PropertiesUpdateAsync(UpdatePropertiesArg)
Add, update or remove properties associated with the supplied file and
templates. This endpoint should be used instead of Properties
Declaration
public Task PropertiesUpdateAsync(UpdatePropertiesArg updatePropertiesArg)
Parameters
Type | Name | Description |
---|---|---|
Update |
updatePropertiesArg | The request parameters |
Returns
Type | Description |
---|---|
System. |
The task that represents the asynchronous send operation. |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Update |
PropertiesUpdateAsync(String, IEnumerable<PropertyGroupUpdate>)
Add, update or remove properties associated with the supplied file and
templates. This endpoint should be used instead of Properties
Declaration
public Task PropertiesUpdateAsync(string path, IEnumerable<PropertyGroupUpdate> updatePropertyGroups)
Parameters
Type | Name | Description |
---|---|---|
System. |
path | A unique identifier for the file or folder. |
System. |
updatePropertyGroups | The property groups "delta" updates to apply. |
Returns
Type | Description |
---|---|
System. |
The task that represents the asynchronous send operation. |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Update |
TemplatesAddForUserAsync(AddTemplateArg)
Add a template associated with a user. See Properties
Declaration
public Task<AddTemplateResult> TemplatesAddForUserAsync(AddTemplateArg addTemplateArg)
Parameters
Type | Name | Description |
---|---|---|
Add |
addTemplateArg | The request parameters |
Returns
Type | Description |
---|---|
System. |
The task that represents the asynchronous send operation. The TResult parameter contains the response from the server. |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Modify |
TemplatesAddForUserAsync(String, String, IEnumerable<PropertyFieldTemplate>)
Add a template associated with a user. See Properties
Declaration
public Task<AddTemplateResult> TemplatesAddForUserAsync(string name, string description, IEnumerable<PropertyFieldTemplate> fields)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | Display name for the template. Template names can be up to 256 bytes. |
System. |
description | Description for the template. Template descriptions can be up to 1024 bytes. |
System. |
fields | Definitions of the property fields associated with this template. There can be up to 32 properties in a single template. |
Returns
Type | Description |
---|---|
System. |
The task that represents the asynchronous send operation. The TResult parameter contains the response from the server. |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Modify |
TemplatesGetForUserAsync(GetTemplateArg)
Get the schema for a specified template. This endpoint can't be called on a team member or admin's behalf.
Declaration
public Task<GetTemplateResult> TemplatesGetForUserAsync(GetTemplateArg getTemplateArg)
Parameters
Type | Name | Description |
---|---|---|
Get |
getTemplateArg | The request parameters |
Returns
Type | Description |
---|---|
System. |
The task that represents the asynchronous send operation. The TResult parameter contains the response from the server. |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Template |
TemplatesGetForUserAsync(String)
Get the schema for a specified template. This endpoint can't be called on a team member or admin's behalf.
Declaration
public Task<GetTemplateResult> TemplatesGetForUserAsync(string templateId)
Parameters
Type | Name | Description |
---|---|---|
System. |
templateId | An identifier for template added by route See Templates |
Returns
Type | Description |
---|---|
System. |
The task that represents the asynchronous send operation. The TResult parameter contains the response from the server. |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Template |
TemplatesListForUserAsync()
Get the template identifiers for a team. To get the schema of each template
use Templates
Declaration
public Task<ListTemplateResult> TemplatesListForUserAsync()
Returns
Type | Description |
---|---|
System. |
The task that represents the asynchronous send operation. The TResult parameter contains the response from the server. |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Template |
TemplatesRemoveForUserAsync(RemoveTemplateArg)
Permanently removes the specified template created from Templates
Declaration
public Task TemplatesRemoveForUserAsync(RemoveTemplateArg removeTemplateArg)
Parameters
Type | Name | Description |
---|---|---|
Remove |
removeTemplateArg | The request parameters |
Returns
Type | Description |
---|---|
System. |
The task that represents the asynchronous send operation. |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Template |
TemplatesRemoveForUserAsync(String)
Permanently removes the specified template created from Templates
Declaration
public Task TemplatesRemoveForUserAsync(string templateId)
Parameters
Type | Name | Description |
---|---|---|
System. |
templateId | An identifier for a template created by Templates |
Returns
Type | Description |
---|---|
System. |
The task that represents the asynchronous send operation. |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Template |
TemplatesUpdateForUserAsync(UpdateTemplateArg)
Update a template associated with a user. This route can update the template name, the template description and add optional properties to templates. This endpoint can't be called on a team member or admin's behalf.
Declaration
public Task<UpdateTemplateResult> TemplatesUpdateForUserAsync(UpdateTemplateArg updateTemplateArg)
Parameters
Type | Name | Description |
---|---|---|
Update |
updateTemplateArg | The request parameters |
Returns
Type | Description |
---|---|
System. |
The task that represents the asynchronous send operation. The TResult parameter contains the response from the server. |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Modify |
TemplatesUpdateForUserAsync(String, String, String, IEnumerable<PropertyFieldTemplate>)
Update a template associated with a user. This route can update the template name, the template description and add optional properties to templates. This endpoint can't be called on a team member or admin's behalf.
Declaration
public Task<UpdateTemplateResult> TemplatesUpdateForUserAsync(string templateId, string name = null, string description = null, IEnumerable<PropertyFieldTemplate> addFields = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
templateId | An identifier for template added by See Templates |
System. |
name | A display name for the template. template names can be up to 256 bytes. |
System. |
description | Description for the new template. Template descriptions can be up to 1024 bytes. |
System. |
addFields | Property field templates to be added to the group template. There can be up to 32 properties in a single template. |
Returns
Type | Description |
---|---|
System. |
The task that represents the asynchronous send operation. The TResult parameter contains the response from the server. |
Exceptions
Type | Condition |
---|---|
Api |
Thrown if there is an error
processing the request; This will contain a Modify |