List and retrieve diffs with detailed revision information

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

{
    "id": 1115139,
    "revision": {
        "id": 505108,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "320fe0da2b9f0462e2afaa418ce3560763ecadb2",
        "head_changeset": "4acdbce29442edecc6fc6b807712affd44878a2e",
        "phabricator_id": 259530,
        "phabricator_phid": "PHID-DREV-6zulwrmqdkkp55srjtbd",
        "title": "Bug 1980202 - Move custom assembly translator from Makefile.in to moz.build r=glandium",
        "bugzilla_id": 1980202,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/505108/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/505108/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259530"
    },
    "phid": "PHID-DIFF-ouqe6topsqywx5ffehvd",
    "review_task_id": "ekPC13ZVSwaeh60ZGJTsKg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6b777e35d084d8c614d2b641e467cec17d3af5f4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1115139/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-02T06:51:26.852815Z"
}