-
Given the following example:
I want to implement a student report endpoint with API platform.
api/report/student
I have the following tables:
**Student**
id,
name,
address
**Invoice…
-
hello,
I can not display subresources or links to them
I am trying to use the "SubresourceDataProviderInterface" interface which is not documented
here is a basic example with 2 objects
Webs…
-
How can I protect properties from being exposed (read and write) to a user based on user type/roles?
I was thinking about using serializer (customer, sales, admin) groups and decorating the (de)ser…
-
I am wondering if there is a way to block the API from allowing a user to move a child entity to another parent. e.g. I have 2 entities, ***Project*** and ***Task***. A Project has Many Tasks.
Once…
-
Hello api-plateform,
I am searching the best way to call other api as loopback & return the results "as it" -> https://loopback.io/doc/en/lb4/Calling-other-APIs-and-web-services.html
The only th…
-
I'm running into an issue where I'm seemingly doing something wrong.
I need a custom action on my API which's path would be `/api/shipment-requests/{id}/cancel` and the method should be POST since …
-
I would like to use api-platform but I still do not know in the administration if the crud is well generated when you have a many to many relationship with attributes or if you have to customize it or…
-
I have successfully implemented an UserFilter as described [here](https://api-platform.com/docs/core/filters#using-doctrine-filters) and all my Bookings are filtered by the current user, very nice.
I…
-
I have a series of api platform best practices questions. I didn't see any documentation saying where the best place is to ask for help. Is this the appropriate place? If not, please forward me to the…
-
Hey there,
I want to expose the symfony security role hierarchy to the client. The route should be /api/role_hierarchy. When the client gets the hierarchy, it can select one or more roles and assign …