PlaceholderAction
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
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" ] "x-php-ob-level" => [ "1" ] ] |
_api_normalization_context | [ "groups" => [ "studentcoursework:read" ] "enable_max_depth" => true "operation_name" => "_api_/student-course-works/{id}{._format}_get" "operation" => ApiPlatform\Metadata\Get {#1110 #parameters: null #shortName: "StudentCourseWork" #class: "App\Entity\StudentCourseWork" #description: null #urlGenerationStrategy: null #deprecationReason: null #normalizationContext: [ "groups" => [ "studentcoursework:read" ] "enable_max_depth" => true ] #denormalizationContext: [ "groups" => [ "studentcoursework:write" ] "enable_max_depth" => true ] #collectDenormalizationErrors: null #validationContext: null #filters: [ "annotated_app_entity_student_course_work_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\ItemProvider" #processor: "api_platform.doctrine.orm.state.persist_processor" #stateOptions: ApiPlatform\Doctrine\Orm\State\Options {#842 …} #queryParameterValidationEnabled: null #extraProperties: [] #paginationViaCursor: null #read: true #deserialize: null #validate: null #write: null #serialize: null #priority: 5 #name: "_api_/student-course-works/{id}{._format}_get" #method: "GET" #uriTemplate: "/student-course-works/{id}{._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: [ "id" => ApiPlatform\Metadata\Link {#841 #key: null #schema: null #openApi: null #provider: null #filter: null #property: null #description: null #required: null #priority: null #hydra: null #constraints: null #security: null #securityMessage: null #extraProperties: [] -parameterName: "id" -fromProperty: null -toProperty: null -fromClass: "App\Entity\StudentCourseWork" -toClass: null -identifiers: [ "id" ] -compositeIdentifier: null -expandedValue: null -securityObjectName: null } ] #routePrefix: null #routeName: null #defaults: null #requirements: null #options: null #stateless: true #sunset: null #acceptPatch: "application/merge-patch+json, application/vnd.api+json" #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 } "resource_class" => "App\Entity\StudentCourseWork" "skip_null_values" => true "iri_only" => false "request_uri" => "/api/student-course-works/2" "uri" => "http://vps-32bc7fac.vps.ovh.ca/api/student-course-works/2" "input" => null "output" => null "uri_variables" => [ "id" => "2" ] "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\Get {#1110 #parameters: null #shortName: "StudentCourseWork" #class: "App\Entity\StudentCourseWork" #description: null #urlGenerationStrategy: null #deprecationReason: null #normalizationContext: [ "groups" => [ "studentcoursework:read" ] "enable_max_depth" => true ] #denormalizationContext: [ "groups" => [ "studentcoursework:write" ] "enable_max_depth" => true ] #collectDenormalizationErrors: null #validationContext: null #filters: [ "annotated_app_entity_student_course_work_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\ItemProvider" #processor: "api_platform.doctrine.orm.state.persist_processor" #stateOptions: ApiPlatform\Doctrine\Orm\State\Options {#842 …} #queryParameterValidationEnabled: null #extraProperties: [] #paginationViaCursor: null #read: true #deserialize: null #validate: null #write: null #serialize: null #priority: 5 #name: "_api_/student-course-works/{id}{._format}_get" #method: "GET" #uriTemplate: "/student-course-works/{id}{._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: [ "id" => ApiPlatform\Metadata\Link {#841 #key: null #schema: null #openApi: null #provider: null #filter: null #property: null #description: null #required: null #priority: null #hydra: null #constraints: null #security: null #securityMessage: null #extraProperties: [] -parameterName: "id" -fromProperty: null -toProperty: null -fromClass: "App\Entity\StudentCourseWork" -toClass: null -identifiers: [ "id" ] -compositeIdentifier: null -expandedValue: null -securityObjectName: null } ] #routePrefix: null #routeName: null #defaults: null #requirements: null #options: null #stateless: true #sunset: null #acceptPatch: "application/merge-patch+json, application/vnd.api+json" #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 } |
_api_operation_name | "_api_/student-course-works/{id}{._format}_get" |
_api_platform_links | Symfony\Component\WebLink\GenericLinkProvider {#3155 -links: [ 3164 => Symfony\Component\WebLink\Link {#3164 -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 | [] |
_api_resource_class | "App\Entity\StudentCourseWork" |
_api_uri_variables | [ "id" => 2 ] |
_controller | "api_platform.action.placeholder" |
_firewall_context | "security.firewall.map.context.main" |
_format | null |
_nelmio_cors_should_allow_origin | true |
_resources | [ "/api/student-course-works/2" => "/api/student-course-works/2" "/api/get-course-work" => "/api/get-course-work" "/api/rubrics/3" => "/api/rubrics/3" "/api/criterias/17" => "/api/criterias/17" "/api/criterias/18" => "/api/criterias/18" "/api/criterias/19" => "/api/criterias/19" "/api/criterias/20" => "/api/criterias/20" "/api/teachers/7" => "/api/teachers/7" "/api/classrooms/2" => "/api/classrooms/2" "/api/rubrics/5" => "/api/rubrics/5" "/api/criterias/23" => "/api/criterias/23" "/api/criterias/24" => "/api/criterias/24" "/api/students/9" => "/api/students/9" ] |
_route | "_api_/student-course-works/{id}{._format}_get" |
_route_params | [ "_format" => null "_stateless" => true "_api_resource_class" => "App\Entity\StudentCourseWork" "_api_operation_name" => "_api_/student-course-works/{id}{._format}_get" "id" => "2" ] |
_stateless | true |
_stopwatch_token | "db8305" |
data | App\Entity\StudentCourseWork {#1452 -id: 2 -created_at: DateTimeImmutable @1731271107 {#1436 : 2024-11-10 20:38:27.0 UTC (+00:00) } -studentSubmission: null -coursework: Proxies\__CG__\App\Entity\Coursework {#1545 …} -student: App\Entity\Student {#1340 …} -teacher: Proxies\__CG__\App\Entity\Teacher {#1578 …} +image: null -recommandations: Doctrine\ORM\PersistentCollection {#1587 …} -startHelp: null -progressHelp: null -submitHelp: null } |
id | "2" |
input_format | null |
original_data | App\Entity\StudentCourseWork {#1452 -id: 2 -created_at: DateTimeImmutable @1731271107 {#1436 : 2024-11-10 20:38:27.0 UTC (+00:00) } -studentSubmission: null -coursework: Proxies\__CG__\App\Entity\Coursework {#1545 …} -student: App\Entity\Student {#1340 …} -teacher: Proxies\__CG__\App\Entity\Teacher {#1578 …} +image: null -recommandations: Doctrine\ORM\PersistentCollection {#1587 …} -startHelp: null -progressHelp: null -submitHelp: null } |
previous_data | App\Entity\StudentCourseWork {#1383 -id: 2 -created_at: DateTimeImmutable @1731271107 {#1436 : 2024-11-10 20:38:27.0 UTC (+00:00) } -studentSubmission: null -coursework: Proxies\__CG__\App\Entity\Coursework {#1545 …} -student: App\Entity\Student {#1340 …} -teacher: Proxies\__CG__\App\Entity\Teacher {#1578 …} +image: null -recommandations: Doctrine\ORM\PersistentCollection {#1587 …} -startHelp: null -progressHelp: null -submitHelp: 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" |
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 |
---|---|
accept-patch | "application/merge-patch+json, application/vnd.api+json" |
access-control-allow-origin | "https://remedia-alpha.vercel.app" |
access-control-expose-headers | "link" |
cache-control | "max-age=0, public, s-maxage=3600" |
content-location | "/api/get-student-course-work" |
content-type | "application/ld+json; charset=utf-8" |
date | "Sun, 10 Nov 2024 20:38:28 GMT" |
etag | ""41683342be6e8483cfa60a5b2a7c44b7"" |
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 | "72f46c" |
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_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/student-course-works/2" |
PHP_SELF | "/index.php/api/student-course-works/2" |
REMOTE_ADDR | "127.0.0.1" |
REMOTE_PORT | "33484" |
REQUEST_METHOD | "GET" |
REQUEST_TIME | 1731271107 |
REQUEST_TIME_FLOAT | 1731271107.9676 |
REQUEST_URI | "/api/student-course-works/2" |
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" |