File
This Reporting API returns information on files in your Shufflrr portal
Inputs
| Parameter | Data Type | Required? | Meaning | Notes |
|---|---|---|---|---|
| CreatedById | Guid | No | Use to filter by the user ID of the user that created the files | |
| StartCreatedDate | DateTime | No | Use to filter files created after this date | |
| EndCreatedDate | DateTime | No | Use to filter files created before this date | |
| ParentFolderId | Int | No | Use to filter files that are inside of a specific folder | This will not return files that are in subfolders of the specified folder |
| SlideId | Int | No | Use to filter to the file that contains the specific Slide | |
| FileId | Int | No | Use to filter to the file specified | |
| $skip | Int | No | Use this to skip over the specified number of results | This is used to allow for pagination |
| $top | Int | No | Use this to limit the number of results to return at once | This is used to allow for pagintation |
| $inlinecount | String | No | Use this to include a count of the total results | Use the values 'allpages' to get the count or 'none' (or don't send the parameter) to not return the count |
| $orderby | String | No | Use this to specify the filed name to order by and the direction (desc or asc) to order in | Separate the field name and the direction with '%20' |
| Example: | ||||
| CreatedDate%20desc |
Outputs
| Field | Data Type | Meaning | Notes |
|---|---|---|---|
| Id | Int | This is the ID of the file | |
| Name | String | This is the Name of the file | |
| FileType | FileType | This is the Type of File | The possilbe values are: |
| – Document | |||
| – Image | |||
| – Video | |||
| – Presentation | |||
| ParentFolderId | Int | This is the ID of the folder that the file is in | |
| FolderName | String | This is the name of the folder that the file is in | |
| FolderPath | String | This is the path to the folder that the file is in | |
| CreatedById | Guid | This is the ID of the user that created the file | |
| CreatedByName | String | This is the Name of the user that created the file | |
| CreatedDate | DateTime | This is the Date the file was created on | |
| Size | Long | This is the size of the file in bytes | |
| DownloadCount | Int | This is the number of times the file has been downloaded | This is counting downloading from inside Shufflrr, not from Shares |
| ViewCount | Int | This is the number of tiems the file has been viewed | This is counting views inside Shufflrr, not from shares |
| LikeCount | Int | This is the number of times that the file has been liked | |
| CommentCount | Int | This is the number of comments on the fie | |
| ShareCount | Int | This is the number of shares that have been created for the file | This is the number of share links created, not the number of times someone has accessed the share link |
| CreatedInShufflrr | Boolean | This is if the file was created inside of Shufflrr or if it was uploaded to Shufflrr | True indicates it was created Shufflrr |
| False indicates it was created outside of Shufflr and was uploaded |