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
"e109d3"

Request Headers

Header Value
accept
"*/*"
accept-language
"fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7,ja;q=0.6"
connection
"close"
cookie
"main_auth_profile_token=b297ea; PHPSESSID=3q3ost39ppeb7is9q69qn9pjn5"
host
"ecobattle.jaouahir.com"
priority
"u=1, i"
referer
"https://ecobattle.jaouahir.com/challenge"
sec-ch-ua
""Chromium";v="146", "Not-A.Brand";v="24", "Google Chrome";v="146""
sec-ch-ua-mobile
"?0"
sec-ch-ua-platform
""Windows""
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"same-origin"
user-agent
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36"
x-forwarded-for
"91.161.206.84"
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 16:02:11 GMT"
expires
"-1"
pragma
"no-cache"
x-debug-token
"e3501e"

Cookies

Request Cookies

Key Value
PHPSESSID
"3q3ost39ppeb7is9q69qn9pjn5"
main_auth_profile_token
"b297ea"

Response Cookies

No response cookies

Session

Session Metadata

Key Value
Created
"Tue, 24 Mar 26 15:47:17 +0000"
Last used
"Tue, 24 Mar 26 16:02:10 +0000"
Lifetime
0

Session Attributes

Attribute Value
_csrf/https-Preuve
"FV4ot9wR3_kreIRM60M5LPud0c-ECzEYIPEZ4WJtyD0"
_csrf/https-ea-batch-action-batchDelete
"n2Qw-nsauGKnzV6_f0gNasjkBROWk0KdlIQeEnWNEIQ"
_csrf/https-ea-delete
"MqnCltlIm1PmqWXIMSa9Zyc1FOkdIBceQmmPllZb1sA"
_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:31;s:22:"\x00App\Entity\User\x00email";s:21:"admin@etu.univ-amu.fr";s:22:"\x00App\Entity\User\x00roles";a:1:{i:0;s:10:"ROLE_ADMIN";}s:25:"\x00App\Entity\User\x00password";s:8:"5e44aca5";s:20:"\x00App\Entity\User\x00nom";s:9:"Admin Eco";s:21:"\x00App\Entity\User\x00role";s:14:"Administrateur";s:27:"\x00App\Entity\User\x00scoreTotal";i:1500;s:25:"\x00App\Entity\User\x00totalCO2";d:45.5;s:26:"\x00App\Entity\User\x00createdAt";O:17:"DateTimeImmutable":3:{s:4:"date";s:26:"2026-03-19 13:15:45.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:3:"UTC";}s:23:"\x00App\Entity\User\x00equipe";O:32:"Proxies\__CG__\App\Entity\Equipe":1:{s:21:"\x00App\Entity\Equipe\x00id";i:3;}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:2:{i:0;s:10:"ROLE_ADMIN";i:1;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,ja;q=0.6"
HTTP_CONNECTION
"close"
HTTP_COOKIE
"main_auth_profile_token=b297ea; PHPSESSID=3q3ost39ppeb7is9q69qn9pjn5"
HTTP_HOST
"ecobattle.jaouahir.com"
HTTP_PRIORITY
"u=1, i"
HTTP_REFERER
"https://ecobattle.jaouahir.com/challenge"
HTTP_SEC_CH_UA
""Chromium";v="146", "Not-A.Brand";v="24", "Google Chrome";v="146""
HTTP_SEC_CH_UA_MOBILE
"?0"
HTTP_SEC_CH_UA_PLATFORM
""Windows""
HTTP_SEC_FETCH_DEST
"empty"
HTTP_SEC_FETCH_MODE
"cors"
HTTP_SEC_FETCH_SITE
"same-origin"
HTTP_USER_AGENT
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36"
HTTP_X_FORWARDED_FOR
"91.161.206.84"
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
"acK1ghrguegbQc68ZNhW_wAAAM8"
REDIRECT_URL
"/api/home"
REMOTE_ADDR
"91.161.206.84"
REMOTE_PORT
"33950"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_TIME
1774368130
REQUEST_TIME_FLOAT
1774368130.875
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
"acK1ghrguegbQc68ZNhW_wAAAM8"
USER
"ecobatt"
proxy-nokeepalive
"1"