List and retrieve diffs with detailed revision information

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

{
    "id": 1080762,
    "revision": {
        "id": 489611,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2530ddabd019fe248612265b4dffdb30fc81e82b",
        "head_changeset": "d122f9533b9fa75bb8cde112da86860e663ca513",
        "phabricator_id": 255829,
        "phabricator_phid": "PHID-DREV-whfrg4ergseze2qw2wyn",
        "title": "WIP: Bug 1974474 - Have artifact build use the onnxruntime from target's artifacts",
        "bugzilla_id": 1974474,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489611/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489611/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255829"
    },
    "phid": "PHID-DIFF-pxhxnlzyhlotz3j7yyuw",
    "review_task_id": "WBvcH_B9RSSnd-q9LEHr5g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8c7fec19a39ee7b2e6e3caa9dff8f37106b99f52",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080762/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T12:39:48.377149Z"
}