Difference between revisions of "Geoblocking API"

From DocuWiki
(Post)
(Post)
Line 5: Line 5:
 
== Post ==
 
== Post ==
 
Allows the creation of rules to limit a video's audience based on geographic location determined by the viewers' IP address.
 
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,
 +
 +
 +
=== Errors ===
 +
* ResourceNotFound , 404, Details or video was missing or not found on the request.
  
 
== Delete ==
 
== Delete ==

Revision as of 12:08, 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,


Errors

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

Delete

Setprofile

IsAllowed

Exclude