List and retrieve diffs with detailed revision information

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

{
    "id": 1065582,
    "revision": {
        "id": 481891,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1ae191d7f8ed6c71eb23365776a00babf64b83bb",
        "head_changeset": "e9cf4459f32e7518d0ffaa4efef16b5c9455b4c8",
        "phabricator_id": 254301,
        "phabricator_phid": "PHID-DREV-mkwfg4u4dxw3levdou6i",
        "title": "Bug 1972421 - Add Follow Section Button Highlight message component r?#home-newtab-reviewers",
        "bugzilla_id": 1972421,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/481891/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/481891/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254301"
    },
    "phid": "PHID-DIFF-b6rndztbaqidtqiwzshq",
    "review_task_id": "EABhGpsUR_KTayNY3NDK3A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e9cf4459f32e7518d0ffaa4efef16b5c9455b4c8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1065582/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-18T21:44:05.443606Z"
}