Liste des commandes API

Gestion des comptes utilisateurs

/ojn_api/accounts/auth(login,pass) : authentification d'un utilisateur

/ojn_api/accounts/changePassword(login,pass) :

/ojn_api/accounts/addBunny(login,bunnyid) :

/ojn_api/accounts/removeBunny(login,bunnyid) :

/ojn_api/accounts/removeZtamp(login,zid) :

/ojn_api/accounts/settoken(tk) :

/ojn_api/accounts/setlanguage(login,lng) :

/ojn_api/accounts/getlanguage(login) :

/ojn_api/accounts/infos(user) :

Lapin

/ojn_api/bunny/<MAC_ADDRESS>/registerPlugin(name) :

/ojn_api/bunny/<MAC_ADDRESS>/unregisterPlugin(name) :

/ojn_api/bunny/<MAC_ADDRESS>/getListOfActivePlugins() :

/ojn_api/bunny/<MAC_ADDRESS>/setSingleClickPlugin(name) :

/ojn_api/bunny/<MAC_ADDRESS>/setDoubleClickPlugin(name) :

/ojn_api/bunny/<MAC_ADDRESS>/getClickPlugins() :

/ojn_api/bunny/<MAC_ADDRESS>/getListOfKnownRFIDTags() :

/ojn_api/bunny/<MAC_ADDRESS>/setRFIDTagName(tag,name) :

/ojn_api/bunny/<MAC_ADDRESS>/setBunnyName(name) :

/ojn_api/bunny/<MAC_ADDRESS>/setService(service,value) :

/ojn_api/bunny/<MAC_ADDRESS>/resetPassword() :

/ojn_api/bunny/<MAC_ADDRESS>/resetOwner() :

/ojn_api/bunny/<MAC_ADDRESS>/disconnect() :

/ojn_api/bunny/<MAC_ADDRESS>/setInsomniac(insomniac) :

/ojn_api/bunny/<MAC_ADDRESS>/getInsomniac() :

/ojn_api/bunny/<MAC_ADDRESS>/setPublicVAPI(public) :

/ojn_api/bunny/<MAC_ADDRESS>/getPublicVAPI() :

/ojn_api/bunny/<MAC_ADDRESS>/enableVAPI() :

/ojn_api/bunny/<MAC_ADDRESS>/disableVAPI() :

/ojn_api/bunny/<MAC_ADDRESS>/getVAPIStatus() :

/ojn_api/bunny/<MAC_ADDRESS>/getVAPIToken() :

/ojn_api/bunny/<MAC_ADDRESS>/setVAPIToken(tk) :

/ojn_api/bunny/<MAC_ADDRESS>/getlast(param) :

/ojn_api/bunny/<MAC_ADDRESS>/getlasts() :

Ztamp

/ojn_api/ztamp/<SERIAL>/registerPlugin(name) :

/ojn_api/ztamp/<SERIAL>/unregisterPlugin(name) :

/ojn_api/ztamp/<SERIAL>/getListOfActivePlugins() :

/ojn_api/ztamp/<SERIAL>/setZtampName(name) :

/ojn_api/ztamp/<SERIAL>/removeOwner(login) :

/ojn_api/ztamp/<SERIAL>/resetOwner() :

Plugins

Wizz.cc flux

/ojn_api/bunny/<MAC_ADDRESS>/wizzflux/addrfid(tag,name) :

/ojn_api/bunny/<MAC_ADDRESS>/wizzflux/removerfid(tag) :

/ojn_api/bunny/<MAC_ADDRESS>/wizzflux/addwebcast(time,name) :

/ojn_api/bunny/<MAC_ADDRESS>/wizzflux/removewebcast(time) :

/ojn_api/bunny/<MAC_ADDRESS>/wizzflux/setdefault(name) :

/ojn_api/bunny/<MAC_ADDRESS>/wizzflux/getdefault() :

/ojn_api/bunny/<MAC_ADDRESS>/wizzflux/play(name) :

/ojn_api/bunny/<MAC_ADDRESS>/wizzflux/listwebcast() :

/ojn_api/bunny/<MAC_ADDRESS>/wizzflux/listflux() :

/ojn_api/bunny/<MAC_ADDRESS>/wizzflux/getflux() :

/ojn_api/bunny/<MAC_ADDRESS>/wizzflux/setflux(list) :

Colorbreathing

/ojn_api/bunny/<MAC_ADDRESS>/colorbreathing/getColorList() :

/ojn_api/bunny/<MAC_ADDRESS>/colorbreathing/setColor(name) :

/ojn_api/bunny/<MAC_ADDRESS>/colorbreathing/getColor() :

Ephemeride

/ojn_api/bunny/<MAC_ADDRESS>/ephemeride/addwebcast(time) :

