List and retrieve diffs with detailed revision information

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

{
    "id": 1099936,
    "revision": {
        "id": 492930,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "d16a8e1b422fee675cac8b9e15f8b05a7de6766c",
        "head_changeset": "831525fe45084bbd3f38cb8ff5fbef0c99d8aff8",
        "phabricator_id": 256731,
        "phabricator_phid": "PHID-DREV-roxlspfemcl3cwp2b4iq",
        "title": "WIP: Bug 1957486 - Improve the UI and UX of folder reordering.",
        "bugzilla_id": 1957486,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492930/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492930/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256731"
    },
    "phid": "PHID-DIFF-zd3jdg7hbedhbxezztsf",
    "review_task_id": "W5v6IIr5R-2elvOMOesoVA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "0bd0d4ee5a562f997d5e0a49b650e9469219435f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099936/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-02T02:50:43.496519Z"
}