Strapi v4.1.10 API Specifications (Id Field)

System Information
  • Strapi Version: 4.1.10
  • Operating System: macos 12.3.1
  • Database: postgre 10.x
  • Node Version: 14.17.6
  • NPM Version: 6.14.15
  • Yarn Version: 1.22.10

Please help me understand the new api spec for v4.
From what I understand the new api for v4 follows the jsonapi spec. If that is the case, I think there might be an issue with the id’s returned:

According to the JsonApi Spec:


Every resource object MUST contain an id member and a type member. The values of the id and type members MUST be strings.

The problem I am seeing is the id’s are integers in the results.

Example API Call: http://localhost:1337/api/example-for-strapi-team

Example Results:
“data”: {
“id”: 1,
“attributes”: {
“FieldA”: “SomeValue”,
“createdAt”: “2022-05-13T03:14:44.335Z”,
“updatedAt”: “2022-05-13T03:14:46.863Z”,
“publishedAt”: “2022-05-13T03:14:46.808Z”
“meta”: {}