MainController
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _api_operation | ApiPlatform\Metadata\Patch {#591 #shortName: "Learning" #class: "App\Entity\Learning" #description: null #urlGenerationStrategy: null #deprecationReason: null #normalizationContext: null #denormalizationContext: [ "groups" => [ "Learning:patch" ] ] #collectDenormalizationErrors: null #validationContext: null #filters: [] #elasticsearch: null #mercure: null #messenger: null #input: [ "class" => "App\Dto\PatchLearningDto" "name" => "PatchLearningDto" ] #output: null #order: null #fetchPartial: null #forceEager: null #paginationEnabled: null #paginationType: null #paginationItemsPerPage: 20 #paginationMaximumItemsPerPage: 50 #paginationPartial: null #paginationClientEnabled: null #paginationClientItemsPerPage: true #paginationClientPartial: null #paginationFetchJoinCollection: null #paginationUseOutputWalkers: null #security: "user" #securityMessage: null #securityPostDenormalize: null #securityPostDenormalizeMessage: null #securityPostValidation: null #securityPostValidationMessage: null #provider: "ApiPlatform\Doctrine\Orm\State\ItemProvider" #processor: "App\Processor\PatchLearning" #stateOptions: null #extraProperties: [ "standard_put" => true "rfc_7807_compliant_errors" => true "page_parameter_name" => "page" ] #paginationViaCursor: null #read: null #deserialize: null #validate: null #write: null #serialize: null #priority: 2 #name: "_api_/learnings/{id}{._format}_patch" #method: "PATCH" #uriTemplate: "/learnings/{id}{._format}" #types: null #formats: null #inputFormats: [ "json" => [ "application/json" ] ] #outputFormats: [ "json" => [ "application/json" ] ] #uriVariables: [ "id" => ApiPlatform\Metadata\Link {#589 -parameterName: "id" -fromProperty: null -toProperty: null -fromClass: "App\Entity\Learning" -toClass: null -identifiers: [ "id" ] -compositeIdentifier: null -expandedValue: null } ] #routePrefix: null #routeName: null #defaults: null #requirements: null #options: null #stateless: true #sunset: null #acceptPatch: "application/json" #status: null #host: null #schemes: null #condition: null #controller: "api_platform.symfony.main_controller" #cacheHeaders: [ "vary" => [ "Content-Type" "Authorization" "Origin" ] ] #hydraContext: null #openapiContext: null #openapi: null #exceptionToStatus: null #queryParameterValidationEnabled: null #links: null } |
| _api_operation_name | "_api_/learnings/{id}{._format}_patch" |
| _api_resource_class | "App\Entity\Learning" |
| _controller | "api_platform.symfony.main_controller" |
| _firewall_context | "security.firewall.map.context.main" |
| _format | null |
| _nelmio_cors_should_allow_origin | true |
| _resources | [ "https://api.simulatorestrategico.com/learnings/79853" => "https://api.simulatorestrategico.com/learnings/79853" "/users/587" => "/users/587" "/dataset_versions/36" => "/dataset_versions/36" ] |
| _route | "_api_/learnings/{id}{._format}_patch" |
| _route_params | [ "_format" => null "_stateless" => true "_api_resource_class" => "App\Entity\Learning" "_api_operation_name" => "_api_/learnings/{id}{._format}_patch" "id" => "79853" ] |
| _security_firewall_run | "_security_main" |
| _stateless | true |
| _stopwatch_token | "9f47af" |
| data | App\Entity\Learning {#1318 -id: 79853 -day: 4 -mode: App\Entity\Enum\LearningMode {#1275 …} -score: null -startAt: DateTime @1774554923 {#1601 : 2026-03-26 19:55:23.0 UTC (+00:00) } -endAt: null -createdAt: DateTime @1774554923 {#1571 : 2026-03-26 19:55:23.0 UTC (+00:00) } -scheduledAt: DateTime @1774778400 {#1602 : 2026-03-29 10:00:00.0 UTC (+00:00) } -status: true -options: "{"phases":["study","revision"],"revisions":["2","3"],"start":80,"end":100,"revision_cycles":{"cambio_fase_1":"10","cambio_fase_2":"10","pausa":"90","cambio_fase_3":"10"},"critical_revision":true,"critical_revision_subjects":[],"force_close":false}" -adminNote: "" -user: App\Entity\User {#840 …} -datasetVersion: Proxies\__CG__\App\Entity\DatasetVersion {#1337 …} -userAnswers: Doctrine\ORM\PersistentCollection {#1607 …} -scheduledLearning: Proxies\__CG__\App\Entity\ScheduledLearning {#1459 …} } |
| id | "79853" |
| input_format | "json" |
| previous_data | App\Entity\Learning {#1291 -id: 79853 -day: 4 -mode: App\Entity\Enum\LearningMode {#1275 …} -score: null -startAt: DateTime @1774554923 {#1323 : 2026-03-26 19:55:23.0 UTC (+00:00) } -endAt: null -createdAt: DateTime @1774554923 {#1322 : 2026-03-26 19:55:23.0 UTC (+00:00) } -scheduledAt: DateTime @1774817506 {#1321 : 2026-03-29 20:51:46.0 UTC (+00:00) } -status: true -options: "{"phases":["study","revision"],"revisions":["2","3"],"start":361,"end":480,"revision_cycles":{"cambio_fase_1":"10","cambio_fase_2":"10","pausa":"90","cambio_fase_3":"10"},"critical_revision":true,"critical_revision_subjects":[],"force_close":false}" -adminNote: "" -user: App\Entity\User {#840 …} -datasetVersion: Proxies\__CG__\App\Entity\DatasetVersion {#1337 …} -userAnswers: Doctrine\ORM\PersistentCollection {#1434 …} -scheduledLearning: Proxies\__CG__\App\Entity\ScheduledLearning {#1459 …} } |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, deflate, br, zstd" |
| accept-language | "it-IT,it;q=0.9" |
| authorization | "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NzQ1NTM5NzAsImV4cCI6MTc3NTE1ODc3MCwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoibGFmcmFuY2EudmluY2VudEBpY2xvdWQuY29tIiwiaWQiOjU4NywiZmlyc3RfbmFtZSI6IlZpbmNlbnpvIiwibGFzdF9uYW1lIjoiTGEgZnJhbmNhIiwidGF4X2lkIjoiTEZSVkNOMDBEMjFHMjczTiIsIm1lbWJlcnNoaXAiOnsidHlwZSI6IkRlbW8iLCJleHBpcmVzX2F0IjoiMjAyNi0wNC0wMlQxOTozODo0OCswMDowMCJ9fQ.jk8oWDgYSj5dDDNv9NPzKKLvU0btaT6f3Jv5KZKjHeRTOenPykhIOp_FOvRSwJa5RqjIVrOowy0VUxvEGH7NbJA8il2YqFSdWBQSxmuSKAOwatHZ5ZpPD04gvfvUoDUFNdF6Om_HRyIiGxlOH7ENOU7QuFA5sXIUr9vfu6qSkwMOr9cmSOLCidQT-KyUMwKbHgZiRKrvPj__yB07AgnmycCv0nByPvfQFqRh-QVRsx2OKLqxOWcDMLtxyl0Acz6SaMHXtcjWC5frJu5mcyxuhf_OjNrTkkdswd_V9VfXUAQc1PPbzeWsQdPRe-TYGPi-m27es7LfIUiEl4j44T5qow" |
| connection | "close" |
| content-length | "396" |
| content-type | "application/json" |
| host | "api.simulatorestrategico.com" |
| origin | "https://simulatorestrategico.com" |
| priority | "u=3, i" |
| referer | "https://simulatorestrategico.com/" |
| sec-fetch-dest | "empty" |
| sec-fetch-mode | "cors" |
| sec-fetch-site | "same-site" |
| user-agent | "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.3 Safari/605.1.15" |
| x-forwarded-for | "83.98.85.68" |
| x-forwarded-proto | "https" |
| x-php-ob-level | "1" |
| x-real-ip | "83.98.85.68" |
Request Content
Pretty
{
"start_at": "2026-03-29T10:00:00.000Z",
"created_at": "2026-03-29T09:23:08.426Z",
"day": 4,
"id": 79853,
"mode": "standard",
"scheduled_at": "2026-03-29T10:00:00.000Z",
"options": {
"phases": [
"study",
"revision"
],
"revisions": [
"2",
"3"
],
"start": 80,
"end": 100,
"revision_cycles": {
"cambio_fase_1": "10",
"cambio_fase_2": "10",
"pausa": "90",
"cambio_fase_3": "10"
},
"critical_revision": true,
"critical_revision_subjects": []
}
}
Raw
{"start_at":"2026-03-29T10:00:00.000Z","created_at":"2026-03-29T09:23:08.426Z","day":4,"id":79853,"mode":"standard","scheduled_at":"2026-03-29T10:00:00.000Z","options":{"phases":["study","revision"],"revisions":["2","3"],"start":80,"end":100,"revision_cycles":{"cambio_fase_1":"10","cambio_fase_2":"10","pausa":"90","cambio_fase_3":"10"},"critical_revision":true,"critical_revision_subjects":[]}}
Response
Response Headers
| Header | Value |
|---|---|
| accept-patch | "application/json" |
| access-control-allow-origin | "https://simulatorestrategico.com" |
| access-control-expose-headers | "link" |
| cache-control | "private, must-revalidate" |
| content-location | "/learnings/79853" |
| content-type | "application/json; charset=utf-8" |
| date | "Sun, 29 Mar 2026 09:23:08 GMT" |
| expires | "-1" |
| pragma | "no-cache" |
| vary | "Accept" |
| x-content-type-options | "nosniff" |
| x-debug-token | "b4b442" |
| x-frame-options | "deny" |
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 |
|---|---|
| APP_ENV | "dev" |
| APP_SECRET | "!ChangeMe!" |
| CORS_ALLOW_ORIGIN | "^https?://(localhost|127\.0\.0\.1|simulatorestrategico.com)(:[0-9]+)?$" |
| DATABASE_URL | "mysql://root:dev@mysql:3306/9000abcd?serverVersion=10.3.0-MariaDB&charset=utf8mb4" |
| JWT_PASSPHRASE | "37249cde8e4c36a393e955cf770d5e21d7b91e591fb6b9d8280f64caf90cd006" |
| JWT_PUBLIC_KEY | "%kernel.project_dir%/config/jwt/public.pem" |
| JWT_SECRET_KEY | "%kernel.project_dir%/config/jwt/private.pem" |
| LOCK_DSN | "flock" |
| MAILER_DSN | "smtp://noreply@simulatorestrategico.com:9000aBCD!Co@mail9.dominiofaidate.com:465" |
| MERCURE_JWT_SECRET | "!ChangeThisMercureHubJWTSecretKey!" |
| MERCURE_PUBLIC_URL | "https://localhost/.well-known/mercure" |
| MERCURE_URL | "http://php/.well-known/mercure" |
| MESSENGER_TRANSPORT_DSN | "doctrine://default?auto_setup=0" |
| REQUEST_PASSWORD_BASE_URL | "https://simulatorestrategico.com" |
| SENDER_EMAIL | "noreply@simulatorestrategico.com" |
| STRIPE_SECRET_KEY | "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" |
| STRIPE_WEBHOOK_SECRET | "whsec_973cc107d346b23b1dce9382eb1dbe043855266413d7d50113a1d163f313576c" |
| TRUSTED_HOSTS | "simulatorestrategico.com" |
| TRUSTED_PROXIES | "127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| CONTENT_LENGTH | "396" |
| CONTENT_TYPE | "application/json" |
| DOCUMENT_ROOT | "/var/www/core/public" |
| DOCUMENT_URI | "/index.php" |
| FCGI_ROLE | "RESPONDER" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| GPG_KEYS | "1198C0117593497A5EC5C199286AF1F9897469DC C28D937575603EB4ABB725861C0779DC5C0A9DE4 AFD8691FDAEDF03BDF6E460563F15A9B715376CA" |
| HOME | "/home/www-data" |
| HOSTNAME | "a22457d1cc79" |
| HTTP_ACCEPT | "*/*" |
| HTTP_ACCEPT_ENCODING | "gzip, deflate, br, zstd" |
| HTTP_ACCEPT_LANGUAGE | "it-IT,it;q=0.9" |
| HTTP_AUTHORIZATION | "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NzQ1NTM5NzAsImV4cCI6MTc3NTE1ODc3MCwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoibGFmcmFuY2EudmluY2VudEBpY2xvdWQuY29tIiwiaWQiOjU4NywiZmlyc3RfbmFtZSI6IlZpbmNlbnpvIiwibGFzdF9uYW1lIjoiTGEgZnJhbmNhIiwidGF4X2lkIjoiTEZSVkNOMDBEMjFHMjczTiIsIm1lbWJlcnNoaXAiOnsidHlwZSI6IkRlbW8iLCJleHBpcmVzX2F0IjoiMjAyNi0wNC0wMlQxOTozODo0OCswMDowMCJ9fQ.jk8oWDgYSj5dDDNv9NPzKKLvU0btaT6f3Jv5KZKjHeRTOenPykhIOp_FOvRSwJa5RqjIVrOowy0VUxvEGH7NbJA8il2YqFSdWBQSxmuSKAOwatHZ5ZpPD04gvfvUoDUFNdF6Om_HRyIiGxlOH7ENOU7QuFA5sXIUr9vfu6qSkwMOr9cmSOLCidQT-KyUMwKbHgZiRKrvPj__yB07AgnmycCv0nByPvfQFqRh-QVRsx2OKLqxOWcDMLtxyl0Acz6SaMHXtcjWC5frJu5mcyxuhf_OjNrTkkdswd_V9VfXUAQc1PPbzeWsQdPRe-TYGPi-m27es7LfIUiEl4j44T5qow" |
| HTTP_CONNECTION | "close" |
| HTTP_CONTENT_LENGTH | "396" |
| HTTP_CONTENT_TYPE | "application/json" |
| HTTP_HOST | "api.simulatorestrategico.com" |
| HTTP_ORIGIN | "https://simulatorestrategico.com" |
| HTTP_PRIORITY | "u=3, i" |
| HTTP_REFERER | "https://simulatorestrategico.com/" |
| HTTP_SEC_FETCH_DEST | "empty" |
| HTTP_SEC_FETCH_MODE | "cors" |
| HTTP_SEC_FETCH_SITE | "same-site" |
| HTTP_USER_AGENT | "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.3 Safari/605.1.15" |
| HTTP_X_FORWARDED_FOR | "83.98.85.68" |
| HTTP_X_FORWARDED_PROTO | "https" |
| HTTP_X_REAL_IP | "83.98.85.68" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
| PHPIZE_DEPS | "autoconf \t\tdpkg-dev dpkg \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkgconf \t\tre2c" |
| PHP_ASC_URL | "https://www.php.net/distributions/php-8.3.3.tar.xz.asc" |
| PHP_CFLAGS | "-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" |
| PHP_CPPFLAGS | "-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" |
| PHP_IDE_CONFIG | ""serverName=9000ABCD_DBG"" |
| PHP_INI_DIR | "/usr/local/etc/php" |
| PHP_LDFLAGS | "-Wl,-O1 -pie" |
| PHP_SELF | "/index.php" |
| PHP_SHA256 | "b0a996276fe21fe9ca8f993314c8bc02750f464c7b0343f056fb0894a8dfa9d1" |
| PHP_URL | "https://www.php.net/distributions/php-8.3.3.tar.xz" |
| PHP_VERSION | "8.3.3" |
| PWD | "/var/www/core" |
| QUERY_STRING | "" |
| REDIRECT_STATUS | "200" |
| REMOTE_ADDR | "172.18.0.1" |
| REMOTE_PORT | "45732" |
| REQUEST_METHOD | "PATCH" |
| REQUEST_SCHEME | "http" |
| REQUEST_TIME | 1774776188 |
| REQUEST_TIME_FLOAT | 1774776188.8381 |
| REQUEST_URI | "/learnings/79853" |
| SCRIPT_FILENAME | "/var/www/core/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SERVER_ADDR | "172.18.0.5" |
| SERVER_NAME | "9000abcd.localhost" |
| SERVER_PORT | "80" |
| SERVER_PROTOCOL | "HTTP/1.0" |
| SERVER_SOFTWARE | "nginx/1.27.3" |
| SHLVL | "2" |
| SYMFONY_DOTENV_VARS | "TRUSTED_PROXIES,TRUSTED_HOSTS,APP_ENV,APP_SECRET,DATABASE_URL,CORS_ALLOW_ORIGIN,MERCURE_URL,MERCURE_PUBLIC_URL,MERCURE_JWT_SECRET,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,MESSENGER_TRANSPORT_DSN,REQUEST_PASSWORD_BASE_URL,SENDER_EMAIL,STRIPE_SECRET_KEY,LOCK_DSN,STRIPE_WEBHOOK_SECRET,MAILER_DSN" |
| USER | "www-data" |