List and retrieve diffs with detailed revision information

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

{
    "id": 1058376,
    "revision": {
        "id": 477997,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3f12da1b322f2b823a7bd09cd01e6a416c6b05c5",
        "head_changeset": "4a4c9bbee03b9674a9da276b98c1564867e2c765",
        "phabricator_id": 253167,
        "phabricator_phid": "PHID-DREV-nyyxi4m53hvyffrwk3sp",
        "title": "WIP: Bug 1963853 - Object metric rough c++ support r?janerik",
        "bugzilla_id": 1963853,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477997/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477997/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253167"
    },
    "phid": "PHID-DIFF-bvkflzdkfri7t3ldn3q2",
    "review_task_id": "DU3gK_FNT5GibT7Sq4ghAQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "05bd047eb0a58b84264fbf1ef8e3a122afa14369",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058376/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T13:58:51.991999Z"
}