List and retrieve diffs with detailed revision information

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

{
    "id": 1114020,
    "revision": {
        "id": 516829,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "907c7b08aa82bf229e155c00d6c43d2b05a392d2",
        "head_changeset": "8b3fa7c6cfc518f80abeca77da4409dc4123e264",
        "phabricator_id": 261894,
        "phabricator_phid": "PHID-DREV-vgk5moejay4ol72delyv",
        "title": "Bug 1982577: Add aria-describedby to learn more link to speak the title and description",
        "bugzilla_id": 1982577,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/516829/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/516829/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261894"
    },
    "phid": "PHID-DIFF-h243u3lditcixqee5lmk",
    "review_task_id": "T0FnMXomT1qCSnCMsYbxBQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f07f008e62eeca988ea96f8f18f1da37522c4d4e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1114020/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-29T02:49:05.891855Z"
}