List and retrieve diffs with detailed revision information

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

{
    "id": 1080092,
    "revision": {
        "id": 492760,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b259c6a2004e346ef0150fac6ce5dd6ec863c1a0",
        "head_changeset": "3c98d1c68994a821637bb82c29635e4ff4b887df",
        "phabricator_id": 256607,
        "phabricator_phid": "PHID-DREV-ef2crjlhuwmceyhflxdr",
        "title": "Bug 1972670 - [wdspec] Remove tests for FTP proxy which is no longer supported.",
        "bugzilla_id": 1972670,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492760/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492760/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256607"
    },
    "phid": "PHID-DIFF-qrrf6perrayu6g3ks4ya",
    "review_task_id": "OsPE6VkSSJ24gp7H8AVgwQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3c98d1c68994a821637bb82c29635e4ff4b887df",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080092/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T12:00:08.079664Z"
}