List and retrieve diffs with detailed revision information

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

{
    "id": 1055165,
    "revision": {
        "id": 475454,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cee661c084644b91b085116d9f31c03f61aafb57",
        "head_changeset": "aa4f38770faa222cd5291cda10dab3eea30e042e",
        "phabricator_id": 249900,
        "phabricator_phid": "PHID-DREV-jas4lqmj62u3u5xs63tg",
        "title": "WIP: Bug 1961386 - Amend some comment on IsInTimerThread. r?#xpcom-reviewers",
        "bugzilla_id": 1961386,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475454/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475454/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249900"
    },
    "phid": "PHID-DIFF-ryxb2xtocn2ahlt6flah",
    "review_task_id": "LjIaTkL3RRubtkkXHl4b7Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8b279ab7569e030feb0b82cfaf500d7e9f0e5f12",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055165/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T16:54:53.657609Z"
}