GET https://ecobattle.jaouahir.com/api/home

HomeController :: api

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_controller
"App\Controller\HomeController::api"
_firewall_context
"security.firewall.map.context.main"
_route
"api_home"
_route_params
[]
_security_authenticators
[]
_security_firewall_run
"_security_main"
_security_skipped_authenticators
[
  Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#725
    -supports: false
    -passport: null
    -duration: null
    -stub: "Symfony\Component\Security\Http\Authenticator\JsonLoginAuthenticator"
    -authenticated: null
    -exception: null
    -authenticator: Symfony\Component\Security\Http\Authenticator\JsonLoginAuthenticator {#720 …}
  }
]
_stopwatch_token
"0486bb"

Request Headers

Header Value
accept
"*/*"
accept-language
"fr,fr-FR;q=0.9,en-US;q=0.8,en;q=0.7"
connection
"close"
cookie
"main_auth_profile_token=38e9c0; PHPSESSID=lpt7on6ekimmj8mb7k11joe2e5"
host
"ecobattle.jaouahir.com"
priority
"u=4"
referer
"https://ecobattle.jaouahir.com/privacy"
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"same-origin"
user-agent
"Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0"
x-forwarded-for
"86.205.118.235"
x-forwarded-host
"ecobattle.jaouahir.com"
x-forwarded-proto
"https"
x-forwarded-server
"ecobattle.jaouahir.com"
x-php-ob-level
"1"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"private, must-revalidate"
content-type
"application/json"
date
"Tue, 24 Mar 2026 19:29:37 GMT"
expires
"-1"
pragma
"no-cache"
x-debug-token
"43d1bb"

Cookies

Request Cookies

Key Value
PHPSESSID
"lpt7on6ekimmj8mb7k11joe2e5"
main_auth_profile_token
"38e9c0"

Response Cookies

No response cookies

Session

Session Metadata

Key Value
Created
"Tue, 24 Mar 26 18:59:31 +0000"
Last used
"Tue, 24 Mar 26 19:29:36 +0000"
Lifetime
0

Session Attributes

Attribute Value
_security_main
"O:74:"Symfony\Component\Security\Core\Authentication\Token\UsernamePasswordToken":3:{i:0;N;i:1;s:4:"main";i:2;a:5:{i:0;O:15:"App\Entity\User":14:{s:19:"\x00App\Entity\User\x00id";i:43;s:22:"\x00App\Entity\User\x00email";s:28:"benoit.crespin@etu.unilim.fr";s:22:"\x00App\Entity\User\x00roles";a:0:{}s:25:"\x00App\Entity\User\x00password";s:8:"64d65e18";s:20:"\x00App\Entity\User\x00nom";s:14:"Benoit Crespin";s:21:"\x00App\Entity\User\x00role";s:6:"Joueur";s:27:"\x00App\Entity\User\x00scoreTotal";i:0;s:25:"\x00App\Entity\User\x00totalCO2";d:0;s:26:"\x00App\Entity\User\x00createdAt";O:17:"DateTimeImmutable":3:{s:4:"date";s:26:"2026-03-24 18:57:09.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:3:"UTC";}s:23:"\x00App\Entity\User\x00equipe";N;s:24:"\x00App\Entity\User\x00preuves";O:33:"Doctrine\ORM\PersistentCollection":2:{s:13:"\x00*\x00collection";O:43:"Doctrine\Common\Collections\ArrayCollection":1:{s:53:"\x00Doctrine\Common\Collections\ArrayCollection\x00elements";a:0:{}}s:14:"\x00*\x00initialized";b:0;}s:25:"\x00App\Entity\User\x00messages";O:33:"Doctrine\ORM\PersistentCollection":2:{s:13:"\x00*\x00collection";O:43:"Doctrine\Common\Collections\ArrayCollection":1:{s:53:"\x00Doctrine\Common\Collections\ArrayCollection\x00elements";a:0:{}}s:14:"\x00*\x00initialized";b:0;}s:30:"\x00App\Entity\User\x00conversations";O:33:"Doctrine\ORM\PersistentCollection":2:{s:13:"\x00*\x00collection";O:43:"Doctrine\Common\Collections\ArrayCollection":1:{s:53:"\x00Doctrine\Common\Collections\ArrayCollection\x00elements";a:0:{}}s:14:"\x00*\x00initialized";b:0;}s:23:"\x00App\Entity\User\x00scores";O:33:"Doctrine\ORM\PersistentCollection":2:{s:13:"\x00*\x00collection";O:43:"Doctrine\Common\Collections\ArrayCollection":1:{s:53:"\x00Doctrine\Common\Collections\ArrayCollection\x00elements";a:0:{}}s:14:"\x00*\x00initialized";b:0;}}i:1;b:1;i:2;N;i:3;a:0:{}i:4;a:1:{i:0;s:9:"ROLE_USER";}}}"

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_DEBUG
"1"
APP_ENV
"dev"
APP_SECRET
"e30b6ad3aaad499cad5a5ad442d39db3"
APP_SHARE_DIR
"var/share"
CORS_ALLOW_ORIGIN
"^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$"
DATABASE_URL
"mysql://ecobatt_eco:ecobattle304@127.0.0.1:3306/ecobatt_?serverVersion=10.4.34-MariaDB&charset=utf8mb4"
DEFAULT_URI
"http://localhost"
MAILER_DSN
"null://null"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"

