List and retrieve diffs with detailed revision information

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

{
    "id": 1108003,
    "revision": {
        "id": 515486,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5e3597f140f6c141e098c954a8a2bb46b991ce7f",
        "head_changeset": "95c89f696613fb8d519202c389ed8829741f3db1",
        "phabricator_id": 261598,
        "phabricator_phid": "PHID-DREV-zvd3n22owotdk6lhmrmh",
        "title": "Bug 1983603: Remove outdated comment about Servo (r=#style)",
        "bugzilla_id": 1983603,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515486/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515486/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261598"
    },
    "phid": "PHID-DIFF-ggjk4xp56qntcuvmpywt",
    "review_task_id": "GW0vagseS1WPidJhp7tOUg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "befdbf56e69a09cf41953c01486c2e14cc50b749",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108003/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T17:23:31.145229Z"
}