List and retrieve diffs with detailed revision information

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

{
    "id": 1050324,
    "revision": {
        "id": 397590,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ef784b73994b27ba0ec6984e0b6126c1234d8be4",
        "head_changeset": "bc155c5c8db37a5e38d130b3175d60522812ed6e",
        "phabricator_id": 229081,
        "phabricator_phid": "PHID-DREV-rnqo2w2baghalpzsy46q",
        "title": "Bug 1885221, part 11 - Remaining changes, including things we don't want to land. WIP",
        "bugzilla_id": 1885221,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/397590/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/397590/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D229081"
    },
    "phid": "PHID-DIFF-4vhh7gdkmbarggzgzn42",
    "review_task_id": "A8E8LQKwTQW-fQXqHQzfwA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ff6d6dc200bb05d7b9cb59f5ba28a72fc8fbbee9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050324/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-31T00:32:51.976366Z"
}