JSON API

From bibbleWiki
Jump to navigation Jump to search

Introduction

This is an overview on json api. Not sure how much I will get on this page today but from a brief, very brief overview, it sounds a bit like GraphQL with a standard agreed upon. This includes things like

Area What It Defines
Resources type, id, attributes, relationships
Document Structure data, errors, meta, links, included
Relationships to-one, to-many, relationship endpoints
Fetching include, fields, sort, page, filter
Writing POST, PATCH, DELETE
Errors Standard error object format
Links self, related, pagination
Meta Extra info anywhere
Content Negotiation Required media type
Extensibility Custom params, meta, links