List and retrieve diffs with detailed revision information

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

{
    "id": 1056372,
    "revision": {
        "id": 478077,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ebd8c421108cdbec416cc0059ac5b959636650b4",
        "head_changeset": "852aeb67ec2ed8efc5a0666b4787e198ce120d7c",
        "phabricator_id": 253263,
        "phabricator_phid": "PHID-DREV-vmfndhhmnygdmg7ck36k",
        "title": "Bug 1968034 - Update insertBeforeFirstItemInOverflow test to use the download button -",
        "bugzilla_id": 1968034,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478077/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478077/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253263"
    },
    "phid": "PHID-DIFF-auugr2kv75ugyiel22uw",
    "review_task_id": "T4HsSrFGTweoI9f3z8ZgHw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "852aeb67ec2ed8efc5a0666b4787e198ce120d7c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056372/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-11T01:04:48.336034Z"
}