-
loginstatus
-
item
-
search
-
imagerotate
-
count
-
team
-
media
-
logout
-
login
-
digest
-
loginstatus Get login status
get
Gets the login status of a human
get http://huginnmuninn.fr/fr/api.json/v2/loginstatus
Example
get http://huginnmuninn.fr/fr/api.json/v2/loginstatus
Service status & headers
Response
-
item Handle items
delete
Delete an item
delete http://huginnmuninn.fr/fr/api.json/v2/item
Endpoint
Name Type Description Example item string The item table you want to delete cast itemid int The item id 123 Example
delete http://huginnmuninn.fr/fr/api.json/v2/item/cast/123
Service status & headers
Response
get
Get one or several items
get http://huginnmuninn.fr/fr/api.json/v2/item
Endpoint
Name Type Description Example item string The item you want to get cast [itemid = null] int An optional item id to get Parameters
Name Type Description Example param array An associated array param[status]=live¶m[system]=true field string A comma separated list of fields for filtering the returned data field=id,key,title Example
get http://huginnmuninn.fr/fr/api.json/v2/item/cast?param[status]=live¶m[system]=true&field=id,key,title
Service status & headers
Response
post
Post an item
post http://huginnmuninn.fr/fr/api.json/v2/item
Endpoint
Name Type Description Example item string The item table you want to post on cast [itemid = null] int An optional item id for updates 123 Input
Name Type Description Example data array An associated array of data named after the item's table item:"cast",cast:{status:"live"},test:true Example
post http://huginnmuninn.fr/fr/api.json/v2/item/cast/123
data {item:"cast",cast:{status:"live"},test:true}
Service status & headers
Response
-
search Search the content of a map
get
Get a search result
get http://huginnmuninn.fr/fr/api.json/v2/search
Endpoint
Name Type Description Example map int The map you want to search on 1 [limit = ] int The optional limit of results you want to get 50 Parameters
Name Type Description Example q string The compulsory query string q=los angeles field string A comma separated list of fields for filtering the returned data field=id,title,lat,lng Example
get http://huginnmuninn.fr/fr/api.json/v2/search/1/50?q=los angeles&field=id,title,lat,lng
Service status & headers
Response
-
imagerotate Rotate an image with a given angle
get
Rotate an image with a given angle
get http://huginnmuninn.fr/fr/api.json/v2/imagerotate
Endpoint
Name Type Description Example file string The filename of the media to get 4f95b934f4c9fdf3.jpg degrees int Rotation angle, in degrees. The rotation angle is interpreted as the number of degrees to rotate the image clockwise 90 Example
get http://huginnmuninn.fr/fr/api.json/v2/imagerotate/4f95b934f4c9fdf3.jpg/90
Service status & headers
Response
-
count Count items
get
Get the count of some items
get http://huginnmuninn.fr/fr/api.json/v2/count
Endpoint
Name Type Description Example item string The item you want to get cast Parameters
Name Type Description Example param array An associated array param[status]=live¶m[system]=true Example
get http://huginnmuninn.fr/fr/api.json/v2/count/cast?param[status]=live¶m[system]=true
Service status & headers
Response
-
team Handle items
get
Get the team of a map
get http://huginnmuninn.fr/fr/api.json/v2/team
Endpoint
Name Type Description Example map int The current map 1 Parameters
Name Type Description Example field string A comma separated list of fields for filtering the returned data field=id,key,title Example
get http://huginnmuninn.fr/fr/api.json/v2/team/1?field=id,key,title
Service status & headers
Response
-
media Handle media files
get
Get a media or a thumbnail
get http://huginnmuninn.fr/fr/api.json/v2/media
Endpoint
Name Type Description Example file string The filename of the media to get 4f95b934f4c9fdf3.jpg [width = null] int The optional width for image resize in px 400 [height = null] int The optional height for image resize in px Example
get http://huginnmuninn.fr/fr/api.json/v2/media/4f95b934f4c9fdf3.jpg/400
Service status & headers
Response
post
Post a media
post http://huginnmuninn.fr/fr/api.json/v2/media
Input
Name Type Description Example data array An associated array of files under the $_FILES format OR a single cell called base64 and containing a base 64 encoded media Example
post http://huginnmuninn.fr/fr/api.json/v2/media
Service status & headers
Response
-
logout Log out humans
get
Log out a human
get http://huginnmuninn.fr/fr/api.json/v2/logout
Parameters
Name Type Description Example login array A possible text test=true Example
get http://huginnmuninn.fr/fr/api.json/v2/logout?test=true
Service status & headers
Response
-
login Log in humans
get
Login a human
get http://huginnmuninn.fr/fr/api.json/v2/login
Parameters
Name Type Description Example login array The array of login and password login[login]=test&login[password]=123 Example
get http://huginnmuninn.fr/fr/api.json/v2/login?login[login]=test&login[password]=123
Service status & headers
Response
-
digest Build a digest of all user's data
get
Get a digest
get http://huginnmuninn.fr/fr/api.json/v2/digest
Endpoint
Name Type Description Example map int The map you want to search on 1 [limit = ] int The optional limit of results you want to get 50 Parameters
Name Type Description Example field string A comma separated list of fields for filtering the returned data field=id,title,lat,lng Example
get http://huginnmuninn.fr/fr/api.json/v2/digest/1/50?field=id,title,lat,lng
Service status & headers
Response