/ojn_api/bunny/<MAC_ADDRESS>/ephemeride/removewebcast(time) :

/ojn_api/bunny/<MAC_ADDRESS>/ephemeride/getwebcastslist() :

Mémo

/ojn_api/bunny/<MAC_ADDRESS>/memo/addwebcast(day,time,message) :

/ojn_api/bunny/<MAC_ADDRESS>/memo/removewebcast(day,time) :

/ojn_api/bunny/<MAC_ADDRESS>/memo/getwebcastslist() :

/ojn_api/bunny/<MAC_ADDRESS>/memo/adddaily(time,message) :

/ojn_api/bunny/<MAC_ADDRESS>/memo/removedaily(time) :

/ojn_api/bunny/<MAC_ADDRESS>/memo/getdailylist() :

Test

/ojn_api/bunny/<MAC_ADDRESS>/test/test(type) :

Météo

/ojn_api/bunny/<MAC_ADDRESS>/weather/addrfid(tag,city) :

/ojn_api/bunny/<MAC_ADDRESS>/weather/removerfid(tag) :

/ojn_api/bunny/<MAC_ADDRESS>/weather/addcity(city) :

/ojn_api/bunny/<MAC_ADDRESS>/weather/removecity(city) :

/ojn_api/bunny/<MAC_ADDRESS>/weather/getcitieslist() :

/ojn_api/bunny/<MAC_ADDRESS>/weather/setLed(status) :

/ojn_api/bunny/<MAC_ADDRESS>/weather/getLed() :

/ojn_api/bunny/<MAC_ADDRESS>/weather/setdefaultcity(city) :

/ojn_api/bunny/<MAC_ADDRESS>/weather/getdefaultcity() :

/ojn_api/bunny/<MAC_ADDRESS>/weather/addwebcast(time,city) :

/ojn_api/bunny/<MAC_ADDRESS>/weather/removewebcast(time) :

/ojn_api/bunny/<MAC_ADDRESS>/weather/getwebcastslist() :

/ojn_api/bunny/<MAC_ADDRESS>/weather/setlang(lg) :

/ojn_api/bunny/<MAC_ADDRESS>/weather/getlang() :

Webradio

/ojn_api/bunny/<MAC_ADDRESS>/webradio/addrfid(tag,name) :

/ojn_api/bunny/<MAC_ADDRESS>/webradio/removerfid(tag) :

/ojn_api/bunny/<MAC_ADDRESS>/webradio/addpreset(name,url) :

/ojn_api/bunny/<MAC_ADDRESS>/webradio/removepreset(name) :

/ojn_api/bunny/<MAC_ADDRESS>/webradio/addwebcast(time,name) :

/ojn_api/bunny/<MAC_ADDRESS>/webradio/removewebcast(time) :

/ojn_api/bunny/<MAC_ADDRESS>/webradio/setdefault(name) :

/ojn_api/bunny/<MAC_ADDRESS>/webradio/getdefault() :

/ojn_api/bunny/<MAC_ADDRESS>/webradio/play(name) :

/ojn_api/bunny/<MAC_ADDRESS>/webradio/playurl(url) :

/ojn_api/bunny/<MAC_ADDRESS>/webradio/listwebcast() :

/ojn_api/bunny/<MAC_ADDRESS>/webradio/listpreset() :

Packet

/ojn_api/bunny/<MAC_ADDRESS>/packet/sendPacket(data) :

/ojn_api/bunny/<MAC_ADDRESS>/packet/sendMessage(msg) :

Airquality

/ojn_api/bunny/<MAC_ADDRESS>/airquality/addrfid(tag,city) :

/ojn_api/bunny/<MAC_ADDRESS>/airquality/removerfid(tag) :

/ojn_api/bunny/<MAC_ADDRESS>/airquality/addcity(city) :

/ojn_api/bunny/<MAC_ADDRESS>/airquality/removecity(city) :

/ojn_api/bunny/<MAC_ADDRESS>/airquality/getcitieslist() :

/ojn_api/bunny/<MAC_ADDRESS>/airquality/setdefaultcity(city) :

/ojn_api/bunny/<MAC_ADDRESS>/airquality/getdefaultcity() :

/ojn_api/bunny/<MAC_ADDRESS>/airquality/addwebcast(time,city) :

/ojn_api/bunny/<MAC_ADDRESS>/airquality/removewebcast(time) :

/ojn_api/bunny/<MAC_ADDRESS>/airquality/getwebcastslist() :

Sleep

/ojn_api/bunny/<MAC_ADDRESS>/sleep/sleep() :

/ojn_api/bunny/<MAC_ADDRESS>/sleep/wakeup() :

/ojn_api/bunny/<MAC_ADDRESS>/sleep/setup(wakeupList,sleepList) :

