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. ...
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 ...
Quick Create a DragonTreasure DTO
Time to convert our DragonTreasure ApiResource into a proper DTO class!
We'll start by deleting a ton of stuff: everything related to API Platform
in DragonTreasure... so we have a clean slate to start from. We'll add ...
Validating how Values Change
... ()... which then calls setOwner($this).
So, by the time validation runs, it's going to look like we are the owner of the
treasure... even though we originally weren't!
What can we do? Well, API Platform does have a ...
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 ...
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 ...
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 ...
The output doesn't show any route.
`➜ api-platform git:(master) ✗ bin/console debug:router
------ -------- -------- ------ ------
Name Method Scheme Host Path
------ -------- -------- ------ ------
➜ api ...
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 ...
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/ ...
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 ...
... 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!
... 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 ...
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 ...
... Oh it's looks like api platform known error
https://github.com/api-platform/core/issues/4293
Adding PatchAwareItemNormalizer seems to fix the problem.
Thanks for answer :)
... Yup, there's an open issue about it - no fix proposed at the moment :/ https://github.com/api-platform/api-platform/issues/1892 ...
Thanks for the reply, I opnened an issue on friday: https://github.com/api-platform/api-platform/issues/1899
btw: great course and teacher! ...
1026
API Platform
Filter Results