PhlyRestfully icon indicating copy to clipboard operation
PhlyRestfully copied to clipboard

ZF2 module for creating RESTful JSON APIs using HAL and API-Problem

Results 15 PhlyRestfully issues
Sort by recently updated
recently updated
newest added

I try to create delete function and expected that it maybe return something like: status = OK or http header code may be 200 with a body message But It...

Currently the `MetadataMap` always does an exact class name comparison between `get_class($your_resource)` and the key in the map. It doesn't take inheritance into account. This prevents the map being used...

According to the documentation here https://phlyrestfully.readthedocs.org/en/latest/ref/advanced-routing.html one should use a metadata_map instead of using listeners. But according to this line: https://github.com/phly/PhlyRestfully/blob/master/src/PhlyRestfully/Plugin/HalLinks.php#L558 It's extracted from the metadata `identifier_name` that represents the...

If I register a custom ResourceController class in the config using the controller_class parameter I run into the problem that the resource parameters are not available in the ResourceEvent in...

If I embed a HalCollection in another HalResource the attributes are not rendered in the Json result. This seems wrong to me since those are first-class properties of the resource....

Is there a way to create custom actions aside from the generic CRUD actions. I would like to have a route like e.g. /cities/5/population or cities/5/currentusers ... something like that....

In line https://github.com/phly/PhlyRestfully/blob/master/src/PhlyRestfully/ResourceController.php#L606 there is an unexpected if clause checking $id and isMethodAllowedForCollection. PUT methods with an $id are mapped to this update method and it is never used for...

What if I want to embed a resource which is not part of a collection, but a single resource without an Id. For example users/:user_id/address I do not need an...

Suppose we have `users` and `groups` resources with the corresponding routes - `/users[/:id]` and `/groups[/:id]`. If I need to list users which are members of a group I have to...

204 response is valid for PATCH and PUT but there is no way to set the status inside a ResourceListener (I may be wrong though).