List and retrieve diffs with detailed revision information

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

{
    "id": 1107817,
    "revision": {
        "id": 515442,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5e3597f140f6c141e098c954a8a2bb46b991ce7f",
        "head_changeset": "81c84859978f1c8e4d818e07d99c855a08e24f59",
        "phabricator_id": 261576,
        "phabricator_phid": "PHID-DREV-zaffjm5gzdfylinaj6x5",
        "title": "Bug 1983603: Servo now uses web_atoms rather than markup5ever for atom in Stylo (r=#style)",
        "bugzilla_id": 1983603,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515442/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515442/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261576"
    },
    "phid": "PHID-DIFF-asx57es3rg6f2phrpl2b",
    "review_task_id": "TRW-ZfeMQzmxK9CiaLBbRA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b3618e502b0bfacf06df7f45a9939c74962d567b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107817/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T14:37:36.651441Z"
}