Defined as regular env variables

Key Value
APP_PROJECT_DIR
"/home/ecobatt/app"
APP_RUNTIME
"Symfony\Component\Runtime\SymfonyRuntime"
APP_RUNTIME_OPTIONS
[
  "project_dir" => "/home/ecobatt/app"
]
CONTEXT_DOCUMENT_ROOT
"/home/ecobatt/public_html"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/ecobatt/public_html"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/home/ecobatt"
HOSTNAME
""
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_LANGUAGE
"fr,fr-FR;q=0.9,en-US;q=0.8,en;q=0.7"
HTTP_CONNECTION
"close"
HTTP_COOKIE
"main_auth_profile_token=38e9c0; PHPSESSID=lpt7on6ekimmj8mb7k11joe2e5"
HTTP_HOST
"ecobattle.jaouahir.com"
HTTP_PRIORITY
"u=4"
HTTP_REFERER
"https://ecobattle.jaouahir.com/privacy"
HTTP_SEC_FETCH_DEST
"empty"
HTTP_SEC_FETCH_MODE
"cors"
HTTP_SEC_FETCH_SITE
"same-origin"
HTTP_USER_AGENT
"Mozilla/5.0 (X11; Linux x86_64; rv:148.0) Gecko/20100101 Firefox/148.0"
HTTP_X_FORWARDED_FOR
"86.205.118.235"
HTTP_X_FORWARDED_HOST
"ecobattle.jaouahir.com"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_SERVER
"ecobattle.jaouahir.com"
LD_LIBRARY_PATH
"/usr/local/apache/lib"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"acLmIBrguegbQc68ZNh2NQAAANg"
REDIRECT_URL
"/api/home"
REMOTE_ADDR
"86.205.118.235"
REMOTE_PORT
"52124"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1774380576
REQUEST_TIME_FLOAT
1774380576.9363
REQUEST_URI
"/api/home"
SCRIPT_FILENAME
"/home/ecobatt/public_html/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"46.105.78.53"
SERVER_ADMIN
"webmaster@ecobattle.jaouahir.com"
SERVER_NAME
"ecobattle.jaouahir.com"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips"
SYMFONY_DOTENV_PATH
"/home/ecobatt/app/.env"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_DEBUG,APP_SHARE_DIR,DEFAULT_URI,DATABASE_URL,MESSENGER_TRANSPORT_DSN,MAILER_DSN,CORS_ALLOW_ORIGIN,APP_SECRET"
TEMP
"/home/ecobatt/tmp"
TMP
"/home/ecobatt/tmp"
TMPDIR
"/home/ecobatt/tmp"
UNIQUE_ID
"acLmIBrguegbQc68ZNh2NQAAANg"
USER
"ecobatt"
proxy-nokeepalive
"1"