List and retrieve diffs with detailed revision information

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

{
    "id": 1105285,
    "revision": {
        "id": 512064,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6c51cabb2e48997969eb68ba245067238fbe46ec",
        "head_changeset": "416c7c8325ae9eb55d4e60ef1a4adf50f28aed9e",
        "phabricator_id": 260965,
        "phabricator_phid": "PHID-DREV-7m6kb7br3a2eiyvgas52",
        "title": "Bug 1982809 - Mark test as passing. r=#vt,#layout",
        "bugzilla_id": 1982809,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/512064/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/512064/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260965"
    },
    "phid": "PHID-DIFF-ywjavaakn6fiwcbwvocv",
    "review_task_id": "Txl1V5n2RCSBqhQvT6-yAw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "416c7c8325ae9eb55d4e60ef1a4adf50f28aed9e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105285/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T11:44:53.030299Z"
}