/ojn_api/bunny/<MAC_ADDRESS>/sleep/getsetup() :

Music

/ojn_api/bunny/<MAC_ADDRESS>/music/addrfid(tag,music) :

/ojn_api/bunny/<MAC_ADDRESS>/music/removerfid(tag) :

/ojn_api/bunny/<MAC_ADDRESS>/music/getfileslist() :

Ears

/ojn_api/bunny/<MAC_ADDRESS>/ears/getFriend() :

/ojn_api/bunny/<MAC_ADDRESS>/ears/setFriend(id) :

Callurl

/ojn_api/bunny/<MAC_ADDRESS>/callurl/addrfid(tag,url) :

/ojn_api/bunny/<MAC_ADDRESS>/callurl/removerfid(tag) :

/ojn_api/bunny/<MAC_ADDRESS>/callurl/setdefaulturl(url) :

/ojn_api/bunny/<MAC_ADDRESS>/callurl/getdefaulturl() :

/ojn_api/bunny/<MAC_ADDRESS>/callurl/addwebcast(time,url) :

/ojn_api/bunny/<MAC_ADDRESS>/callurl/removewebcast(time) :

/ojn_api/bunny/<MAC_ADDRESS>/callurl/getwebcastslist() :

/ojn_api/bunny/<MAC_ADDRESS>/callurl/addurl(url) :

/ojn_api/bunny/<MAC_ADDRESS>/callurl/removeurl(url) :

/ojn_api/bunny/<MAC_ADDRESS>/callurl/geturlslist() :

Taïchi

/ojn_api/bunny/<MAC_ADDRESS>/taichi/setFrequency(value) :

/ojn_api/bunny/<MAC_ADDRESS>/taichi/getFrequency() :

TTS

/ojn_api/bunny/<MAC_ADDRESS>/tts/say(text) :

Stats

/ojn_api/plugin/stats/getcolors() :

/ojn_api/plugin/stats/getplugins() :

/ojn_api/plugin/stats/getbunniesip() :

/ojn_api/plugin/stats/getbunniesname() :

/ojn_api/plugin/stats/getbunniesstatus() :

/ojn_api/plugin/stats/getbunniesinformation() :

Cinéma

/ojn_api/bunny/<MAC_ADDRESS>/cinema/addwebcast(day,time) :

/ojn_api/bunny/<MAC_ADDRESS>/cinema/removewebcast(day,time) :

/ojn_api/bunny/<MAC_ADDRESS>/cinema/getwebcastslist() :

TV

/ojn_api/bunny/<MAC_ADDRESS>/tv/addwebcast(time) :

/ojn_api/bunny/<MAC_ADDRESS>/tv/removewebcast(time) :

/ojn_api/bunny/<MAC_ADDRESS>/tv/listwebcast() :

/ojn_api/bunny/<MAC_ADDRESS>/tv/setchannel(list) :

/ojn_api/bunny/<MAC_ADDRESS>/tv/listchannel() :

RATP

/ojn_api/bunny/<MAC_ADDRESS>/ratp/addarret(item) :

/ojn_api/bunny/<MAC_ADDRESS>/ratp/removearret(item) :

/ojn_api/bunny/<MAC_ADDRESS>/ratp/getlistarret() :

/ojn_api/bunny/<MAC_ADDRESS>/ratp/setdefaultarret(item) :

/ojn_api/bunny/<MAC_ADDRESS>/ratp/getdefaultarret() :

/ojn_api/bunny/<MAC_ADDRESS>/ratp/addwebcast(time,item) :

/ojn_api/bunny/<MAC_ADDRESS>/ratp/removewebcast(time) :

/ojn_api/bunny/<MAC_ADDRESS>/ratp/getwebcastslist() :

/ojn_api/bunny/<MAC_ADDRESS>/ratp/addrfid(tag,item) :

/ojn_api/bunny/<MAC_ADDRESS>/ratp/removerfid(tag) :

Surprise

/ojn_api/bunny/<MAC_ADDRESS>/surprise/setFolder(name) :

/ojn_api/bunny/<MAC_ADDRESS>/surprise/getFolder() :

/ojn_api/bunny/<MAC_ADDRESS>/surprise/getFolderList() :

/ojn_api/bunny/<MAC_ADDRESS>/surprise/setFrequency(value) :

/ojn_api/bunny/<MAC_ADDRESS>/surprise/getFrequency() :

Clock

/ojn_api/bunny/<MAC_ADDRESS>/clock/setVoice(name) :

/ojn_api/bunny/<MAC_ADDRESS>/clock/getVoiceList() :

Actions



Publicité

commandes_api.txt · Dernière modification: 2012/04/09 23:13 par alexis
Sauf mention contraire, le contenu de ce wiki est placé sous la licence suivante : CC Attribution-Share Alike 3.0 Unported