List and retrieve diffs with detailed revision information

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

{
    "id": 1107840,
    "revision": {
        "id": 515438,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "876ee68e20be4c473c2eb68957ea9444fe1fe96b",
        "head_changeset": "893d32aa7832fe5a13a434954f693f97c0fc1b6f",
        "phabricator_id": 261582,
        "phabricator_phid": "PHID-DREV-qbdiwq3k632zmfrbq27s",
        "title": "Bug 1983603: Reduce size of Servo CssUrl (r=#style)",
        "bugzilla_id": 1983603,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515438/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515438/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261582"
    },
    "phid": "PHID-DIFF-m3n7vjclc3ppqn5iavga",
    "review_task_id": "MvSIzKf9SK-G6-Lbj1hTsg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1417c0cbf6697d479fd1be7aaa4a2b73bae40d7b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107840/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T14:39:35.901880Z"
}