List and retrieve diffs with detailed revision information

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

{
    "id": 1086503,
    "revision": {
        "id": 495871,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7b8b49ab4bbb9f8b096b38c19c3a0b442ab713f1",
        "head_changeset": "4cba6de43fce4444f2f3757ae83c8acc91415415",
        "phabricator_id": 257302,
        "phabricator_phid": "PHID-DREV-5pb6i6pbomv56h7hgdt2",
        "title": "Bug 1977446 - Fetch minidump-stackwalk for grizzly smoke test r?#taskgraph-reviewers!",
        "bugzilla_id": 1977446,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495871/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495871/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257302"
    },
    "phid": "PHID-DIFF-xdwr24a4eynz2o2vpkzc",
    "review_task_id": "PYFCSR-RT5KIsdZKFbAM0g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4cba6de43fce4444f2f3757ae83c8acc91415415",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086503/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T19:26:05.047705Z"
}