List and retrieve diffs with detailed revision information

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

{
    "id": 1078910,
    "revision": {
        "id": 489079,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8cb342bd5b0ba7d9234a7502066ddb973fa46b4f",
        "head_changeset": "d2b95e2cbe31d2c9f4f03efe511fe2e890ef6de2",
        "phabricator_id": 255672,
        "phabricator_phid": "PHID-DREV-hrxf37h4z72r2qmy6zmj",
        "title": "WIP: Bug 1973228 - Cancel NewTab trainhop add-on install when the xpi is not system-signed.",
        "bugzilla_id": 1973228,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489079/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489079/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255672"
    },
    "phid": "PHID-DIFF-mcvovxps5zhikmnahext",
    "review_task_id": "KMXUWrStQOOqZ7FwGKYabg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0cfa4b329f9b83815430a4a197ea7d468a9a270c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078910/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T17:52:46.137456Z"
}