List and retrieve diffs with detailed revision information

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

{
    "id": 1099351,
    "revision": {
        "id": 504892,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "eb2b9607e7b8f901ada02bb6ed7113a0a6640833",
        "head_changeset": "ad282e7f1df450a2fb2cfeefe4ab29d05bb12e9d",
        "phabricator_id": 259495,
        "phabricator_phid": "PHID-DREV-ofwjmf2scspysz5mqoy7",
        "title": "WIP: Bug 1978425 - Remove the change handling for the defaultLauncherVisible pref and use a 'false' constant value",
        "bugzilla_id": 1978425,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/504892/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/504892/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259495"
    },
    "phid": "PHID-DIFF-ssa4vcvf6z2iuno2tcff",
    "review_task_id": "LGcQIP5GSFWEPAELnND4LA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ad282e7f1df450a2fb2cfeefe4ab29d05bb12e9d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099351/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T01:35:28.376240Z"
}