Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
commandes_api [2012/04/09 23:01]
alexis
commandes_api [2019/08/25 13:56] (current)
Line 6: Line 6:
  
 /ojn_api/accounts/changePassword(login,pass) : /ojn_api/accounts/changePassword(login,pass) :
- 
-/ojn_api/accounts/registerNewAccount(login,username,pass) : 
- 
-/ojn_api/accounts/removeAccount(login) : 
  
 /ojn_api/accounts/addBunny(login,bunnyid) : /ojn_api/accounts/addBunny(login,bunnyid) :
Line 18: Line 14:
  
 /ojn_api/accounts/settoken(tk) : /ojn_api/accounts/settoken(tk) :
- 
-/ojn_api/accounts/setadmin(user) : 
  
 /ojn_api/accounts/setlanguage(login,lng) : /ojn_api/accounts/setlanguage(login,lng) :
Line 26: Line 20:
  
 /ojn_api/accounts/infos(user) : /ojn_api/accounts/infos(user) :
- 
-/ojn_api/accounts/GetUserlist() : 
- 
-/ojn_api/accounts/GetConnectedUsers() : 
- 
-/ojn_api/accounts/GetListOfAdmins() : 
- 
-===== Gestion des lapins ===== 
- 
-/ojn_api/bunnies/getListOfConnectedBunnies() : 
- 
-/ojn_api/bunnies/getListOfBunnies() : 
- 
-/ojn_api/bunnies/removeBunny(serial) : 
- 
-/ojn_api/bunnies/addBunny(serial) : 
- 
-/ojn_api/bunnies/getListofAllBunnies() : 
- 
-/ojn_api/bunnies/getListofAllConnectedBunnies() : 
- 
-/ojn_api/bunnies/resetAllBunniesPassword() : 
  
 ===== Lapin ===== ===== Lapin =====
Line 98: Line 70:
  
 /ojn_api/bunny/<MAC_ADDRESS>/getlasts() : /ojn_api/bunny/<MAC_ADDRESS>/getlasts() :
- 
-===== Gestion des ztamps ===== 
- 
-/ojn_api/ztamps/getListOfZtamps() : 
- 
-/ojn_api/ztamps/getListOfAllZtamps() : 
  
 ===== Ztamp ===== ===== Ztamp =====
Line 118: Line 84:
  
 /ojn_api/ztamp/<SERIAL>/resetOwner() : /ojn_api/ztamp/<SERIAL>/resetOwner() :
- 
-===== Gestion des plugins ===== 
- 
-/ojn_api/plugins/getListOfPlugins() : 
- 
-/ojn_api/plugins/getListOfEnabledPlugins() : 
- 
-/ojn_api/plugins/getListOfBunnyPlugins() : 
- 
-/ojn_api/plugins/getListOfBunnyEnabledPlugins() : 
- 
-/ojn_api/plugins/getListOfZtampPlugins() : 
- 
-/ojn_api/plugins/getListOfZtampEnabledPlugins() : 
- 
-/ojn_api/plugins/getListOfRequiredPlugins() : 
- 
-/ojn_api/plugins/getListOfSystemPlugins() : 
- 
-/ojn_api/plugins/getListOfSystemEnabledPlugins() : 
- 
-/ojn_api/plugins/activatePlugin(name) : 
- 
-/ojn_api/plugins/deactivatePlugin(name) : 
- 
-/ojn_api/plugins/loadPlugin(filename) : 
- 
-/ojn_api/plugins/unloadPlugin(name) : 
- 
-/ojn_api/plugins/reloadPlugin(name) : 
  
 ===== Plugins ===== ===== Plugins =====
Line 190: Line 126:
  
 /ojn_api/bunny/<MAC_ADDRESS>/ephemeride/getwebcastslist() : /ojn_api/bunny/<MAC_ADDRESS>/ephemeride/getwebcastslist() :
 +
 ==== Mémo ==== ==== Mémo ====
  
Line 305: Line 242:
 ==== Music ==== ==== Music ====
  
-"addrfid(tag,music)", PluginMusic, Api_AddRFID +/ojn_api/bunny/<MAC_ADDRESS>/music/addrfid(tag,music) : 
-"removerfid(tag)", PluginMusic, Api_RemoveRFID + 
-"getfileslist()", PluginMusic, Api_getFilesList+/ojn_api/bunny/<MAC_ADDRESS>/music/removerfid(tag) : 
 + 
 +/ojn_api/bunny/<MAC_ADDRESS>/music/getfileslist() :
  
 ==== Ears ==== ==== Ears ====
  
