GET https://vps-32bc7fac.vps.ovh.ca/api/courseworks/576

Serializer

1 Handled
18.96 ms Total time

serialize 1

Data Context Normalizer Encoder Time Caller
App\Entity\Coursework
Show contents
App\Entity\Coursework {#1582
  -id: 576
  -rubric: null
  +image: null
  -teacher: App\Entity\Teacher {#1317 …}
  -title: "The Role of AI in Shaping Future Societies"
  -description: "In this essay, students will analyze how artificial intelligence (AI) is shaping future societies, focusing on its potential benefits across various sectors like healthcare, education, and the economy, as well as examining the associated challenges and ethical concerns. Students are expected to demonstrate critical thinking and synthesize diverse information and viewpoints."
  -state: "draft"
  -created_at: DateTimeImmutable @1749216978 {#1505
    date: 2025-06-06 13:36:18.0 UTC (+00:00)
  }
  -updated_at: DateTimeImmutable @1749216978 {#1498
    date: 2025-06-06 13:36:18.0 UTC (+00:00)
  }
  -type: "Essay"
  -deletedAt: null
  -writingAssistance: false
  -allowHandWriting: false
  -allowUploadFile: false
  -dueDate: null
  -classroom: Proxies\__CG__\App\Entity\Classroom {#1603 …}
  -idGoogleCourseWork: null
  -maxPoints: "40"
  -quiz: Proxies\__CG__\App\Entity\Quiz {#1648 …}
  -isPracticeMode: false
  -googleIntegration: null
  -setting: Proxies\__CG__\App\Entity\Setting {#1676 …}
  -insights: Doctrine\ORM\PersistentCollection {#1684 …}
}
Format: jsonld
Show context
[
  "groups" => [
    "coursework:read"
    "entity:read"
  ]
  "operation_name" => "_api_/courseworks/{id}{._format}_get"
  "operation" => ApiPlatform\Metadata\Get {#1842
    #parameters: ApiPlatform\Metadata\Parameters {#722 …}
    #shortName: "Coursework"
    #class: "App\Entity\Coursework"
    #description: null
    #urlGenerationStrategy: null
    #deprecationReason: null
    #normalizationContext: [
      "groups" => [
        "coursework:read"
        "entity:read"
      ]
    ]
    #denormalizationContext: [
      "groups" => [
        "coursework:write"
      ]
    ]
    #collectDenormalizationErrors: null
    #validationContext: null
    #filters: [
      "annotated_app_entity_coursework_api_platform_doctrine_orm_filter_search_filter"
      "annotated_app_entity_coursework_api_platform_doctrine_orm_filter_boolean_filter"
      "annotated_app_entity_coursework_api_platform_doctrine_orm_filter_order_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 {#720 …}
    #queryParameterValidationEnabled: null
    #extraProperties: []
    #paginationViaCursor: null
    #read: true
    #deserialize: null
    #validate: null
    #write: null
    #serialize: true
    #priority: 4
    #name: "_api_/courseworks/{id}{._format}_get"
    #method: "GET"
    #uriTemplate: "/courseworks/{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 {#719
        #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\Coursework"
        -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: 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
  }
  "resource_class" => "App\Entity\Coursework"
  "skip_null_values" => true
  "iri_only" => false
  "request_uri" => "/api/courseworks/576"
  "uri" => "https://vps-32bc7fac.vps.ovh.ca/api/courseworks/576"
  "input" => null
  "output" => null
  "uri_variables" => [
    "id" => 576
  ]
  "exclude_from_cache_key" => [
    "root_operation"
    "operation"
    "object"
    "data"
    "property_metadata"
    "circular_reference_limit_counters"
    "debug_trace_id"
    "resources"
    "resources_to_push"
  ]
  "api_gateway" => false
  "base_url" => ""
  "spec_version" => ""
  "resources" => ApiPlatform\State\ResourceList {#1843
    storage: [
      "/api/courseworks/576" => "/api/courseworks/576"
      "/api/teachers/322" => "/api/teachers/322"
      "/api/classrooms/163" => "/api/classrooms/163"
      "/api/organisations/51" => "/api/organisations/51"
      "/api/quizzes/712" => "/api/quizzes/712"
      "/api/questions/2398" => "/api/questions/2398"
      "/api/settings/576" => "/api/settings/576"
    ]
    flag::STD_PROP_LIST: false
    flag::ARRAY_AS_PROPS: false
    iteratorClass: "ArrayIterator"
  }
  "resources_to_push" => ApiPlatform\State\ResourceList {#1844
    storage: []
    flag::STD_PROP_LIST: false
    flag::ARRAY_AS_PROPS: false
    iteratorClass: "ArrayIterator"
  }
]
ItemNormalizer (18.77 ms) JsonEncoder (0.02 ms) 18.96 ms

deserialize 0

Nothing was deserialized.

normalize 0

Nothing was normalized.

denormalize 0

Nothing was denormalized.

encode 0

Nothing was encoded.

decode 0

Nothing was decoded.