rupadana/filament-api-service

[Question]: How do I create API for related/child resources

Closed this issue · 1 comments

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

currently we are not ready for relation manager