Closed (fixed)
Project:
JSON:API
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
18 Jun 2016 at 18:49 UTC
Updated:
16 Jul 2016 at 15:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
e0ipsoThis is blocked by #2751525: [FEATURE] Move the resources to /{entity_type_id}/{bundle}/{id}.
Comment #3
e0ipsoComment #4
dawehnerIs it against JSONAPI to have more content than the schema defines? I mean there are usecases like site to site synchronizations where you might want to have a resource which just exposes every available item to full degree.
Comment #5
e0ipso@dawehner one of the things that I'm really considering is adding a Drupal specific link & relationship to the bundle level resource. Then you can do an include of the bundle specific resource. Something like:
That way we can have it both ways. What do you think?
Comment #6
e0ipsoThis patch creates the
/node/4resource. That resource will only have the data present in all the nodes, nothing specific to the actual bundle. We need a follow up to access all the fields in the bundle as a relationship.Comment #9
e0ipsoFollow up created: #2751985: [FEATURE] Add a bundle level relationship to entity level resources.
Comment #10
e0ipsoRe-roll
Comment #11
dawehnerNice idea!
Comment #13
e0ipsoComment #14
e0ipso