WorkoutTemplateAPIController :: getWorkoutLeaderboardList
Request
GET Parameters
No GET parameters
POST Parameters
No POST parameters
Uploaded Files
No files were uploaded
Request Attributes
Key | Value |
---|---|
_access_control_attributes | [
"PUBLIC_ACCESS"
] |
_controller | "App\Controller\API\WorkoutTemplateAPIController::getWorkoutLeaderboardList" |
_firewall_context | "security.firewall.map.context.main" |
_route | "app_api_workouttemplateapi_getworkoutleaderboardlist" |
_route_params | [ "id" => "60" ] |
_stopwatch_token | "7a3454" |
id | "60" |
workout | App\Entity\WorkoutTemplate {#456 -id: 60 -name: "Ganzkörper" -description: "The hard fitness test for Update Fitness clients." -exercises: [ [ "sets" => [ [ "load" => 1 "rest" => "15" "tempo" => "1.25-0.5-0.75-0.5" "repetitions" => "200" ] ] "exercise" => "" "exerciseId" => "55" "exerciseName" => "Squats" ] [ "sets" => [ [ "load" => 1 "rest" => "15" "tempo" => "1.25-0.5-0.75-0.5" "repetitions" => "200" ] ] "exercise" => "" "exerciseId" => "53" "exerciseName" => "Pushups" ] [ "sets" => [ [ "load" => 1 "rest" => "15" "tempo" => "0.25-600-0.25-0.25" "repetitions" => "1" ] ] "exercise" => "" "exerciseId" => "90" "exerciseName" => "Unterarmstütz" ] ] -versionHash: "f2aadab406a9837c207631e70d696565" -calories: null -image: null -targetArea: "Full Body" -level: "Intermediate" -equipment: [ "None" ] -moduleType: 1 } |
Request Headers
Header | Value |
---|---|
accept-encoding | "gzip" |
connection | "Keep-Alive" |
host | "bodytrip.app" |
user-agent | "okhttp/3.10.0" |
x-php-ob-level | "1" |
Request Content
Request content not available (it was retrieved as a resource).
Response
Response Headers
Header | Value |
---|---|
cache-control | "no-cache, private" |
content-type | "application/json" |
date | "Wed, 22 Jan 2025 23:03:58 GMT" |
x-debug-token | "99a9e3" |
Cookies
Request Cookies
No request cookies
Response Cookies
No response cookies
Session
Session Metadata
No session metadata
Session Attributes
No session attributes
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 |
---|---|
ADMINS_WHITELIST | "aris.konstantinidis@smart-advice.ch,pavlos.konstantinidis@smart-advice.ch,patrick.wuest@smart-advice.ch,christoph.koepp@smart-advice.ch" |
APP_DEBUG | "1" |
APP_ENV | "dev" |
APP_SECRET | "mywhateverappsecret" |
DATABASE_URL | "mysql://root:password@127.0.0.1:3306/bodytrip" |
FC_API_KEY | "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" |
FC_BASE_URL | "https://api.openai.com/v1/chat/completions" |
FC_REQUESTS_LIMIT | "20" |
JWT_PASSPHRASE | "mywhateverjwtpassphrase" |
JWT_PUBLIC_KEY | "%kernel.project_dir%/config/jwt/public.pem" |
JWT_SECRET_KEY | "%kernel.project_dir%/config/jwt/private.pem" |
MAILER_DSN | "smtp://btwebadmin@smart-device.ch:Test123!@lx51.hoststar.hosting:587?auth_mode=login" |
Defined as regular env variables
Key | Value |
---|---|
CONTEXT_DOCUMENT_ROOT | "/var/www/html/bt-backend/public" |
CONTEXT_PREFIX | "" |
DOCUMENT_ROOT | "/var/www/html/bt-backend/public" |
GATEWAY_INTERFACE | "CGI/1.1" |
HTTPS | "on" |
HTTP_ACCEPT_ENCODING | "gzip" |
HTTP_CONNECTION | "Keep-Alive" |
HTTP_HOST | "bodytrip.app" |
HTTP_USER_AGENT | "okhttp/3.10.0" |
PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" |
PHP_SELF | "/index.php" |
QUERY_STRING | "" |
REDIRECT_HTTPS | "on" |
REDIRECT_SSL_TLS_SNI | "bodytrip.app" |
REDIRECT_STATUS | "200" |
REDIRECT_URL | "/api/leaderboard-list/60" |
REMOTE_ADDR | "213.55.221.219" |
REMOTE_PORT | "25515" |
REQUEST_METHOD | "GET" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1737587038 |
REQUEST_TIME_FLOAT | 1737587038.2267 |
REQUEST_URI | "/api/leaderboard-list/60" |
SCRIPT_FILENAME | "/var/www/html/bt-backend/public/index.php" |
SCRIPT_NAME | "/index.php" |
SERVER_ADDR | "64.23.202.15" |
SERVER_ADMIN | "[no address given]" |
SERVER_NAME | "bodytrip.app" |
SERVER_PORT | "443" |
SERVER_PROTOCOL | "HTTP/1.1" |
SERVER_SIGNATURE | "<address>Apache/2.4.57 (Ubuntu) Server at bodytrip.app Port 443</address>\n" |
SERVER_SOFTWARE | "Apache/2.4.57 (Ubuntu)" |
SSL_TLS_SNI | "bodytrip.app" |
SYMFONY_DOTENV_VARS | "APP_ENV,APP_DEBUG,APP_SECRET,DATABASE_URL,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,MAILER_DSN,ADMINS_WHITELIST,FC_BASE_URL,FC_API_KEY,FC_REQUESTS_LIMIT" |