1026 search results for API Platform

... I'm having the same problem here, I installed api platform by the official guide with docker, so the version is different the one you used for the tutorial, api platform 2.6 symfony 5.2
miguelbarreiro85
miguelbarreiro85
Read Full Comment
Hey Sébastien J. We are actively releasing a new course about Api Platform + Symfony + Vue.js. I know it's not ReactJS but its internals are very similar https://symfonycasts.com/screencast/api-platform-security Cheers! ...
MolloKhan
MolloKhan
Read Full Comment
services:
# added so we can use the new API Platform test tools before
# they are released. In API Platform 2.5, this won't be needed.
test.api_platform.client:
class: App\ApiPlatform\Test\Client
arguments: ['@test.client']
public: true
See Code Block in Script
Hey Skylar, It can be easily configured! Change this line in your "config/routes/api_platform.yaml": https://github.com/symfony/recipes/blob/5ea0d377f1c5a906b029d2808c881b8ce2a79b11/api-platform/core/2.1/config/routes ...
Hey Sung L. That's a great question! I had to dug for awhile and found an issue about it - https://github.com/api-platform/core/issues/972 Also read this comment from Kevin https://github.com/api-platform/core/issues ...
MolloKhan
MolloKhan
Read Full Comment
Query Extension Auto-Filter a Collection

... purposely query for all cheese listings. Sure, you can work around that - but I tend to use Doctrine filters rarely. The solution I prefer is specific to API Platform... which I love because it means that the filtering ...

9:37
Hey Alberto rafael P.! I think I understand :). The key to making this information available via the API is all about adding the correct API filters: https://symfonycasts.com/screencast/api-platform/filters - basically ...
weaverryan
weaverryan
Read Full Comment
Hi soufianejhioui! Welcome to the nice world of API Platform :). > 1 - Is api Platform suitable for making microservices ? Sure! It makes creating APIs quick and easy - I don't see any problem here. > My matter is i ...
weaverryan
weaverryan
Read Full Comment
Hello team! I have seen this tutorial I think a bit late, and well I think I started at the end... or not?! ... Is this tutorial applicable to API Platform context? In other words, the way to upload files in API ...
Hey |mention:86466| , You're probably missing some packages. Could you try to install API platform as it's shown in this course? The Flex recipe installs this API pack: https://github.com/api-platform/api-pack - you ...
Hey @Alexey-N! Ahh, grr to that! Yes, that is kind of a silent dependency - I forget about it too! If you install the api-platform/api-pack - https://github.com/api-platform/api-pack - that includes the `symfony ...
weaverryan
weaverryan
Read Full Comment
Heyyy back Omar! :) First, sorry for the slow reply - holidays started a bit early for me, and these harder API Platform questions usually wait for me. Hmm, what you're describing sounds an awful lot like GraphQL ...
weaverryan
weaverryan
Read Full Comment
Hey guys, 1) what about exporting word docx formats. What we should exactlly do ? Do we need to create a normolizer like this https://api-platform.com/docs/core/content-negotiation/#reusing-the-api-platform ...
Hi, When creating a new entity using "bin/console make:entity" command, Symfony doesn't offer to mark the entity as an API Platform resource. Steps I took: 1) composer create-project symfony/skeleton 2) composer ...
Hey Olivier! Yep, the tutorial should be up-to-date :) - API Platform has only had one minor release since we recorded this. So, hmmm. It definitely looks like it's *creating* a new User object instead of updating the ...
weaverryan
weaverryan
Read Full Comment
Hey Mohamed! Thanks for the kind words! It especially means a lot to me because you've already worked on API Platform before :). > 1. Is it a good idea to use API Platform for building public 3rd party interacting ...
weaverryan
weaverryan
Read Full Comment
Cool, does this course cover API security with API-Platform ? :) ...
Imad Zairig
Imad Zairig
Read Full Comment
On Authentication Success

... will look something like '/api/users/'.$user->getId(). But I don't want to hard code that because we could potentially change the URL in the future. I'd rather have API Platform generate that for me. And fortunately, API ...

6:03
Relating Resources

... with API Platform. Our DragonTreasure entity now has a new owner property with getOwner() and setOwner() methods. And over in User we have a new dragonTreasures property, which is a OneToMany back to DragonTreasure. At ...

7:08
PropertyFilter Sparse Fieldsets

... fewer fields if they want to. This all works quite nicely. But if you look at the API Platform documentation for the PropertyFilter, they actually recommend a different solution: something called "Vulcain". Nope, not ...

6:55