The JSONAPI spec allows for PATCH, POST and DELETE of URLs of the format {controller}/{id}/relationships/{foreignTable}
Allowing relationships to be added, altered or deleted.
Crud-json-api doesn't support this yet.
This commit adds support for this. However please note that documentation will need to be updated to reflect config and routing requirements to make this work, since these URLS are not part of Cake's resource RESTful routes format.
The JSONAPI spec allows for PATCH, POST and DELETE of URLs of the format
{controller}/{id}/relationships/{foreignTable}
Allowing relationships to be added, altered or deleted.
Crud-json-api doesn't support this yet.
This commit adds support for this. However please note that documentation will need to be updated to reflect config and routing requirements to make this work, since these URLS are not part of Cake's
resource
RESTful routes format.Config:
Route:
(Not sure if that route is quite right just yet)