GithubHelp home page GithubHelp logo

api-standards's People

Contributors

benforeva avatar carloseberhardt avatar gplocke avatar jabley avatar jrep avatar noahkunin avatar pborreli avatar petkivim avatar philipashlock avatar traviscarden avatar wardi avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

api-standards's Issues

Adapt to JSON API spec

I would suggest that we would adapt to http://jsonapi.org/ spec when it comes to JSON responses. It has reached maturity of 1.0 and gains a lot of traction.

Full documentation of the JSON API specification includes:

  • Detailed format notes that describe conventions in using the JSON API, including document structure, fetching data, CRUD operations on resources, query parameters and handling errors
  • Experimental, official and custom extensions for JSON API, including support for performing multiple operations in a single request, implementation of JSON PATCH and adding the profile link relation in a JSON API spe
  • Recommendations for using the specification that โ€” while not as official as the formatting convention notes โ€” reflect wider Web services programming paradigms and are suggested so as to provide programmers with a degree of consistency across their other API-related project work
  • Example code
  • A list of implementation libraries for both client and server side and some related tools, such as implementation tools of JSON PATCH for Ruby, Node.js and Python

See a good blog posting about the spec http://www.cerebris.com/blog/2015/06/04/jsonapi-1-0/

Position on using app cache

It is widely used practise to create own cache on app end to avoid querying API endpoint on every case. This is where rate limiting practices are pushing app / service developers. Are we going to mention this in some part of the guide lines? When not to use app cache and when it might make sense in context of national service architecture?

Keeping in mind that message that has been pushed to field is that you get the information from one source and one source only. Creating app/service specific caches would contradict with this.

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.