https://ec2-34-244-104-82.eu-west-1.compute.amazonaws.com/graphql Return to referer URL

EntrypointAction

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"api_platform.graphql.action.entrypoint"
_firewall_context
"security.firewall.map.context.main"
_graphql
true
_graphql_collections_args
[
  "Gally\Product\Model\Product" => [
    "localizedCatalog" => "7"
    "requestType" => "product_search"
    "currentPage" => 2
    "search" => "lily"
    "pageSize" => 10
    "sort" => [
      "_score" => "desc"
    ]
    "filter" => [
      []
    ]
  ]
]
_links
Fig\Link\GenericLinkProvider {#5611
  -links: [
    "00000000000015e90000000000000000" => Fig\Link\Link {#5609
      -href: "https://ec2-34-244-104-82.eu-west-1.compute.amazonaws.com/docs.jsonld"
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => true
      ]
      -attributes: []
    }
  ]
}
_route
"api_graphql_entrypoint"
_route_params
[
  "_graphql" => true
]
_stopwatch_token
"80b637"
_vary_by_gally_language
true
_vary_by_language
true

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, deflate, br"
accept-language
"fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3"
content-length
"830"
content-type
"application/json"
gally-language
"fr_FR"
host
"ec2-34-244-104-82.eu-west-1.compute.amazonaws.com"
origin
"https://ec2-34-244-104-82.eu-west-1.compute.amazonaws.com"
referer
"https://ec2-34-244-104-82.eu-west-1.compute.amazonaws.com/example/search"
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"same-origin"
user-agent
"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0"
via
"1.1 76d235e41338 (Varnish/7.2)"
x-caddy-forwarded
"1"
x-forwarded-for
"88.181.236.174, 192.168.16.8, 192.168.16.9"
x-forwarded-host
"ec2-34-244-104-82.eu-west-1.compute.amazonaws.com"
x-forwarded-proto
"https"
x-php-ob-level
"1"
x-varnish
"524308"

Request Content

Pretty

{
    "query": "query getProducts ($requestType: ProductRequestTypeEnum!, $localizedCatalog: String!, $currentPage: Int, $currentCategoryId: String, $pageSize: Int, $search: String, $sort: ProductSortInput) { products: products (requestType: $requestType, localizedCatalog: $localizedCatalog, currentPage: $currentPage, currentCategoryId: $currentCategoryId, pageSize: $pageSize, search: $search, sort: $sort, filter: {}) { collection { ... on Product { id sku name description score image stock { status } price { price } } } paginationInfo { lastPage itemsPerPage totalCount } sortInfo { current { field direction } } aggregations { field label type options { count label value } hasMore } } }",
    "variables": {
        "localizedCatalog": "7",
        "requestType": "product_search",
        "currentPage": 2,
        "pageSize": 10,
        "search": "lily",
        "sort": {
            "_score": "desc"
        }
    }
}

Raw

{"query":"query getProducts ($requestType: ProductRequestTypeEnum!, $localizedCatalog: String!, $currentPage: Int, $currentCategoryId: String, $pageSize: Int, $search: String, $sort: ProductSortInput) { products: products (requestType: $requestType, localizedCatalog: $localizedCatalog, currentPage: $currentPage, currentCategoryId: $currentCategoryId, pageSize: $pageSize, search: $search, sort: $sort, filter: {}) { collection { ... on Product { id sku name description score image stock { status } price { price } } } paginationInfo { lastPage itemsPerPage totalCount } sortInfo { current { field direction } } aggregations { field label type options { count label value } hasMore } } }","variables":{"localizedCatalog":"7","requestType":"product_search","currentPage":2,"pageSize":10,"search":"lily","sort":{"_score":"desc"}}}

Response

Response Headers

