Difference between revisions of "Geoblocking API"

From DocuWiki
(Post)
(Post)
Line 14: Line 14:
 
* `order`, (Integer), Required,  
 
* `order`, (Integer), Required,  
  
 +
=== Response ===
  
 
=== Errors ===
 
=== Errors ===

Revision as of 13:14, 26 February 2014

Location API allows you to perform various checks against a viewers' IP address in order to ensure that they would be able to view content in a given region.


Get

Post

Allows the creation of rules to limit a video's audience based on geographic location determined by the viewers' IP address.

Request URL

http://console.247platform.com/api/geoblocking/post/[Video Id]/?sesionId=[Session ID]&userId=[Client ID]

Parameters

  • `check`, (String), Required,
  • `value`, (String), Required,
  • `order`, (Integer), Required,

Response

Errors

  • ResourceNotFound , 404, Details or video was missing or not found on the request.

Delete

Setprofile

IsAllowed

Exclude