You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Start the api with php -S 127.0.0.1:8000 -t public
Debug setup
Recommended environment variables values:
In development: SENTRY_ENABLE=0 because you don't want to float sentry and APP_DEBUG=1 to get the nice pretty whoops guard web interface to debug.
In production: 'SENTRY_ENABLE=1' to get log to sentry and APP_DEBUG=0 to hide details of exception, but still if APP_DEBUG is false you will get some kind of details in JSON when the server fail
Description route API
1. Basics
Route
Type
Auth
Params
Description
/
GET
No
Affiche les infos générales sur l'api : env, version...
/ping
GET
No
Pong !
/newsletter/subscribe
POST
No
email
Inscrire une adresse mail
/newsletter/event
GET
No
Vérification si la route existe bien apr Mailchimp
/newsletter/event
POST
No
Route appelée par Mailchimp, envoi un webhook Discord.
2. GraphQL
Route
Type
Auth
Params
Description
/graphql
POST
Yes (Bearer)
yourBearerToken
To see all schema with all descriptions, you can check here.
This is a schema generated automatically by graphql-markdown (here).