…can customize your API docs so it can fit your business needs. This video may give you some ideas: https://symfonycasts.com/screencast/api-platform-security/resource-metadata-factory
If you don't want to overcomplicate things and you can keep your API endpoints secure…
Unfortunately, Alice isn't compatible with API Platform. I have tried to use with my test, though I was able to create fixtures but couldn't reload or refresh the database.
I'm trying to update a record from an ajax call to a put API-Platform endpoint, but I'm getting a message: "Deserialization for the format \"html\" is not supported." Can anyone help me with this?
Hi there,
I am implementing a custom controller with a custom action following the Api Platform Documentation (https://api-platform.com/docs/core/pagination/#custom-controller-action) for the pagination but the hydra:member of the JSON LD response is completely empty. The other fields…
Hello
I'm leaving some alternative extension points just in case.
https://api-platform.com/docs/core/events/
https://api-platform.com/docs/core/serialization/#decorating-a-serializer-and-adding-extra-data
Hello here ! I just installed api-platform-admin ! It's just... awesome
Hey Petru L.!
I've never used API Platform's native file upload tools. But yes, my guess is that the custom action is needed... when you turn deserialization off, then there is no "$data" on the request attributes... and I think the normal, core…
…the project using Symfony 5.2.5 and API Platform 2.6.3.
When I try to access "http://localhost:8000/api" I am presented an Exception telling me "Unable to generate a URL for the named route "api_doc" as such route does not…
…guys! Thanks a lot for the API platform series course.
Is there any way to have a different API endpoints split by subdomains (or scopes)?
For example:
www.apidomain.com/api1/
www.apidomain.com/api2/
etc.
so each scope has its own api documentation, models…
Hi,
I think there is some kind of bug in swagger-ui or api platform.
The schema "cheeses:jsonld-write" does not show that there is an owner property on cheeses.
The thing is the owner property actually exists and works, but swagger does not…
…the latest api platform versions, but somehow normalization context +groups does not help show fields for this DailyStats, really strange, for User and CheeseListings - works as expected, I use SF5.2
clearing cache didn't help https://github.com/api-platform/api-platform/issues/1576
…instance of ApiPlatform\Core\Bridge\Symfony\Bundle\Test\Client given, called in /var/www/html/api_platform/src/ApiPlatform/Test/ApiTestCase.php on line 66
/var/www/html/api_platform/src/ApiPlatform/Test/ApiTestAssertionsTrait.php:126
/var/www/html/api_platform/src/ApiPlatform/Test/ApiTestCase…
A) OK, as we know “api-platform/core”: “2.5.2” works OK. But there is something new I found out... The doc displays OK only if Person::$firstName annotated with @Groups of noramlizationContext of Vehicle! That is @Groups{“person:read”, “”person:write”, “vehicle:read…
Thanks weaverryan - I'll take look at the suggested tutorials as well as the API Platform next while the Doctrine for Symfony 5 gets built. Appreciate it!
Hey lexhartman
Seems like it's related to this problem https://github.com/api-platform/core/issues/1554
What you can do is to play with the `@SerializedName()` annotation to make it match to your property getter/setter
From the docs: https://symfony.com/doc…
How would that work, when I use API-Platform. Is there an easy way to use LiipImagineBundle and AWS S3?
…by looking at the ApiPlatform docs I couldn't find anything related to define 2 strategies on the same property. So, I think what you need to do is to create your own filter by following this steps: https://api-platform.com/docs/core/filters…
…my "/employees" with owner = /users/2 and all work good. :)
My API is pretty new, I'm using the last version of API Platform with Symfony 5.0.1. I followed your tutorial since the beginning and all work nicely except for Embedded write…
Hi Ryan, I am using API Platform with LexikJWTAuthenticationBundle and Symfony 4.4.
All works but I have no idea how to add some extra data to JWT.
I have configured that bundle to return user email as: user_identity_field, but I would like…
The PR you mentioned has been merged and released in v2.5.0 of api-platform: https://github.com/api-platform/core/pull/2992, and it seems that all it takes to switch to the fixed method is to use `security` instead of `access_control…
x
1000+