List and retrieve diffs with detailed revision information

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

{
    "id": 1054426,
    "revision": {
        "id": 477705,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c561bc9149d6ae18070559012f3df43843b8ef14",
        "head_changeset": "113e00ff519e95aff0345da4dd25a59a4f6c6ee7",
        "phabricator_id": 252848,
        "phabricator_phid": "PHID-DREV-7esjvlkowvbhphqnrvbb",
        "title": "Bug 1970755 - Rust component pros-and-cons documentation, r=markh",
        "bugzilla_id": 1970755,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477705/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477705/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252848"
    },
    "phid": "PHID-DIFF-rttm3eky3pbqy5tp7qhd",
    "review_task_id": "b0nG7bbySR-lac2Ct7drqQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bb4a0a6a03e4040caf2cc6eb9d4d5f2c99d2f8bf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054426/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T16:11:50.861744Z"
}