Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [api-platform]

The tag has no usage guidance.

api-platform
0 votes
1 answer
25 views

API Platform custom Controller serialization problem

I have a very simple custom API endpoint with an input and output DTO and a Symfony Controller, build like the examples in the documentation page: https://api-platform.com/docs/v2.3/core/dto/ #[...
nnikolay's user avatar
  • 1,723
0 votes
1 answer
32 views

Api Platform - Can not define multiple GetCollection

I'm trying to define an entity with multiple endpoints using Api Platform. When I try to define multiple Get or GetCollection endpointd, it returns a 404 error. Looking for the reason, the only ...
Sulex95's user avatar
-1 votes
1 answer
38 views

Get entity with Many-To-Many Relation with API Platform

I have an entity Professionnal with Jobs in API Plateform project 3.2. When I call host/api/professionnals I got a result like this : { "data": [ { "id": &...
J.BizMai's user avatar
  • 2,747
0 votes
1 answer
42 views

Markdown editing packages running under react generate visual bugs when built in a docker image (api platform app)

I have an API running under PHP Symfony 6.4 with the API Platform overlay. The back office of this application runs under next 12 with React admin. I have a package in my back office allowing me to ...
Nico's user avatar
  • 11
-1 votes
1 answer
88 views

How to use 103 Early Hints in ApiPlatform?

I don't understand how to use HTTP/2 Push or 103 Early Hints in Api Platform. I found information in the Api Platform documentation about Pushing related resources with HTTP/2 and Vulcain protocol. I ...
denshest's user avatar
0 votes
0 answers
31 views

Symfony API Platform relation more than one

I'm new in Symfony 6 and I have to create a database structure using api platform I want to create a table named Place and that place has photos like oneToMany relationship also each place has a ...
Onurkudrt's user avatar
1 vote
1 answer
166 views

Why is lexik-jwt bundle returning an empty token with correct credentials?

First of all: I am using apiplatform to create a pwa which can be used as a GUI to request backend api routes with ease which uses symfony and a jwt token bundle called lexik-jwt. So my current state ...
Proudyy's user avatar
  • 69
0 votes
0 answers
74 views

Symfony and API Plattform Login Authentication "401 JWT Token missing"

I have a symfony app (currently with twig FE and login form auth). On the same app I would like to add an API to share the same resources to other platforms. I added the API platform package to easy ...
michitheonlyone's user avatar
2 votes
0 answers
46 views

PHP API PLATFORM Multi Tenancy Doctrine DB

I am having issue with Multi Tenancy in PHP API PLATFORM when I am trying something like this with Wrapper Class: doctrine: dbal: connections: default: ...
Lukáš Prudil's user avatar