List and retrieve diffs with detailed revision information

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

{
    "id": 1081040,
    "revision": {
        "id": 493520,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "13b9ccbd2667198e1eeb844691459ab3f65403ff",
        "head_changeset": "0b3ae390151b068a50795e3e4aeda52f48763352",
        "phabricator_id": 256866,
        "phabricator_phid": "PHID-DREV-7gg2orm4dxhmn4f2tvin",
        "title": "Bug 1976746 - Remove API level check from Window.setupPersistentInsets r=#android-reviewers",
        "bugzilla_id": 1976746,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493520/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493520/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256866"
    },
    "phid": "PHID-DIFF-arjken4ijqjsupdvohsa",
    "review_task_id": "NlE0FwNOTyqCernSP3eCHw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0b3ae390151b068a50795e3e4aeda52f48763352",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081040/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T20:01:15.354713Z"
}