List and retrieve diffs with detailed revision information

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

{
    "id": 1047303,
    "revision": {
        "id": 476431,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7fc4651939fda3f4efc743badf68f9c70c36fa54",
        "head_changeset": "13059ffd20bc6033cbd157d27e390f7b53612f19",
        "phabricator_id": 213486,
        "phabricator_phid": "PHID-DREV-gro4bk2eg6l5mjsxakjv",
        "title": "Bug 1885451: Let WebRender ignore some types of surface promotion failures for wide color videos, and report them.",
        "bugzilla_id": 1885451,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476431/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476431/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D213486"
    },
    "phid": "PHID-DIFF-yocdn225s2gp6t6cagop",
    "review_task_id": "Aw5_5W3QQdGnxEnY3cj8jA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "13059ffd20bc6033cbd157d27e390f7b53612f19",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1047303/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-27T14:29:56.155932Z"
}