1015 search results for API Platform

Creating your First ApiResource

... Let's call our entity DragonTreasure. Then it asks us a question that you maybe haven't seen before - Mark this class as an API platform resource? It asks because API Platform is installed. Say no because we're going to do ...

5:44
API Docs on Production

Welcome back you wonderful JSON-returning people, to API Platform episode 2. In part 1, we got busy! We created a pretty killer API to store dragon treasures, though... we completely forgot to add security! Any small ...

8:22
Hey Rosemary! No this course specifically, unfortunately. For Symfony 5, we'll likely be focusing more on API Platform - https://symfonycasts.com/screencast/api-platform - because it's just SO useful for handling SO ...
weaverryan
weaverryan
Read Full Comment
Why did you change the name from "API Platform: Serious RESTful & GraphQL API" to "API Platform: Serious RESTful APIs"? :( I was waiting for the GraphQL part the most. ...
Bartlomeij
Bartlomeij
Read Full Comment
The Serializer

The key behind how API platform turns our objects into JSON... and also how it transforms JSON back into objects is Symfony's Serializer. symfony/serializer is a standalone component that you can use outside of API ...

9:08
Validation Groups Patch Formats

... this. In the greater interwebs, there are competing formats for how the data should look when using a PATCH request and each format means something different. Currently, API Platform supports only one of these formats ...

8:01
Hi, Thanks for your reply! It turns out it was a problem with the version of API Platform. I updated Symfony from 6.3 to 6.4, but didn't update api-platform. I updated to the latest API-platform version, and now it works again! ...
Hi Ryan, I just jumped into API Platform and it's pretty confusing to me. I am planning to go through the API Platform 2 first since it has the security related content. Is it okay or shall I just wait for API Platform 3 and start from there? Thanks! ...
hallo i would like to know wich is the best way to clean input field using api platform, according to this https://github.com/api-platform/api-platform/issues/1089 has been told to take care of cleaning the values ...
Emanuele-P
Emanuele-P
Read Full Comment
The output doesn't show any route. `➜ api-platform git:(master) ✗ bin/console debug:router ------ -------- -------- ------ ------ Name Method Scheme Host Path ------ -------- -------- ------ ------ ➜ api ...
Dennis B.
Dennis B.
Read Full Comment
hello, tried with old and 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 ...
Hey @Daniel-G Thanks for posting this - VERY awesome of you :). We're going to be hard at work in December updating the tutorials for API Platform 3. However, I talked with the API Platform lead dev last week and he ...
weaverryan
weaverryan
Read Full Comment
State Providers Processors a Custom Field

API Platform 3 rolled out snazzy new concepts called State Providers and State Processors. We chatted about them in the last tutorial and we're going to dive even deeper in this tutorial. Nestled within the "Upgrade ...

4:49
... update api-platform/api-pack Loading composer repositories with package information Updating dependencies Lock file operations: 6 installs, 0 updates, 0 removals - Locking api-platform/api-pack (v1.3.0) - Locking api ...
Rodrypaladin
Rodrypaladin
Read Full Comment
Perhaps this chapter could include a comment about if this is appropriate to use with API Platform, or if for API Platform one should use their react Admin package instead? https://api-platform.com/docs/admin/ ...
Jason-Aller
Jason-Aller
Read Full Comment
... plan to add JWT authentication in API Platform in this tutorial? I tried the API Platform website, but it only shows how to install and configure. There are no further information to get started. Also Symfony RESTful API: Authentication with JWT (Course 4) doesn't seem much relevant to the API Platform. Thanks for your work!
DTO Quirks

... now, just delete it so that the tests will pass. But good news! Thanks to the API Platform team, this bug has been fixed and should be released in API Platform 2.5.8. But since that hasn't been released yet at the time of ...

5:23
Hey @Yangzhi! Sorry for the slow reply :). Hmm. Ideally, you could translate this "custom condition" into a query. Then, you would create a custom API Platform filter - https://symfonycasts.com/screencast/api ...
weaverryan
weaverryan
Read Full Comment
Filter Autowiring

... someone instantiates our filter object... and it's a pretty good guess that API Platform does it directly and uses the arguments option to figure out what arguments it should pass to the constructor. But actually, our filter ...

5:46
SerializedName Constructor Args

... our class. And in the case of a fake property like textDescription, API Platform strips off the "set" part and makes it lower camel case. By the way, like everything in API Platform, the way fields are transformed into ...

7:15