https://bodytrip.app/api/heartbeat

WorkoutTemplateAPIController :: updateHeartbeat

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\API\WorkoutTemplateAPIController::updateHeartbeat"
_firewall_context
"security.firewall.map.context.main"
_route
"app_heartbeat"
_route_params
[]
_security_firewall_run
"_security_main"
_stopwatch_token
"1cce52"

Request Headers

Header Value
accept-encoding
"gzip"
connection
"Keep-Alive"
content-length
"20"
content-type
"application/json; charset=utf-8"
host
"bodytrip.app"
user-agent
"okhttp/3.10.0"
x-php-ob-level
"1"

Request Content

Raw

{"gym":"Marktgasse"}

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"application/json"
date
"Wed, 22 Jan 2025 23:24:55 GMT"
x-debug-token
"d0d56e"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session 1

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

1 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:44
[
  [
    "file" => "/var/www/html/bt-backend/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 44
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/bt-backend/vendor/symfony/security-http/Firewall/AccessListener.php"
    "line" => 85
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/bt-backend/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php"
    "line" => 49
    "function" => "authenticate"
    "class" => "Symfony\Component\Security\Http\Firewall\AccessListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/bt-backend/vendor/symfony/security-http/Firewall/AbstractListener.php"
    "line" => 26
    "function" => "authenticate"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/bt-backend/vendor/symfony/security-bundle/Security/LazyFirewallContext.php"
    "line" => 60
    "function" => "__invoke"
    "class" => "Symfony\Component\Security\Http\Firewall\AbstractListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/bt-backend/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php"
    "line" => 70
    "function" => "__invoke"
    "class" => "Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/bt-backend/vendor/symfony/security-http/Firewall.php"
    "line" => 92
    "function" => "callListeners"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/bt-backend/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 111
    "function" => "onKernelRequest"
    "class" => "Symfony\Component\Security\Http\Firewall"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/bt-backend/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 230
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/bt-backend/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 59
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/bt-backend/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 152
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/bt-backend/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 139
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/bt-backend/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 75
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/bt-backend/vendor/symfony/http-kernel/Kernel.php"
    "line" => 202
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/bt-backend/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/bt-backend/vendor/autoload_runtime.php"
    "line" => 29
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/html/bt-backend/public/index.php"
    "line" => 5
    "args" => [
      "/var/www/html/bt-backend/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

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
CONTENT_LENGTH
"20"
CONTENT_TYPE
"application/json; charset=utf-8"
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/heartbeat"
REMOTE_ADDR
"31.10.158.21"
REMOTE_PORT
"58282"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1737588295
REQUEST_TIME_FLOAT
1737588295.8046
REQUEST_URI
"/api/heartbeat"
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"