This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.IUploadedFiles>()
and is defined in Telligent.Evolution.Platform.dll
Methods
ICentralizedFile AddUpdate(string uploadContext, string fileName, Stream content);
Add a temporary file to the uploaded files list for the accessing user and context.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
uploadContext | string | Upload Context | Required | ||
fileName | string | File Name | Required | ||
content | Stream | Content | Required |
Return Type
void Clear(string uploadContext);
Remove all temporary files for the accessing user and context.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
uploadContext | string | Upload Context | Required |
string CreateContextId();
Create a new temporary upload context.
Return Type
string
ICentralizedFile Get(string uploadContext, string fileName);
Get a file from the temporary uploaded file list for the accessing user and context.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
uploadContext | string | Upload Context | Required | ||
fileName | string | File Name | Required |
Return Type
ICentralizedFile[] List(string uploadContext);
List all files in the temporary files uploaded by the accessing user against the provided context.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
uploadContext | string | Upload Context | Required |