GET | /Club/Media/{ID} |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ID | path | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
MediaID | form | int | No | |
ParentID | form | int | No | |
ParentType | form | ClubMediaParentType | No | |
MediaType | form | MediaType | No | |
Photo | form | ClubMediaPhoto | No | |
Video | form | ClubMediaVideo | No | |
CommunityAction | form | CommunityAction | No | |
SEOUrl | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ID | form | int | No | |
FullUrl | form | string | No | |
Width | form | int | No | |
Height | form | int | No | |
ApprovalState | form | GenericStatus | No | |
ImageType | form | ProfileImageType | No | |
ImageActionType | form | ImageActionType | No | |
ShowSafeMode | form | bool | No | |
ThumbUrl | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ApprovalState | form | GenericStatus | No | |
ImageType | form | ProfileImageType | No | |
ImageActionType | form | ImageActionType | No | |
ShowSafeMode | form | bool | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Classification | form | PhotoClassification | No | |
VideoID | form | int | No | |
VideoUrl | form | string | No | |
ThumbUrl | form | string | No | |
Duration | form | int | No | |
ContentType | form | string | No | |
ContentLength | form | long | No | |
HSLVideoUrl | form | string | No | |
VideoCode | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
CommentCount | form | int | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
IsLiked | form | bool | No | |
LikeCount | 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 /Club/Media/{ID} HTTP/1.1 Host: tstsrvs.redhotpie.com.au Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"MediaID":0,"ParentID":0,"ParentType":"Undefined","MediaType":"Undefined","Photo":{"ID":0,"FullUrl":"String","Width":0,"Height":0,"ApprovalState":"Pending","ImageType":"None","ImageActionType":"ShowImage","ShowSafeMode":false,"ThumbUrl":"String"},"Video":{"ApprovalState":"Pending","ImageType":"None","ImageActionType":"ShowImage","ShowSafeMode":false,"Classification":"Undefined","VideoID":0,"VideoUrl":"String","ThumbUrl":"String","Duration":0,"ContentType":"String","ContentLength":0,"HSLVideoUrl":"String","VideoCode":"String"},"CommunityAction":{"CommentCount":0,"IsLiked":false,"LikeCount":0},"SEOUrl":"String"}