Thank you, Ryan. I solved this problem with:
https://api-platform.com/docs/core/filters/#group-filter
Your solution is interesting, but so far too complicated for me )
Hey, sorry for my late response. If the API endpoints are ok, then I believe you added that extra information to your docs through any of the methods shown in this page https://api-platform.com/docs/core/swagger/
Hola Cesar C.
Entre este curso y el mas reciente de ApiPlatform (https://symfonycasts.com/screencast/api-platform-extending ) puedes encontrar casi todas esas tecnologias, solo hace falta Auth2.0 pero gracias por la sugerencia, las tomamos en serio para decidir que cursos desarrollar primero…
Hey Rafal,
Hm, interesting... in the latest version of ApiPlatform I see that $context is optional, see https://github.com/api-platform/core/blob/v2.5.7/src/DataProvider/Pagination.php#L169 . Probably it's required in your version, you can double-check that file…
…ApiPlatform, you can check it out here: https://symfonycasts.com/tracks/symfony#api-development
About OS projects that use ApiPlatform? Look at Sylius for example, that's what I know. Actually, you can find the list of popular projects on their home page: https://api…
Hello,
I would like to know how to do this endpoint:
`POST /api/cheeses/{id}/publish.`
and I'm asking if create a custom controller https://api-platform.com/docs/core/controllers/#creating-custom-operations-and-controllers it's the right way?
Thanks for your…
Hey Андрей Селин!
I've not played with recursive relationships like this with ApiPlatform, but I kind of think that this should "just work". If you have a MenuItem ApiResource and it has a "children" property, as long as you exposed the children property via…
…look axios get (what is sintax) if we use
https://api-platform.com/docs/core/filters/#date-filter
How I can get all objects from db on curent date, or how I can get objects beetwen two dates
In my api platform everything is work…
…have just come back to this after rebuilding my backend with the latest version of api-platform etc and decided to use session-based authentication instead of JWT as it looks like the cleaner solution for my needs.
BUT - although the modified login stage seems…
…!! no particular reason except for I followed the exact same steps provided by the api platform documentation and this video tutorial. (https://api-platform.com/docs/core/serialization/#changing-the-serialization-context-dynamically and video timeline ~03:00). Yes, I am already using dependency injection…
…to phpspec.
I discovered a new tool for api designing at the site https://api-platform.com/docs/distribution.
I try to follow the chapter [Using Symfony Flex and Composer (advanced users)]
I use Ubuntu 16.04 for development and nginx as web server. My…
Hi Victor, I need to start a new project with an API. If I plan to go with API Platform which tutorial should I follow here on SFcast ? Does the Symfony RESTful API: Course will help or it's unrelated ? Thx.
Cool! So you already know how to test an API integration :)
BTW, not all API's comes with a sandbox, it depends on the third party platform
Cheers!
Just in case one of you happen to know the answer.
```php
namespace App\Models;
use ApiPlatform\Metadata\ApiResource;
use ApiPlatform\Metadata\Get;
use ApiPlatform\Metadata\GetCollection;
use ApiPlatform\Metadata\IsApiResource;
use ApiPlatform\Metadata\Patch;
use ApiPlatform\Metadata\Post;
use App\Http\Requests\CreateProductRequest;
use…
I'm getting the exact same error.
Started my project from latest ApiPlatform Distribution (AP 3.4, Symfony 6.4). When I log in making POST to json_login path I'm able to fetch resources which require full authetication, but when I swap login…
…a flaw on ApiPlatform, and this is not the only case. In this video Ryan talks about another runtime condition that may cause you trouble. I think your approach is correct unless we're missing something. Have you tried asking in the ApiPlatform slack channel…
Hi,
i noticed that,
if you in ApiResource set paginationEnabled: false, you don't have object ApiPlatform\Doctrine\Orm\Paginator, but array.
[video time: 3:28]
Hi,
I'm not fully understand what are you trying to do, but in Symfony(not ApiPlatform) all you need just create this normalizer and that's all, it will be automatically registered in system and it will be used for objects which are defined…
Hey @Dmitriy,
No, this service is not available it was changed to `ApiPlatform\State\ProcessorInterface` and works a little differently.
Cheers!
Hallo @weaverryan, we have develop an app in symfony 6.1 and apiplatform 2.6, we have been successfully moved to version 2.7.2 with the flag to be ready for 3
but when i try to go further ( with version 3 ) i find…
x
1000+