List and retrieve diffs with detailed revision information

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

{
    "id": 1053572,
    "revision": {
        "id": 474771,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0d69fe324b32b3dd41647b36ddb35f991b26baf9",
        "head_changeset": "c0b143add043773879719b8b396b6f954d27a985",
        "phabricator_id": 248940,
        "phabricator_phid": "PHID-DREV-srqrez77exej7x5wfznt",
        "title": "WIP: Bug 1964730 - part 2 - Allow the url in the composable toolbar to be configured without click handling",
        "bugzilla_id": 1964730,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474771/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474771/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D248940"
    },
    "phid": "PHID-DIFF-w23xjimtlfazkr72zzla",
    "review_task_id": "ae2tgK2UQeaTX94uCJWc1w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5e83e77c67052cb282669edf02149f47f0fde5ae",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1053572/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-05T15:56:09.326380Z"
}