MainController
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _api_header_parameters | [ "content-length" => [ "0" ] "x-forwarded-for" => [ "34.123.170.104" ] "pragma" => [ "no-cache" ] "host" => [ "api-theatre.rassamahin.ru" ] "sec-fetch-mode" => [ "cors" ] "cache-control" => [ "no-cache" ] "priority" => [ "u=1, i" ] "accept-encoding" => [ "gzip, deflate, br" ] "via" => [ "2.0 Caddy" ] "x-forwarded-host" => [ "api-theatre.rassamahin.ru" ] "user-agent" => [ "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" ] "accept" => [ "application/ld+json" ] "referer" => [ "https://theatre.rassamahin.ru/" ] "origin" => [ "https://theatre.rassamahin.ru" ] "x-forwarded-proto" => [ "https" ] "sec-fetch-dest" => [ "empty" ] "sec-fetch-site" => [ "same-site" ] "x-php-ob-level" => [ "1" ] ] |
| _api_normalization_context | [ "groups" => [ "play:read" "play:afisha:read" "files:read" ] "operation_name" => "Афиша" "operation" => ApiPlatform\Metadata\GetCollection {#970 #parameters: null #shortName: "PlayResource" #class: "App\Play\UI\Api\Resource\PlayResource" #description: null #urlGenerationStrategy: null #deprecationReason: null #normalizationContext: [ "groups" => [ "play:read" "play:afisha:read" "files:read" ] ] #denormalizationContext: null #collectDenormalizationErrors: null #validationContext: null #filters: [] #mercure: null #messenger: null #input: null #output: null #order: null #fetchPartial: null #forceEager: null #paginationEnabled: false #paginationType: null #paginationItemsPerPage: null #paginationMaximumItemsPerPage: null #paginationPartial: null #paginationClientEnabled: null #paginationClientItemsPerPage: null #paginationClientPartial: null #paginationFetchJoinCollection: null #paginationUseOutputWalkers: null #security: null #securityMessage: null #securityPostDenormalize: null #securityPostDenormalizeMessage: null #securityPostValidation: null #securityPostValidationMessage: null #provider: "App\Play\UI\Api\State\PlayAfishaProvider" #processor: null #stateOptions: null #rules: null #policy: null #middleware: null #queryParameterValidationEnabled: null #strictQueryParameterValidation: null #hideHydraOperation: null #extraProperties: [ "swagger_context" => [ "tags" => [ "Спектакли" ] "parameters" => [ [ "name" => "playId" "in" => "query" "schema" => [ "type" => "string" "format" => "uuid" ] ] [ "name" => "title" "in" => "query" "schema" => [ "type" => "string" ] ] [ "name" => "audienceCategory" "in" => "query" "schema" => [ "type" => "string" "enum" => [ "children" "adult" "mixed" ] ] ] [ "name" => "sort" "in" => "query" "schema" => [ "type" => "string" "enum" => [ "position" "title" "startsAt" ] ] ] [ "name" => "order" "in" => "query" "schema" => [ "type" => "string" "enum" => [ "asc" "desc" ] ] ] ] ] "user_defined_uri_template" => true ] #paginationViaCursor: null #read: true #deserialize: false #validate: false #write: null #serialize: null #priority: 2 #name: "Афиша" #method: "GET" #uriTemplate: "/plays/afisha" #types: null #formats: null #inputFormats: [ "jsonld" => [ "application/ld+json" ] ] #outputFormats: [ "jsonld" => [ "application/ld+json" ] ] #uriVariables: [] #routePrefix: null #routeName: null #defaults: null #requirements: null #options: null #stateless: true #sunset: null #acceptPatch: null #status: null #host: null #schemes: null #condition: null #controller: "api_platform.symfony.main_controller" #headers: null #cacheHeaders: [ "vary" => [ "Content-Type" "Authorization" "Origin" ] ] #hydraContext: null #openapi: ApiPlatform\OpenApi\Model\Operation {#946 …} #exceptionToStatus: null #links: null #errors: null -itemUriTemplate: null } "resource_class" => "App\Play\UI\Api\Resource\PlayResource" "skip_null_values" => true "iri_only" => false "request_uri" => "/api/plays/afisha" "uri" => "https://api-theatre.rassamahin.ru/api/plays/afisha" "input" => null "output" => null "exclude_from_cache_key" => [ "root_operation" "operation" "object" "data" "property_metadata" "circular_reference_limit_counters" "debug_trace_id" ] "api_gateway" => false "base_url" => "" "spec_version" => "" ] |
| _api_operation | ApiPlatform\Metadata\GetCollection {#970 #parameters: null #shortName: "PlayResource" #class: "App\Play\UI\Api\Resource\PlayResource" #description: null #urlGenerationStrategy: null #deprecationReason: null #normalizationContext: [ "groups" => [ "play:read" "play:afisha:read" "files:read" ] ] #denormalizationContext: null #collectDenormalizationErrors: null #validationContext: null #filters: [] #mercure: null #messenger: null #input: null #output: null #order: null #fetchPartial: null #forceEager: null #paginationEnabled: false #paginationType: null #paginationItemsPerPage: null #paginationMaximumItemsPerPage: null #paginationPartial: null #paginationClientEnabled: null #paginationClientItemsPerPage: null #paginationClientPartial: null #paginationFetchJoinCollection: null #paginationUseOutputWalkers: null #security: null #securityMessage: null #securityPostDenormalize: null #securityPostDenormalizeMessage: null #securityPostValidation: null #securityPostValidationMessage: null #provider: "App\Play\UI\Api\State\PlayAfishaProvider" #processor: null #stateOptions: null #rules: null #policy: null #middleware: null #queryParameterValidationEnabled: null #strictQueryParameterValidation: null #hideHydraOperation: null #extraProperties: [ "swagger_context" => [ "tags" => [ "Спектакли" ] "parameters" => [ [ "name" => "playId" "in" => "query" "schema" => [ "type" => "string" "format" => "uuid" ] ] [ "name" => "title" "in" => "query" "schema" => [ "type" => "string" ] ] [ "name" => "audienceCategory" "in" => "query" "schema" => [ "type" => "string" "enum" => [ "children" "adult" "mixed" ] ] ] [ "name" => "sort" "in" => "query" "schema" => [ "type" => "string" "enum" => [ "position" "title" "startsAt" ] ] ] [ "name" => "order" "in" => "query" "schema" => [ "type" => "string" "enum" => [ "asc" "desc" ] ] ] ] ] "user_defined_uri_template" => true ] #paginationViaCursor: null #read: true #deserialize: false #validate: false #write: null #serialize: null #priority: 2 #name: "Афиша" #method: "GET" #uriTemplate: "/plays/afisha" #types: null #formats: null #inputFormats: [ "jsonld" => [ "application/ld+json" ] ] #outputFormats: [ "jsonld" => [ "application/ld+json" ] ] #uriVariables: [] #routePrefix: null #routeName: null #defaults: null #requirements: null #options: null #stateless: true #sunset: null #acceptPatch: null #status: null #host: null #schemes: null #condition: null #controller: "api_platform.symfony.main_controller" #headers: null #cacheHeaders: [ "vary" => [ "Content-Type" "Authorization" "Origin" ] ] #hydraContext: null #openapi: ApiPlatform\OpenApi\Model\Operation {#946 …} #exceptionToStatus: null #links: null #errors: null -itemUriTemplate: null } |
| _api_operation_name | "Афиша" |
| _api_platform_links | Symfony\Component\WebLink\GenericLinkProvider {#1473 -links: [ 1472 => Symfony\Component\WebLink\Link {#1472 -rel: [ "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation" ] -attributes: [] -href: "https://api-theatre.rassamahin.ru/api/docs.jsonld" } ] } |
| _api_query_parameters | [] |
| _api_resource_class | "App\Play\UI\Api\Resource\PlayResource" |
| _api_uri_variables | [] |
| _controller | "api_platform.symfony.main_controller" |
| _firewall_context | "security.firewall.map.context.api" |
| _format | null |
| _nelmio_cors_should_allow_origin | true |
| _resources | [] |
| _route | "Афиша" |
| _route_params | [ "_stateless" => true "_api_resource_class" => "App\Play\UI\Api\Resource\PlayResource" "_api_operation_name" => "Афиша" "_format" => null ] |
| _security_authenticators | [] |
| _security_skipped_authenticators | [ Symfony\Component\Security\Http\Authenticator\Debug\TraceableAuthenticator {#154 -supports: false -passport: null -duration: null -stub: "Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\JWTAuthenticator" -authenticated: null -exception: null -authenticator: Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\JWTAuthenticator {#202 …} } ] |
| _stateless | true |
| _stopwatch_token | "a93843" |
| data | [] |
| input_format | null |
| previous_data | [] |
Request Headers
| Header | Value |
|---|---|
| accept | "application/ld+json" |
| accept-encoding | "gzip, deflate, br" |
| cache-control | "no-cache" |
| content-length | "0" |
| host | "api-theatre.rassamahin.ru" |
| origin | "https://theatre.rassamahin.ru" |
| pragma | "no-cache" |
| priority | "u=1, i" |
| referer | "https://theatre.rassamahin.ru/" |
| sec-fetch-dest | "empty" |
| sec-fetch-mode | "cors" |
| sec-fetch-site | "same-site" |
| user-agent | "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" |
| via | "2.0 Caddy" |
| x-forwarded-for | "34.123.170.104" |
| x-forwarded-host | "api-theatre.rassamahin.ru" |
| x-forwarded-proto | "https" |
| x-php-ob-level | "1" |
Request Content
Request content not available (it was retrieved as a resource).
Response
Response Headers
| Header | Value |
|---|---|
| access-control-allow-origin | "https://theatre.rassamahin.ru" |
| access-control-expose-headers | "link" |
| cache-control | "no-cache, private" |
| content-type | "application/ld+json; charset=utf-8" |
| date | "Thu, 28 May 2026 14:30:28 GMT" |
| etag | ""c8a664855444e822"" |
| link | "<https://api-theatre.rassamahin.ru/api/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation"" |
| vary | [ "Accept" "Content-Type" "Authorization" "Origin" ] |
| x-content-type-options | "nosniff" |
| x-debug-token | "336f55" |
| 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_S3_BASE_URL | "https://files-theatre.rassamahin.ru" |
| APP_SECRET | "fb32da91c5fb2825aeb695725f72bcc2" |
| CORS_ALLOW_ORIGIN | "^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$" |
| DATABASE_URL | "postgresql://crmtheatre:V22Kt5YS2SsBMDq3@localhost:5432/crmtheatre?serverVersion=16&charset=utf8" |
| FRONTEND_URL | "https://theatre.rassamahin.ru/" |
| JWT_DIR | "config/jwt" |
| JWT_PASSPHRASE | "123123" |
| JWT_PUBLIC_KEY | "%kernel.project_dir%/config/jwt/public.pem" |
| JWT_SECRET_KEY | "%kernel.project_dir%/config/jwt/private.pem" |
| MESSENGER_TRANSPORT_CACHE_ASYNC_DSN | "amqp://crm-theatre:iTcau3EjmXS51vva@localhost:5672/crm-theatre/messages/cache-async" |
| MESSENGER_TRANSPORT_DSN | "amqp://crm-theatre:iTcau3EjmXS51vva@localhost:5672/crm-theatre/messages" |
| MINIO_CONSOLE_PORT | "9001" |
| MINIO_PORT | "9000" |
| MINIO_ROOT_PASSWORD | "minio123" |
| MINIO_ROOT_USER | "minio" |
| NGINX_HOST_PORT | "8080" |
| NGINX_HTTPS_HOST_PORT | "8443" |
| POSTGRES_DB | "crm" |
| POSTGRES_PASSWORD | "secret" |
| POSTGRES_PORT | "5432" |
| POSTGRES_USER | "crm" |
| RABBITMQ_AMQP_PORT | "5672" |
| RABBITMQ_DEFAULT_PASS | "secret" |
| RABBITMQ_DEFAULT_USER | "crm" |
| RABBITMQ_MANAGEMENT_PORT | "15672" |
| REDIS_PORT | "6379" |
| S3_BUCKET | "cdn" |
| S3_ENDPOINT | "https://files-theatre.rassamahin.ru" |
| S3_KEY | "crm-theathre" |
| S3_PATH_PREFIX | "uploads" |
| S3_REGION | "us-east-1" |
| S3_SECRET | "qpseA8rDzFFEcPRc" |
| SUPERVISOR_CONFIG_DIR | "var" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| APP_PROJECT_DIR | "/var/www/seversk-muz/backend" |
| APP_RUNTIME | "Symfony\Component\Runtime\SymfonyRuntime" |
| APP_RUNTIME_OPTIONS | [ "project_dir" => "/var/www/seversk-muz/backend" ] |
| AUTH_TYPE | "" |
| CONTENT_LENGTH | "0" |
| CONTENT_TYPE | "" |
| DOCUMENT_ROOT | "/var/www/seversk-muz/backend/public" |
| DOCUMENT_URI | "/index.php" |
| FCGI_ROLE | "RESPONDER" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| HOME | "/var/www" |
| HTTPS | "on" |
| HTTP_ACCEPT | "application/ld+json" |
| HTTP_ACCEPT_ENCODING | "gzip, deflate, br" |
| HTTP_CACHE_CONTROL | "no-cache" |
| HTTP_CONTENT_LENGTH | "0" |
| HTTP_HOST | "api-theatre.rassamahin.ru" |
| HTTP_ORIGIN | "https://theatre.rassamahin.ru" |
| HTTP_PRAGMA | "no-cache" |
| HTTP_PRIORITY | "u=1, i" |
| HTTP_REFERER | "https://theatre.rassamahin.ru/" |
| HTTP_SEC_FETCH_DEST | "empty" |
| HTTP_SEC_FETCH_MODE | "cors" |
| HTTP_SEC_FETCH_SITE | "same-site" |
| HTTP_USER_AGENT | "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36" |
| HTTP_VIA | "2.0 Caddy" |
| HTTP_X_FORWARDED_FOR | "34.123.170.104" |
| HTTP_X_FORWARDED_HOST | "api-theatre.rassamahin.ru" |
| HTTP_X_FORWARDED_PROTO | "https" |
| PATH_INFO | "" |
| PHP_SELF | "/index.php" |
| QUERY_STRING | "" |
| REMOTE_ADDR | "34.123.170.104" |
| REMOTE_HOST | "34.123.170.104" |
| REMOTE_IDENT | "" |
| REMOTE_PORT | "42828" |
| REMOTE_USER | "" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1779978628 |
| REQUEST_TIME_FLOAT | 1779978628.3874 |
| REQUEST_URI | "/api/plays/afisha" |
| SCRIPT_FILENAME | "/var/www/seversk-muz/backend/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SERVER_NAME | "api-theatre.rassamahin.ru" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/2.0" |
| SERVER_SOFTWARE | "Caddy/v2.10.2" |
| SSL_CIPHER | "TLS_AES_128_GCM_SHA256" |
| SSL_PROTOCOL | "TLSv1.3" |
| SYMFONY_DOTENV_PATH | "/var/www/seversk-muz/backend/.env" |
| SYMFONY_DOTENV_VARS | "NGINX_HOST_PORT,NGINX_HTTPS_HOST_PORT,POSTGRES_PORT,POSTGRES_DB,POSTGRES_USER,POSTGRES_PASSWORD,REDIS_PORT,RABBITMQ_AMQP_PORT,RABBITMQ_MANAGEMENT_PORT,RABBITMQ_DEFAULT_USER,RABBITMQ_DEFAULT_PASS,MINIO_PORT,MINIO_CONSOLE_PORT,MINIO_ROOT_USER,MINIO_ROOT_PASSWORD,APP_ENV,APP_SECRET,FRONTEND_URL,DATABASE_URL,CORS_ALLOW_ORIGIN,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,JWT_DIR,MESSENGER_TRANSPORT_DSN,MESSENGER_TRANSPORT_CACHE_ASYNC_DSN,APP_S3_BASE_URL,S3_ENDPOINT,S3_BUCKET,S3_REGION,S3_KEY,S3_SECRET,S3_PATH_PREFIX,SUPERVISOR_CONFIG_DIR" |
| USER | "www-data" |