GET http://vps-32bc7fac.vps.ovh.ca/api/classrooms?students=9

PlaceholderAction

Request

GET Parameters

Key Value
students
"9"

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_api_header_parameters
[
  "connection" => [
    "upgrade"
  ]
  "host" => [
    "vps-32bc7fac.vps.ovh.ca"
  ]
  "sec-ch-ua-platform" => [
    ""macOS""
  ]
  "authorization" => [
    "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3MzEwODk4NjgsImV4cCI6MTczODg2NTg2OCwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoib21hcnNhYjNAZ21haWwuY29tIn0.JeSVn7l5aAbBIn8BwrAkS7K_UxCeZdHzAsTiKIIrb_0yNvo-uLB1L7yrfJ2LfkvOAOA3Xvdcb3zl-9Eo6I7VLcU5kptAWvaPpHt0is2kCclGYyQg-cG0sawk2M_3MwFfojTTleP9DELL0Z5BSLF1zinOGrx_tDlqlb0sYdy32BJkGOcEMrEKD6745WQixas5sXcKSZGjmaA0xYCQAzEMdwV411XiduUIj507BqYzWd_KCbW8MBWt9ed255nVTla2n1nZZCJU9zwrltFjAxv9ULCDQK8Fw1ieCif6uOW1PXJ316HU0gH9e8yQOcFRPELxraBmIE4hzSXd3lU6GZWybg"
  ]
  "user-agent" => [
    "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"
  ]
  "sec-ch-ua" => [
    ""Chromium";v="130", "Google Chrome";v="130", "Not?A_Brand";v="99""
  ]
  "sec-ch-ua-mobile" => [
    "?0"
  ]
  "accept" => [
    "*/*"
  ]
  "origin" => [
    "https://remedia-alpha.vercel.app"
  ]
  "sec-fetch-site" => [
    "cross-site"
  ]
  "sec-fetch-mode" => [
    "cors"
  ]
  "sec-fetch-dest" => [
    "empty"
  ]
  "referer" => [
    "https://remedia-alpha.vercel.app/"
  ]
  "accept-encoding" => [
    "gzip, deflate, br, zstd"
  ]
  "accept-language" => [
    "en,en-US;q=0.9,fr-FR;q=0.8,fr;q=0.7"
  ]
  "if-none-match" => [
    ""852f928de7f8d73b03d074f9d0f4a798""
  ]
  "x-php-ob-level" => [
    "1"
  ]
]
_api_normalization_context
[
  "groups" => [
    "classroom:read"
  ]
  "enable_max_depth" => true
  "operation_name" => "_api_/classrooms{._format}_get_collection"
  "operation" => ApiPlatform\Metadata\GetCollection {#1067
    #parameters: null
    #shortName: "Classroom"
    #class: "App\Entity\Classroom"
    #description: null
    #urlGenerationStrategy: null
    #deprecationReason: null
    #normalizationContext: [
      "groups" => [
        "classroom:read"
      ]
      "enable_max_depth" => true
    ]
    #denormalizationContext: [
      "groups" => [
        "classroom:write"
      ]
      "enable_max_depth" => true
    ]
    #collectDenormalizationErrors: null
    #validationContext: null
    #filters: [
      "annotated_app_entity_classroom_api_platform_doctrine_orm_filter_search_filter"
    ]
    #elasticsearch: null
    #mercure: null
    #messenger: null
    #input: null
    #output: null
    #order: null
    #fetchPartial: null
    #forceEager: null
    #paginationEnabled: null
    #paginationType: null
    #paginationItemsPerPage: null
    #paginationMaximumItemsPerPage: null
    #paginationPartial: null
    #paginationClientEnabled: true
    #paginationClientItemsPerPage: true
    #paginationClientPartial: null
    #paginationFetchJoinCollection: null
    #paginationUseOutputWalkers: null
    #security: null
    #securityMessage: null
    #securityPostDenormalize: null
    #securityPostDenormalizeMessage: null
    #securityPostValidation: null
    #securityPostValidationMessage: null
    #provider: "ApiPlatform\Doctrine\Orm\State\CollectionProvider"
    #processor: "api_platform.doctrine.orm.state.persist_processor"
    #stateOptions: ApiPlatform\Doctrine\Orm\State\Options {#841 …}
    #queryParameterValidationEnabled: null
    #extraProperties: []
    #paginationViaCursor: null
    #read: true
    #deserialize: null
    #validate: null
    #write: null
    #serialize: null
    #priority: 3
    #name: "_api_/classrooms{._format}_get_collection"
    #method: "GET"
    #uriTemplate: "/classrooms{._format}"
    #types: null
    #formats: null
    #inputFormats: [
      "jsonld" => [
        "application/ld+json"
      ]
      "jsonhal" => [
        "application/hal+json"
      ]
      "jsonapi" => [
        "application/vnd.api+json"
      ]
      "json" => [
        "application/json"
      ]
      "xml" => [
        "application/xml"
        "text/xml"
      ]
      "yaml" => [
        "application/x-yaml"
      ]
      "csv" => [
        "text/csv"
      ]
      "html" => [
        "text/html"
      ]
      "multipart" => [
        "multipart/form-data"
      ]
    ]
    #outputFormats: [
      "jsonld" => [
        "application/ld+json"
      ]
      "jsonhal" => [
        "application/hal+json"
      ]
      "jsonapi" => [
        "application/vnd.api+json"
      ]
      "json" => [
        "application/json"
      ]
      "xml" => [
        "application/xml"
        "text/xml"
      ]
      "yaml" => [
        "application/x-yaml"
      ]
      "csv" => [
        "text/csv"
      ]
      "html" => [
        "text/html"
      ]
      "multipart" => [
        "multipart/form-data"
      ]
    ]
    #uriVariables: null
    #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: null
    #headers: null
    #cacheHeaders: [
      "max_age" => 0
      "shared_max_age" => 3600
      "vary" => [
        "Content-Type"
        "Authorization"
        "Origin"
      ]
    ]
    #hydraContext: null
    #openapiContext: null
    #openapi: null
    #exceptionToStatus: null
    #links: null
    #errors: null
    -itemUriTemplate: null
  }
  "resource_class" => "App\Entity\Classroom"
  "skip_null_values" => true
  "iri_only" => false
  "request_uri" => "/api/classrooms?students=9"
  "uri" => "http://vps-32bc7fac.vps.ovh.ca/api/classrooms?students=9"
  "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 {#1067
  #parameters: null
  #shortName: "Classroom"
  #class: "App\Entity\Classroom"
  #description: null
  #urlGenerationStrategy: null
  #deprecationReason: null
  #normalizationContext: [
    "groups" => [
      "classroom:read"
    ]
    "enable_max_depth" => true
  ]
  #denormalizationContext: [
    "groups" => [
      "classroom:write"
    ]
    "enable_max_depth" => true
  ]
  #collectDenormalizationErrors: null
  #validationContext: null
  #filters: [
    "annotated_app_entity_classroom_api_platform_doctrine_orm_filter_search_filter"
  ]
  #elasticsearch: null
  #mercure: null
  #messenger: null
  #input: null
  #output: null
  #order: null
  #fetchPartial: null
  #forceEager: null
  #paginationEnabled: null
  #paginationType: null
  #paginationItemsPerPage: null
  #paginationMaximumItemsPerPage: null
  #paginationPartial: null
  #paginationClientEnabled: true
  #paginationClientItemsPerPage: true
  #paginationClientPartial: null
  #paginationFetchJoinCollection: null
  #paginationUseOutputWalkers: null
  #security: null
  #securityMessage: null
  #securityPostDenormalize: null
  #securityPostDenormalizeMessage: null
  #securityPostValidation: null
  #securityPostValidationMessage: null
  #provider: "ApiPlatform\Doctrine\Orm\State\CollectionProvider"
  #processor: "api_platform.doctrine.orm.state.persist_processor"
  #stateOptions: ApiPlatform\Doctrine\Orm\State\Options {#841 …}
  #queryParameterValidationEnabled: null
  #extraProperties: []
  #paginationViaCursor: null
  #read: true
  #deserialize: null
  #validate: null
  #write: null
  #serialize: null
  #priority: 3
  #name: "_api_/classrooms{._format}_get_collection"
  #method: "GET"
  #uriTemplate: "/classrooms{._format}"
  #types: null
  #formats: null
  #inputFormats: [
    "jsonld" => [
      "application/ld+json"
    ]
    "jsonhal" => [
      "application/hal+json"
    ]
    "jsonapi" => [
      "application/vnd.api+json"
    ]
    "json" => [
      "application/json"
    ]
    "xml" => [
      "application/xml"
      "text/xml"
    ]
    "yaml" => [
      "application/x-yaml"
    ]
    "csv" => [
      "text/csv"
    ]
    "html" => [
      "text/html"
    ]
    "multipart" => [
      "multipart/form-data"
    ]
  ]
  #outputFormats: [
    "jsonld" => [
      "application/ld+json"
    ]
    "jsonhal" => [
      "application/hal+json"
    ]
    "jsonapi" => [
      "application/vnd.api+json"
    ]
    "json" => [
      "application/json"
    ]
    "xml" => [
      "application/xml"
      "text/xml"
    ]
    "yaml" => [
      "application/x-yaml"
    ]
    "csv" => [
      "text/csv"
    ]
    "html" => [
      "text/html"
    ]
    "multipart" => [
      "multipart/form-data"
    ]
  ]
  #uriVariables: null
  #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: null
  #headers: null
  #cacheHeaders: [
    "max_age" => 0
    "shared_max_age" => 3600
    "vary" => [
      "Content-Type"
      "Authorization"
      "Origin"
    ]
  ]
  #hydraContext: null
  #openapiContext: null
  #openapi: null
  #exceptionToStatus: null
  #links: null
  #errors: null
  -itemUriTemplate: null
}
_api_operation_name
"_api_/classrooms{._format}_get_collection"
_api_platform_links
Symfony\Component\WebLink\GenericLinkProvider {#2066
  -links: [
    2252 => Symfony\Component\WebLink\Link {#2252
      -href: "http://vps-32bc7fac.vps.ovh.ca/api/docs.jsonld"
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation"
      ]
      -attributes: []
    }
  ]
}
_api_query_parameters
[
  "students" => "9"
]
_api_resource_class
"App\Entity\Classroom"
_api_uri_variables
[]
_controller
"api_platform.action.placeholder"
_firewall_context
"security.firewall.map.context.main"
_format
null
_nelmio_cors_should_allow_origin
true
_resources
[
  "/api/classrooms/2" => "/api/classrooms/2"
  "/api/teachers/7" => "/api/teachers/7"
  "/api/students/9" => "/api/students/9"
  "/api/get-course-work" => "/api/get-course-work"
]
_route
"_api_/classrooms{._format}_get_collection"
_route_params
[
  "_format" => null
  "_stateless" => true
  "_api_resource_class" => "App\Entity\Classroom"
  "_api_operation_name" => "_api_/classrooms{._format}_get_collection"
]
_stateless
true
_stopwatch_token
"41da63"
data
ApiPlatform\Doctrine\Orm\Paginator {#1524
  #paginator: Doctrine\ORM\Tools\Pagination\Paginator {#1517 …}
  #iterator: ArrayIterator {#1764 …}
  #firstResult: 0
  #maxResults: 30
  -totalItems: 1
  -doctrinePaginatorFactory: null
}
input_format
null
original_data
ApiPlatform\Doctrine\Orm\Paginator {#1524
  #paginator: Doctrine\ORM\Tools\Pagination\Paginator {#1517 …}
  #iterator: ArrayIterator {#1764 …}
  #firstResult: 0
  #maxResults: 30
  -totalItems: 1
  -doctrinePaginatorFactory: null
}
previous_data
ApiPlatform\Doctrine\Orm\Paginator {#1316
  #paginator: Doctrine\ORM\Tools\Pagination\Paginator {#1517 …}
  #iterator: ? Traversable|array
  #firstResult: 0
  #maxResults: 30
  -totalItems: null
  -doctrinePaginatorFactory: null
}

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, deflate, br, zstd"
accept-language
"en,en-US;q=0.9,fr-FR;q=0.8,fr;q=0.7"
authorization
"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3MzEwODk4NjgsImV4cCI6MTczODg2NTg2OCwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoib21hcnNhYjNAZ21haWwuY29tIn0.JeSVn7l5aAbBIn8BwrAkS7K_UxCeZdHzAsTiKIIrb_0yNvo-uLB1L7yrfJ2LfkvOAOA3Xvdcb3zl-9Eo6I7VLcU5kptAWvaPpHt0is2kCclGYyQg-cG0sawk2M_3MwFfojTTleP9DELL0Z5BSLF1zinOGrx_tDlqlb0sYdy32BJkGOcEMrEKD6745WQixas5sXcKSZGjmaA0xYCQAzEMdwV411XiduUIj507BqYzWd_KCbW8MBWt9ed255nVTla2n1nZZCJU9zwrltFjAxv9ULCDQK8Fw1ieCif6uOW1PXJ316HU0gH9e8yQOcFRPELxraBmIE4hzSXd3lU6GZWybg"
connection
"upgrade"
host
"vps-32bc7fac.vps.ovh.ca"
if-none-match
""852f928de7f8d73b03d074f9d0f4a798""
origin
"https://remedia-alpha.vercel.app"
referer
"https://remedia-alpha.vercel.app/"
sec-ch-ua
""Chromium";v="130", "Google Chrome";v="130", "Not?A_Brand";v="99""
sec-ch-ua-mobile
"?0"
sec-ch-ua-platform
""macOS""
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"cross-site"
user-agent
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"
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://remedia-alpha.vercel.app"
access-control-expose-headers
"link"
cache-control
"max-age=0, public, s-maxage=3600"
content-type
"application/ld+json; charset=utf-8"
date
"Sun, 10 Nov 2024 20:38:23 GMT"
etag
""852f928de7f8d73b03d074f9d0f4a798""
link
"<http://vps-32bc7fac.vps.ovh.ca/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
"e3a916"
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
"a3abe0e0a06ede88e8efe74d9e23a71f"
CORS_ALLOW_ORIGIN
"https://remedia-alpha.vercel.app"
DATABASE_URL
"mysql://remedia:api@127.0.0.1:3306/api?serverVersion=8.0.37&charset=utf8mb4"
FRONT_URL
"https://remedia-alpha.vercel.app/"
GOOGLE_CLIENT_ID
"764269088007-msiddi644iddgjvgmcn8sdu49id08l8f.apps.googleusercontent.com"
GOOGLE_CLIENT_SECRET
"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"
GOOGLE_REDIRECT_URI
"https://vps-32bc7fac.vps.ovh.ca/google/callback"
JWT_PASSPHRASE
"al3avc6lmaoi7gbvqrajerl1"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
MAILER_DSN
"brevo+smtp://79d52b001@smtp-brevo.com:xsmtpsib-76e5592e6c6c7e78f84f6d78fdb7df3e97a82ee610240c537db895933faf0ba1-AwgLIPY3xzVGNS1J@smtp-relay.brevo.com:587"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
OPENAI_API_KEY
"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"
OPENAI_API_MODEL
"gpt-4o"
ORIGIN
"https://vps-32bc7fac.vps.ovh.ca"
SENTRY_DSN
"https://764d9224687dd03d70e4d83b9331b904@o4507603376799744.ingest.us.sentry.io/4507782259146752"
WKHTMLTOIMAGE_PATH
"/usr/local/bin/wkhtmltoimage"
WKHTMLTOPDF_PATH
"/usr/local/bin/wkhtmltopdf"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
DOCUMENT_ROOT
"/home/ubuntu/remedia-back/public"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br, zstd"
HTTP_ACCEPT_LANGUAGE
"en,en-US;q=0.9,fr-FR;q=0.8,fr;q=0.7"
HTTP_AUTHORIZATION
"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3MzEwODk4NjgsImV4cCI6MTczODg2NTg2OCwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoib21hcnNhYjNAZ21haWwuY29tIn0.JeSVn7l5aAbBIn8BwrAkS7K_UxCeZdHzAsTiKIIrb_0yNvo-uLB1L7yrfJ2LfkvOAOA3Xvdcb3zl-9Eo6I7VLcU5kptAWvaPpHt0is2kCclGYyQg-cG0sawk2M_3MwFfojTTleP9DELL0Z5BSLF1zinOGrx_tDlqlb0sYdy32BJkGOcEMrEKD6745WQixas5sXcKSZGjmaA0xYCQAzEMdwV411XiduUIj507BqYzWd_KCbW8MBWt9ed255nVTla2n1nZZCJU9zwrltFjAxv9ULCDQK8Fw1ieCif6uOW1PXJ316HU0gH9e8yQOcFRPELxraBmIE4hzSXd3lU6GZWybg"
HTTP_CONNECTION
"upgrade"
HTTP_HOST
"vps-32bc7fac.vps.ovh.ca"
HTTP_IF_NONE_MATCH
""852f928de7f8d73b03d074f9d0f4a798""
HTTP_ORIGIN
"https://remedia-alpha.vercel.app"
HTTP_REFERER
"https://remedia-alpha.vercel.app/"
HTTP_SEC_CH_UA
""Chromium";v="130", "Google Chrome";v="130", "Not?A_Brand";v="99""
HTTP_SEC_CH_UA_MOBILE
"?0"
HTTP_SEC_CH_UA_PLATFORM
""macOS""
HTTP_SEC_FETCH_DEST
"empty"
HTTP_SEC_FETCH_MODE
"cors"
HTTP_SEC_FETCH_SITE
"cross-site"
HTTP_USER_AGENT
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36"
PATH_INFO
"/api/classrooms"
PHP_SELF
"/index.php/api/classrooms"
QUERY_STRING
"students=9"
REMOTE_ADDR
"127.0.0.1"
REMOTE_PORT
"54216"
REQUEST_METHOD
"GET"
REQUEST_TIME
1731271103
REQUEST_TIME_FLOAT
1731271103.1544
REQUEST_URI
"/api/classrooms?students=9"
SCRIPT_FILENAME
"/home/ubuntu/remedia-back/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_NAME
"localhost"
SERVER_PORT
"8000"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"PHP 8.1.2-1ubuntu2.18 Development Server"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,JWT_PASSPHRASE,CORS_ALLOW_ORIGIN,OPENAI_API_KEY,OPENAI_API_MODEL,FRONT_URL,MAILER_DSN,ORIGIN,SENTRY_DSN,MESSENGER_TRANSPORT_DSN,WKHTMLTOPDF_PATH,WKHTMLTOIMAGE_PATH,GOOGLE_CLIENT_ID,GOOGLE_CLIENT_SECRET,GOOGLE_REDIRECT_URI,JWT_SECRET_KEY,JWT_PUBLIC_KEY"