API 1.0 Getting Started
API 1.0 General
API 1.0 Reference
API 1.0 Miscellaneous
API 1.0 Changelist
The pois/search request is sent to your servers Callback API, whenever a user views your channel. This request needs to return all information in the perimeter of the user, that is necessary to experience your channel as anticipated.
Please see Parameter Overview for more information about parameters to be returned by your server.
Also, have a look at any of the Quickstarts for an example.
The junaio server will access your servers Callback Api via this request:
[YourChannelsCallbackURL]/pois/search/[?Parameters]
Example request:
http://mychannels.exampleurl.com/pois/search/?uid=someUID&l=37.777933,-122.421455,0&p=3000&m=20
| Implementation: | Callback request from junaio |
| Method: | GET |
| Parameters: | |
| l: | [latitude:float],[longitude:float],[altitude:float] Current location of the user. |
| o: | [x:float],[y:float],[z:float] Current orientation of the user. |
| p: | [perimeter:int] Perimeter around the users location of the requested information. |
| m: | [limit:int] Maximum amount of POIs to be returned to the client. The junaio server will by default process max. 40 POIs per request. |
| uid: | [usertoken:alnum] Unique usertoken. |
| allowmovietextures: | [true/false:boolean] Determines, whether the user's device will support movie textures |
| device: | [device:string] The device with which the channel was accessed. iphone, ipad, android or web. |
| apilevel: | [apilevel: int] Determines the apilevel of the client accessing your channel. - starting junaio 3.1 - apilevel 3 - models do not need to be encrypted - starting junaio 3.5 - apilevel 4 - tracking files do not need to be encrypted |
| Header Parameters: | |
| HTTP_ACCEPT_LANGUAGE: | [language_code:string] de (German), en (English), jp (japanese) or es (Spanish) |
| Returns: | |
| Expects Channel Content return |
