diff --git a/distribution-ios-push-notification.md b/distribution-ios-push-notification.md index 8ee61a5..0a5df03 100644 --- a/distribution-ios-push-notification.md +++ b/distribution-ios-push-notification.md @@ -89,13 +89,14 @@ The minimum required [permission level](index#permission-level) is: ### Example XML Response + message="The push notification was successfully snet to all registered iOS devices" + cached="0"/> ### Example JSON Response { "status": "ok", - "message": "The push notification was successfully to all registered iOS devices", + "message": "The push notification was successfully snet to all registered iOS devices", "permission_level":"super", "cached":"0", "photo":{}, diff --git a/index.md b/index.md index bd3329d..0c008a1 100644 --- a/index.md +++ b/index.md @@ -207,12 +207,15 @@ Methods for creating and managing live event video streams. Methods for uploading and managing videos and photos. -* [/api/photo/delete](photo-delete): Delete a photo or video +* [/api/photo/delete](photo-delete): Delete a photo or video. +* [/api/photo/frame](photo-frame): Extract a single frame of a video clip as a JPEG image. * [/api/photo/get-upload-token](photo-get-upload-token): Get a token for browser-based and non-authenticated uploading. -* [/api/photo/list](photo-list): List and search through photos and videos +* [/api/photo/list](photo-list): List and search through photos and videos. +* [/api/photo/rate](photo-rate): Rate a photo or video. * [/api/photo/redeem-upload-token](photo-redeem-upload-token): Upload a video or photo using an [upload token](photo-get-upload-token). * [/api/photo/replace](photo-replace): Replace a photo, replace a video or update the thumbnail of a video. -* [/api/photo/update](photo-update): Update the meta data of a photo or video +* [/api/photo/update](photo-update): Update the meta data of a photo or video. +* [/api/photo/update-upload-token](photo-update-upload-token): Update a photo or video. which has previously been or is in the process of being uploaded to the site. * [/api/photo/upload](photo-upload): Upload a new photo or video. ### Players diff --git a/photo-rate.md b/photo-rate.md new file mode 100644 index 0000000..63eaae9 --- /dev/null +++ b/photo-rate.md @@ -0,0 +1,53 @@ +# API Method: /api/photo/rate +# flags=comments + +Rate a photo or video. + +### Parameters + + + + + + + + + + + + +
ParameterDescription
+ photo_id (required) + + The ID of the video to rate. +
+ rating (required) + + The rating normalized to a float value between 0 and 5. You will be in charge of converting the internal 0-1 value to match your site's rating scheme. For example, in a 5-star rating system, 0 stars will convert to a 0 rating, 1 star is 0.25 and so on up to 5 stars and 1. +
+ +### Permission level + +The minimum required [permission level](index#permission-level) is: + + anonymous + + +### Example XML Response + + + 0.5 + + +### Example JSON Response + + { + "status": "ok", + "permission_level":"anonymous", + "cached":"0", + "rating":{"rating": "0.5"}, + "p": "1", + "size": "1", + "site": ..., + "endpoint": "/api/photo/rate" + } diff --git a/utility-geography.md b/utility-geography.md new file mode 100644 index 0000000..ca8c317 --- /dev/null +++ b/utility-geography.md @@ -0,0 +1,15 @@ +# API Method: /api/utility/geography +# flags=comments + +Detect geopgraphical location from IP. + +### Response + + + DK + + + + + + diff --git a/utility-video-capabilties.md b/utility-video-capabilties.md new file mode 100644 index 0000000..7da7d9b --- /dev/null +++ b/utility-video-capabilties.md @@ -0,0 +1,22 @@ +# API Method: /api/utility/video-capabilties +# flags=comments + +List mobile capabilities. + +### Response + + + video_mobile_h263_aac + t + iPhone + t + Apple + t + t + t + t + apple_iphone_ver2_1 + t + t + 0.15277777777777777778 +