I've a few resources with parent/child relationships, where the child relations resource do not appear on top level, and are accessed via getRelations method in the parent resource.
How can I create the API for these children within the context of the parent, such as:
PUT /api/parents/{id}/children/{id}
What happened?
I've a few resources with parent/child relationships, where the child relations resource do not appear on top level, and are accessed via
getRelations
method in the parent resource.How can I create the API for these children within the context of the parent, such as:
PUT /api/parents/{id}/children/{id}
How to reproduce the bug
N/A
Package Version
3.2
PHP Version
8.2.18
Laravel Version
11.9.2
Which operating systems does with happen with?
macOS
Notes
No response