List and retrieve diffs with detailed revision information

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

{
    "id": 1075398,
    "revision": {
        "id": 487384,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e18eea40ee7c6a5763c03dc6d59e875480b670be",
        "head_changeset": "81a85b54b7c9d30d2a03b69c345b42756449c7e1",
        "phabricator_id": 255394,
        "phabricator_phid": "PHID-DREV-5diycmc2fsgoz3dmwbrm",
        "title": "Bug 1966192 - Sort the frames with z-index order when capturing old state and new state.",
        "bugzilla_id": 1966192,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/487384/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/487384/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255394"
    },
    "phid": "PHID-DIFF-nmoxn5xxgwmuia4i2wbn",
    "review_task_id": "KXVWuW_hTWygh6ZJAnpryA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2cd3111d2fce23d8344672a81e95e6d6c54f98b4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075398/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-30T18:41:50.287315Z"
}