GET | /User/Media/Shared |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Size | form | int | No | |
Page | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Data | form | List<T> | No | |
PaginationInfo | form | PaginationInfoModel | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PageNumber | form | int | No | |
RecordCount | form | int | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /User/Media/Shared HTTP/1.1 Host: tstsrvs.redhotpie.com.au Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"Data":[{"MediaType":"Undefined","DateCreated":"\/Date(-62135596800000-0000)\/","Data":{},"DateAccessed":"\/Date(-62135596800000-0000)\/"}],"PaginationInfo":{"PageNumber":0,"RecordCount":0}}