-"getFriend()", PluginEars, Api_getFriend +/ojn_api/bunny/<MAC_ADDRESS>/ears/getFriend() : 
-"setFriend(id)", PluginEars, Api_setFriend+ 
 +/ojn_api/bunny/<MAC_ADDRESS>/ears/setFriend(id) :
  
 ==== Callurl ==== ==== Callurl ====
  
-"addrfid(tag,url)", PluginCallURL, Api_AddRFID +/ojn_api/bunny/<MAC_ADDRESS>/callurl/addrfid(tag,url) :
-"removerfid(tag)", PluginCallURL, Api_RemoveRFID +
-"setdefaulturl(url)", PluginCallURL, Api_setDefaultUrl +
-"getdefaulturl()", PluginCallURL, Api_getDefaultUrl +
-"addwebcast(time,url)", PluginCallURL, Api_AddWebcast +
-"removewebcast(time)", PluginCallURL, Api_RemoveWebcast +
-"getwebcastslist()", PluginCallURL, Api_ListWebcast +
-"addurl(url)", PluginCallURL, Api_addUrl +
-"removeurl(url)", PluginCallURL, Api_removeUrl +
-"geturlslist()", PluginCallURL, Api_getUrlsList+
  
-==== Taïchi ====+/ojn_api/bunny/<MAC_ADDRESS>/callurl/removerfid(tag) :
  
