1015 search results for API Platform

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 ...
... Yo Rakodev ! > I wish there will be some performance topic in the next API Platform course, because with a big database mysql could be low performing That's true! However, I also think it comes down to three simple ...
weaverryan
weaverryan
Read Full Comment
Hi, so if I embed a JSON, the Platform will create a new object , if I use an IRI the platform simply add a reference. Perfect but how to handle this situation; let I have an API to add a news from an external ...
Gianluca-F
Gianluca-F
Read Full Comment
... from this user. This action would return the user with his updated collection of cheese like we do with the regular /api/users/{id}. How would i be able to do this with API platform ? Maybe this is already covered in ...
... ": "", "short_class": "", "class": "", "type": "", "function": "", "file": "/Users/bernardo/Sites/tutorials/code-api-platform-extending/start/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php ...
Bernard A.
Bernard A.
Read Full Comment
... `composer.json`: ```json { "type": "project", "license": "proprietary", "require": { "php": "^7.1.3", "ext-ctype": "*", "ext-iconv": "*", "api-platform/core": "^2.1 ...
... you maybe already saw, this isn't supported currently (https://github.com/api-platform/api-platform/issues/571).... which means you'll need to add this stuff manually. That's not a total loss... you'll still be able to ...
weaverryan
weaverryan
Read Full Comment
Hey Roland W.! > This course "only" covers CRUD operations, right Haha, yes. That's not exactly on purpose - it's a product of REST - REST fits most "cleanly" for CRUD operations and API Platform is all about REST. On ...
weaverryan
weaverryan
Read Full Comment
Resource Metadata Factory Dynamic ApiResource Options

... pretty simple: given an API Resource class - like App\Entity\User - its job is to read all the API Platform metadata for that class - usually via annotations - and return it as a ResourceMetadata object. Yep, this ...

8:45
ACL Only Owners can PUT a CheeseListing

... security in API Platform 2.5 - allows you to write an "expression" inside using Symfony's expression language. This is_granted() thing is a function that's available in that, sort of, Twig-like expression language. We ...

9:23
... be also "oneToOne"? 2- By Following your other Tutorials, I have made a Database and Api Platform and also I have a React Native Mobile App with a login screen and an Api back-end! but, I don't know the flow of ...
Roozbeh S.
Roozbeh S.
Read Full Comment
Client Credentials

... around the farm has always taken a lot of time. But great news! The brand new "Chicken Oversight Operations Platform", or COOP site has just launched! With COOP, you can login to the site and collect your chicken eggs ...

8:57
... /company/vendor/api-platform/core/src/Doctrine/Orm/State/ItemProvider.php", "line": 87, "function": "getOneOrNullResult", "class": "Doctrine\\ORM\\AbstractQuery", "type ...
... ={AudienceCategorySlug}`. You might need to create a custom filter for that "audienceCategory" because, iirc, API Platform would want you to do something like ?audienceCategory/api/audience-categories/5 (where 5 if your ...
weaverryan
weaverryan
Read Full Comment
... "POST"? GET - because you are "fetching" user data. > 2-How can I retrieve the User data by submitting a Bearer Authorization Token instead of adding an id to the Url. > Does API Platform support this? Good question. You ...
weaverryan
weaverryan
Read Full Comment
... Hi, I'm working on an api with a State Provider and Voter, I'm finding that the provider is invoked before the voter. This leads to some odd results, 404 instead of 401. In the API Platform doc's I can see that ...
... use int as primary and add uuids as identifiers. I used `Symfony\Component\Uid\Uuid `. In that Symfony 5 API Tutorial `Ramsey\Uuid\Uuid` is used. Which one shpuld be uses now with Symfony 6 and API Platform 3?
... 'cheeses' )] ``` And i go to the url : /api/cheese/1.json i don't have the json format on screen, its the API Platform html screen. But if i don't define a custom path i have the json format on screen. I hope i explain this problem correctly. Does anyone have an explanation to this ? Thanks :)
For anyone getting Error in Evaluate() method of arraysubset inside src/ApiPlatform/Test/ Check your api version if it is greater than 2.4 using composer show api-platform/core instead of pasting ApiPlatform ...
Sakshi G.
Sakshi G.
Read Full Comment
... /api_platform/resources.yaml` file and point to it from `config/packages/api_platform.yaml`, things should work. Are you getting an error... or API Platform is just not seeing your DTO at all? Cheers!
weaverryan
weaverryan
Read Full Comment