List and retrieve diffs with detailed revision information

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

{
    "id": 1035374,
    "revision": {
        "id": 475343,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "36b6421f53d9375cd3b50c24b43b555f86284af8",
        "head_changeset": "9b06781b903dc70c034f94e39127cf0aac06f62c",
        "phabricator_id": 249772,
        "phabricator_phid": "PHID-DREV-zzyt7sfispra4j2bowjo",
        "title": "Bug 1964784 - Output treeherder link with lando commit ID during push to try. r?#perftest,ahal",
        "bugzilla_id": 1964784,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475343/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475343/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249772"
    },
    "phid": "PHID-DIFF-xg6hbgk4tmamcgefmcht",
    "review_task_id": "TK3fCWCHRZ-2O9OpJbkO7g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "74fa56f4a10ece5fec17ed278d891f36594eff9c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1035374/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-16T15:52:45.059296Z"
}