List and retrieve diffs with detailed revision information

GET /v1/diff/1110618/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 1110618,
    "revision": {
        "id": 519021,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3109cc48fd95920c7d40587efd0e082ef203f304",
        "head_changeset": "2821e43098011aaccea6015649e101605b06e5b1",
        "phabricator_id": 262227,
        "phabricator_phid": "PHID-DREV-hddwljrvbqckykjwtkhx",
        "title": "Bug 1981770 - Make the Suggest realtime opt-in UI more in line with the spec.",
        "bugzilla_id": 1981770,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/519021/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/519021/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262227"
    },
    "phid": "PHID-DIFF-2ihae5rism37q7fums7s",
    "review_task_id": "f_6UHH8xTfqqexECUZd9eQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f9f60c488e7412f16d6626670107b5d3dad60074",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1110618/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-23T06:49:20.468194Z"
}