jthoms1 / bookshelf-jsonapi Goto Github PK
View Code? Open in Web Editor NEWJSON API implementation using bookshelf models.
Home Page: http://jthoms1.github.io/bookshelf-jsonapi
License: MIT License
JSON API implementation using bookshelf models.
Home Page: http://jthoms1.github.io/bookshelf-jsonapi
License: MIT License
Hey, just reading through your tests and notice that properties are not placed under an "attributes" key. Is this due to jsonapi being at an older version at the time of writing?
An endpoint MAY support multiple sort fields by allowing comma-separated (U+002C COMMA, ",") sort fields. Sort fields SHOULD be applied in the order specified.
GET /people?sort=+age,+name
JSON API requests MUST include an Accept header specifying the JSON API media type. Servers MUST return a 406 Not Acceptable status code if this header is missing or specifies an unsupported media type.
http://jsonapi.org/format/#fetching
If a to-many relationship is included in the links section of a resource object, it MUST be an object containing:
http://jsonapi.org/format/#crud-updating-resource-to-many-relationships
If a to-one relationship is provided in the links section of a resource object in a PUT request, it MUST be one of:
http://jsonapi.org/format/#crud-updating-resource-to-one-relationships
Use new version of jsonapi2simple to compy with jsonapi rc3. Also update tests.
Support requesting compound documents with linked resources using 'include' parameter.
http://jsonapi.org/format/#document-structure-compound-documents
If the client makes a DELETE request to a relationship URL, the server MUST delete the specified members from the relationship or return a 403 Forbidden response. If all of the specified resources are able to be removed from, or are already missing from, the relationship then the server MUST return a successful 204 No Content response.
http://jsonapi.org/format/#crud-updating-to-many-relationships
README.md should include better examples for how to use the interface of the middleware.
Implement pagination of collections.
Pagination links MUST appear in the link object that corresponds to a collection. To paginate the primary data, include pagination links in the top-level links object. To paginate a linked collection returned in a compound document, include pagination links in the corresponding link object.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.