List and retrieve diffs with detailed revision information

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

{
    "id": 1112275,
    "revision": {
        "id": 472697,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "96ff656ce280cab86866b9169bef9fe982964d91",
        "head_changeset": "8a0d3e9418f75f2cea48402b0e8a7f1bcc6ddae9",
        "phabricator_id": 245762,
        "phabricator_phid": "PHID-DREV-hjw7fbjgjcyhpc4yktzt",
        "title": "WIP: Bug 1960941 - Update m-c gradle files to optionally work with a local app-services. r=android-reviewers",
        "bugzilla_id": 1960941,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/472697/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/472697/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D245762"
    },
    "phid": "PHID-DIFF-fafuscbhmsi2nrrlduhj",
    "review_task_id": "UpDaHRvVSqGEuiM7fmMAMg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "679d0287bf8f78c8521a60fd4fe42ecb236072e6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1112275/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T22:02:15.465746Z"
}