Back to GitLab API
GitLab API

MR/group access/merge request review fields: int32→int64 and type changes

BreakingBreaking change

This is a breaking change — integrations that rely on the affected behaviour will need updates before the change rolls out.

What changed

Multiple response fields have been updated across merge request, group access, and merge request review entities:

  • source_project_id and target_project_id on merge request entities changed from int32 to int64 format.
  • id, user_id, group_id on group access entities changed from int32 to int64.
  • Several fields on the merge request review entity (id, author_id, merge_request_id) changed from int32 to int64.
  • discussion_id changed from type: integer, format: int32 to type: string (e.g. a SHA-like hex string).
  • commit_id changed from type: integer, format: int32 to type: string (e.g. a full commit SHA).

The int32int64 changes may break strongly-typed clients that allocated only 32-bit integers. The discussion_id and commit_id type changes from integer to string are breaking for any client that treats these as numeric values.

Open the source documentation