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 ...
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 ...
... 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 ...
... `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 ...
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 ...
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 ...
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 ...
... 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 ...
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 ...
... /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 ...
... "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 ...
... 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 ...
... /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!
1015
API Platform
Filter Results