List and retrieve diffs with detailed revision information

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

{
    "id": 1086278,
    "revision": {
        "id": 495620,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ff7882cc344b1b3fe7022412f35c5ddba39c63ef",
        "head_changeset": "9656e3371375647204fc679329c069d26dae26d9",
        "phabricator_id": 257255,
        "phabricator_phid": "PHID-DREV-bhxg6z4wfdyq4szgqojl",
        "title": "Bug 1977374 - Link Alt-Svc and Alt-Used HTTP headers in devtools",
        "bugzilla_id": 1977374,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495620/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495620/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257255"
    },
    "phid": "PHID-DIFF-zubyfw7a5v6d6vweykpc",
    "review_task_id": "G4LW7_wcTaKhBv6WwkrnEg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2dd7fe4e15615a3652796a01e614051e146238a7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086278/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T12:50:14.310848Z"
}