Header Value
cache-control
"must-revalidate, private"
content-type
"application/json"
date
"Fri, 17 May 2024 10:16:34 GMT"
link
"<https://ec2-34-244-104-82.eu-west-1.compute.amazonaws.com/docs.jsonld>; rel="http://www.w3.org/ns/hydra/core#apiDocumentation""
vary
[
  "Accept-Language"
  "Gally-Language"
]
x-debug-token
"09bcb8"

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
CORS_ALLOW_ORIGIN
"^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$"
ELASTICSEARCH_HOST
"search"
ELASTICSEARCH_PORT
"9200"
ELASTICSEARCH_SCHEME
"http"
JWT_PASSPHRASE
"2ed9b4c25893442a0d43fffac3233a5f"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
JWT_TTL
"28800"
VARNISH_URL
"varnish"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
APP_ENV
"dev"
APP_SECRET
"3588f7fccd80912082536abe060dd120c484fa4b"
AUTH_TYPE
""
COMPOSER_ALLOW_SUPERUSER
"1"
COMPOSER_AUTH
"{"http-basic": {"elasticsuite.repo.packagist.com": {"username": "token", "password": "586f330baf8c55aa878903d1da731a024b952918e06a75a29540f685b3b6" }}}"
CONTENT_LENGTH
"830"
CONTENT_TYPE
"application/json"
DATABASE_URL
"postgresql://api-platform:3588f7fccd80912082536abe060dd120c484fa4b@database:5432/api?serverVersion=13"
DOCUMENT_ROOT
"/srv/api/public"
DOCUMENT_URI
"/index.php"
ELASTICSEARCH_URL
"http://search:9200/"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
GPG_KEYS
"528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544 F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD"
HOME
"/home/www-data"
HOSTNAME
"8f0e8cb42515"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br"
HTTP_ACCEPT_LANGUAGE
"fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3"
HTTP_CONTENT_LENGTH
"830"
HTTP_CONTENT_TYPE
"application/json"
HTTP_GALLY_LANGUAGE
"fr_FR"
HTTP_HOST
"ec2-34-244-104-82.eu-west-1.compute.amazonaws.com"
HTTP_ORIGIN
"https://ec2-34-244-104-82.eu-west-1.compute.amazonaws.com"
HTTP_REFERER
"https://ec2-34-244-104-82.eu-west-1.compute.amazonaws.com/example/search"
HTTP_SEC_FETCH_DEST
"empty"
HTTP_SEC_FETCH_MODE
"cors"
HTTP_SEC_FETCH_SITE
"same-origin"
HTTP_USER_AGENT
"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0"
HTTP_VIA
"1.1 76d235e41338 (Varnish/7.2)"
HTTP_X_CADDY_FORWARDED
"1"
HTTP_X_FORWARDED_FOR
"88.181.236.174, 192.168.16.8, 192.168.16.9"
HTTP_X_FORWARDED_HOST
"ec2-34-244-104-82.eu-west-1.compute.amazonaws.com"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_VARNISH
"524308"
LD_PRELOAD
"/usr/lib/preloadable_libiconv.so"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.composer/vendor/bin"
PATH_INFO
""
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.1.28.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_INI_DIR
"/usr/local/etc/php"
PHP_LDFLAGS
"-Wl,-O1 -pie"
PHP_SELF
"/index.php"
PHP_SHA256
"95d0b2e9466108fd750dab5c30a09e5c67f5ad2cb3b1ffb3625a038a755ad080"
PHP_URL
"https://www.php.net/distributions/php-8.1.28.tar.xz"
PHP_VERSION
"8.1.28"
PWD
"/srv/api"
QUERY_STRING
""
REMOTE_ADDR
"192.168.16.9"
REMOTE_HOST
"192.168.16.9"
REMOTE_IDENT
""
REMOTE_PORT
"42354"
REMOTE_USER
""
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"http"
REQUEST_TIME
1715940994
REQUEST_TIME_FLOAT
1715940994.333
REQUEST_URI
"/graphql"
SCRIPT_FILENAME
"/srv/api/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_NAME
"ec2-34-244-104-82.eu-west-1.compute.amazonaws.com"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"Caddy/v2.6.4"
SHLVL
"2"
SYMFONY_DOTENV_VARS
"CORS_ALLOW_ORIGIN,ELASTICSEARCH_HOST,ELASTICSEARCH_PORT,ELASTICSEARCH_SCHEME,VARNISH_URL,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,JWT_TTL"
SYMFONY_PHPUNIT_VERSION
"9"
TRUSTED_HOSTS
"^ec2-34-244-104-82.eu-west-1.compute.amazonaws.com|caddy$"
TRUSTED_PROXIES
"127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
USER
"www-data"
XDEBUG_MODE
"off"