List and retrieve diffs with detailed revision information

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

{
    "id": 1080604,
    "revision": {
        "id": 483811,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2f0cee03e2c31be73abe13b6cad658953ef1a365",
        "head_changeset": "0427d2181c609cb80b78f2035c163eda823e2fa1",
        "phabricator_id": 254622,
        "phabricator_phid": "PHID-DREV-63zqolxue6fnspvyvutr",
        "title": "WIP: Bug 1967562 - Fix is_auto_selected parameter to reflect autoreauthn r?#anti-tracking!",
        "bugzilla_id": 1967562,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483811/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483811/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254622"
    },
    "phid": "PHID-DIFF-jpwhubufvth4ofrwktyp",
    "review_task_id": "aGx69mSlSiS6l5t9tLPyjA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c51f91c3225a73ae20fe164b33821f4d2f7de6ce",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080604/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T01:13:14.847930Z"
}