使用api平台处理id和uuid

Just wondering if I am able to use API platform (https://api-platform.com/) to handle the following table structure.

student

- id - auto increment - primary key
- uuid - string 
- name
- department_id

department

- id - auto increment - primary key
- uuid - string 
- name

I would like to use api platform to achieve the following with ApiSubresource:

GET /api/student/{uuid}

Response

{
  "uuid": "a1590004-f74b-4a10-93f0-27f17c370058",
  "name": "student1",
  "department": "/api/department/a2122004-f74b-4a10-93f0-27f17c370058"
}

Thanks.