Coder Social home page Coder Social logo

doc-modouwifi-api's People

Contributors

forresty avatar fundon avatar mochui-yanbin avatar roubo avatar shawn996 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

doc-modouwifi-api's Issues

`/api/plugin/install_custom` 安装应用之后,应用的状态不正确

包括http://modouwifi.net/应用页面安装,因为是同一个API,所以都存在这个问题。
错误描述:应用安装后,状态显示停用,但实际已经启用
发现错误的应用:welcome-page
我发现,该应用一旦安装后,状态显示还是停用,但手机啊什么的连接上去以后,就会弹出欢迎界面。
我猜会不会是应用安装后,默认就是启用,但状态值却没更新?

极客模式的相关操作,是否要求极客模式必须为打开状态才能进行?

  1. 关于极客模式
    譬如:
    ·获取已安装插件的列表:GET /api/plugin/installed_plugins·, 是否必须先用GET /api/system/get_expertMode检查极客模式是否开启,只有开启状态才能继续发获取已安装插件列表的request?
  2. ·未登录状态下访问需要 auth 的 API 返回 403 状态码·这句话怎么理解?
    如果我的app只是把获取已安装插件列表做为一个restful的api,并没有登录的环节,就必须要在请求中附带auth的信息?那“需要API返回403状态吗”是怎么回事?是说要请求两次,第一次返回403,我要再发一次请求才能得到正确的结果么?还是说就一次请求,但返回的状态码就是403,然后附带我要请求的信息?

谢谢

Restful API

目前API还不够restful,以下几个接口还可以调整:

Backlight

/api/system/lock_backlight
/api/system/release_backlight
/api/system/wakeup_backlight

--〉

/api/system/backlight/lock
/api/system/backlight/release
/api/system/backlight/wakeup

Wan

/api/wan/get_info
/api/wan/get_info/dhcp
/api/wan/get_info/pppoe
/api/wan/get_info/static

--〉

/api/wan/info
/api/wan/dhcp/info
/api/wan/pppoe/info
/api/wan/static/info

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.