-"setFrequency(value)", PluginTaichi, Api_SetFrequency +/ojn_api/bunny/<MAC_ADDRESS>/callurl/setdefaulturl(url:
-"getFrequency()", PluginTaichi, Api_GetFrequency+
  
-==== TTS ====+/ojn_api/bunny/<MAC_ADDRESS>/callurl/getdefaulturl() :
  
-"say(text)", PluginTTS, Api_Say+/ojn_api/bunny/<MAC_ADDRESS>/callurl/addwebcast(time,url:
  
-==== Auth ====+/ojn_api/bunny/<MAC_ADDRESS>/callurl/removewebcast(time) :
  
-"setAuthMethod(name)", PluginAuth, Api_SelectAuth +/ojn_api/bunny/<MAC_ADDRESS>/callurl/getwebcastslist() :
-"getListOfAuthMethods()", PluginAuth, Api_GetListOfAuths+
  
-==== Locate ====+/ojn_api/bunny/<MAC_ADDRESS>/callurl/addurl(url) :
  
-"setcustomlocate(param,value)", PluginLocate, Api_SetCustomLocateSetting +/ojn_api/bunny/<MAC_ADDRESS>/callurl/removeurl(url:
-"getcustomlocate(param)", PluginLocate, Api_GetCustomLocateSetting+
  
-==== MsgAll ====+/ojn_api/bunny/<MAC_ADDRESS>/callurl/geturlslist() :
  
-"say(text)", PluginMsgall, Api_Say+==== Taïchi ====
  
-==== RFID ====+/ojn_api/bunny/<MAC_ADDRESS>/taichi/setFrequency(value) :
  
-"getLastTag()", PluginRFID, Api_GetLastTag +/ojn_api/bunny/<MAC_ADDRESS>/taichi/getFrequency() :
-"getLastTagForBunny(sn)", PluginRFID, Api_GetLastTagForBunny+
  
-==== Annuaire ====+==== TTS ====
  
-"setURL(url)", PluginAnnuaire, Api_setURL +/ojn_api/bunny/<MAC_ADDRESS>/tts/say(text:
-"getURL()", PluginAnnuaire, Api_getURL +
-"searchbunnybymac(mac)", PluginAnnuaire, Api_SearchBunnyByMac +
-"searchbunnybyname(name)", PluginAnnuaire, Api_SearchBunnyByName +
-"verifymactoken(mac,reqtoken)", PluginAnnuaire, Api_VerifyMacToken+
  
 ==== Stats ==== ==== Stats ====
  
-"getcolors()", PluginStats, Api_GetColors +/ojn_api/plugin/stats/getcolors() : 
-"getplugins()", PluginStats, Api_GetPlugins + 
-"getbunniesip()", PluginStats, Api_GetBunniesIP +/ojn_api/plugin/stats/getplugins() : 
-"getbunniesname()", PluginStats, Api_GetBunniesName); + 
-"getbunniesstatus()", PluginStats, Api_GetBunniesStatus +/ojn_api/plugin/stats/getbunniesip() : 
-"getbunniesinformation()",PluginStats, Api_GetBunniesInformation+ 
 +/ojn_api/plugin/stats/getbunniesname() : 
 + 
 +/ojn_api/plugin/stats/getbunniesstatus() 
 + 
 +/ojn_api/plugin/stats/getbunniesinformation() :
  
 ==== Cinéma ==== ==== Cinéma ====
  
-"addwebcast(day,time)", PluginCinema, Api_AddWebcast +/ojn_api/bunny/<MAC_ADDRESS>/cinema/addwebcast(day,time) 
-"removewebcast(day,time)", PluginCinema, Api_RemoveWebcast + 
-"getwebcastslist()", PluginCinema, Api_GetWebcasts+/ojn_api/bunny/<MAC_ADDRESS>/cinema/removewebcast(day,time) : 
 + 
 +/ojn_api/bunny/<MAC_ADDRESS>/cinema/getwebcastslist() :
  
 ==== TV ==== ==== TV ====
  
-"addwebcast(time)", PluginTV, Api_AddWebcast +/ojn_api/bunny/<MAC_ADDRESS>/tv/addwebcast(time) : 
-"removewebcast(time)", PluginTV, Api_RemoveWebcast + 
-"listwebcast()", PluginTV, Api_ListWebcast +/ojn_api/bunny/<MAC_ADDRESS>/tv/removewebcast(time) : 
-"setchannel(list)", PluginTV, Api_SetChannel + 
-"listchannel()", PluginTV, Api_ListChannel+/ojn_api/bunny/<MAC_ADDRESS>/tv/listwebcast() : 
 + 
 +/ojn_api/bunny/<MAC_ADDRESS>/tv/setchannel(list) 
 + 
 +/ojn_api/bunny/<MAC_ADDRESS>/tv/listchannel() :
  
 ==== RATP ==== ==== RATP ====
  
-"addarret(item)", PluginRatp, Api_addArret +/ojn_api/bunny/<MAC_ADDRESS>/ratp/addarret(item) : 
-"removearret(item)", PluginRatp, Api_removeArret + 
-"getlistarret()", PluginRatp, Api_getListArret +/ojn_api/bunny/<MAC_ADDRESS>/ratp/removearret(item) : 
-"setdefaultarret(item)", PluginRatp, Api_setDefaultArret + 
-"getdefaultarret()", PluginRatp, Api_getArretDefaut +/ojn_api/bunny/<MAC_ADDRESS>/ratp/getlistarret() 
-"addwebcast(time,item)", PluginRatp, Api_AddWebcast + 
-"removewebcast(time)", PluginRatp, Api_RemoveWebcast +/ojn_api/bunny/<MAC_ADDRESS>/ratp/setdefaultarret(item) 
-"getwebcastslist()", PluginRatp, Api_ListWebcast + 
-"addrfid(tag,item)", PluginRatp, Api_AddRFID +/ojn_api/bunny/<MAC_ADDRESS>/ratp/getdefaultarret() 
-"removerfid(tag)", PluginRatp, Api_RemoveRFID+ 
 +/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 ==== ==== Surprise ====
  
-"setFolder(name)", PluginSurprise, Api_SetFolder +/ojn_api/bunny/<MAC_ADDRESS>/surprise/setFolder(name) : 
-"getFolder()", PluginSurprise, Api_GetFolder + 
-"getFolderList()", PluginSurprise, Api_GetFolderList +/ojn_api/bunny/<MAC_ADDRESS>/surprise/getFolder() : 
-"setFrequency(value)", PluginSurprise, Api_SetFrequency + 
-"getFrequency()", PluginSurprise, Api_GetFrequency+/ojn_api/bunny/<MAC_ADDRESS>/surprise/getFolderList() : 
 + 
 +/ojn_api/bunny/<MAC_ADDRESS>/surprise/setFrequency(value) 
 + 
 +/ojn_api/bunny/<MAC_ADDRESS>/surprise/getFrequency() :
  
 ==== Clock ==== ==== Clock ====