List and retrieve diffs with detailed revision information

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

{
    "id": 1030976,
    "revision": {
        "id": 474038,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8f938bfec8eaa4237a812c44fac0d23861af4eae",
        "head_changeset": "efb6b316490ceecadb3e371455c101fc15a4b8c3",
        "phabricator_id": 247459,
        "phabricator_phid": "PHID-DREV-hfacpajgdshvrr7rla6k",
        "title": "WIP: Bug 1963213 - Allow messaging only one profile in a multiprofile selectable group",
        "bugzilla_id": 1963213,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/474038/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/474038/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D247459"
    },
    "phid": "PHID-DIFF-ukyks567ks2bs2yg5trn",
    "review_task_id": "DVoQT5z7QxeR7mepO9aarQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9ccaa4037a1ea9f68c4f5d59fbdc1ee7fb8b8c14",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1030976/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-09T22:40:42.446206Z"
}