Giter Site home page Giter Site logo

API接口URL规范问题 about ub-ria HOT 5 CLOSED

fireflyk avatar fireflyk commented on May 24, 2024
API接口URL规范问题

from ub-ria.

Comments (5)

otakustay avatar otakustay commented on May 24, 2024

这边的规范是后端统一为复数,以y结尾的是加es,man确实会变men,以符合“资源是一个集合”的REST理念

from ub-ria.

fireflyk avatar fireflyk commented on May 24, 2024

会有点麻烦。如果不用复数,岂不天下太平了?

from ub-ria.

otakustay avatar otakustay commented on May 24, 2024

确实存在道理,广告管家从一开始就直接遵守标准的REST实践来做,所以对这些没有什么权衡,就按着业界怎么来我们也怎么来了

我们的目的是,希望联盟内部的各业务端接口可以统一,所以你看是否方便什么时候召集两边的RD和FE,一起讨论一下,只要最后有个统一的方案即可。

之后可能涉及到管家的修改或者Union后续技术的约定,能尽早定下来最好,近几天是否方便?

from ub-ria.

otakustay avatar otakustay commented on May 24, 2024

提供一个比较流行的REST接口设计的文章:http://www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api

另外还有:http://www.restapitutorial.com/#

from ub-ria.

fireflyk avatar fireflyk commented on May 24, 2024

听说周四过来一起讨论?OK!

from ub-ria.

Related Issues (20)

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.