List and retrieve diffs with detailed revision information

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

{
    "id": 1079626,
    "revision": {
        "id": 491654,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f02209f56f063527d6ee9041181f01b4c845d998",
        "head_changeset": "59129829ea5289c201fa92ed6d86b50ab83af301",
        "phabricator_id": 256362,
        "phabricator_phid": "PHID-DREV-i6qyyrmpcib6vmvaysey",
        "title": "Bug 1973993 - Switch gdb test to using extra-args r=#spidermonkey-reviewers",
        "bugzilla_id": 1973993,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491654/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491654/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256362"
    },
    "phid": "PHID-DIFF-ln4xc4fdrmhxk3pagbuf",
    "review_task_id": "LCxNJ7WkRMKNKAcl8Mk04g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "eefcf71b53612ad43762ed8a041af06d8f1818e5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079626/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T17:33:19.895358Z"
}