-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
jsonapi-requests is not JSON API compatible. Because if server returns this relationship obejct:
"relationships":{"vendor":{"links":{"self":"http://example.org/api/rest/admin/gateway-groups/14/relationships/vendor","related":"http://example.org/api/rest/admin/gateway-groups/14/vendor"}}}
Empty relationship object in ApiResponse
But in http://jsonapi.org/format/#document-resource-object-relationships
A “relationship object” MUST contain at least one of the following:
links: a links object containing at least one of the following: self: a link for the relationship itself (a “relationship link”). This link allows the client to directly manipulate the relationship. For example, removing an author through an article’s relationship URL would disconnect the person from the article without deleting the people resource itself. When fetched successfully, this link returns the linkage for the related resources as its primary data. (See Fetching Relationships.) related: a related resource link data: resource linkage meta: a meta object that contains non-standard meta-information about the relationship
Project must support this.
Metadata
Metadata
Assignees
Labels
No labels