List and retrieve diffs with detailed revision information

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

{
    "id": 1099738,
    "revision": {
        "id": 505338,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3aa49d22daec85ab6d133e78cdc66f060116ae7c",
        "head_changeset": "c69a84768c5d083b4069f17b6f273302e1fd8d2e",
        "phabricator_id": 259614,
        "phabricator_phid": "PHID-DREV-aliggogrf6iq2zk2v4xi",
        "title": "Bug 1980126 - Part 9: Update test expectations r?allstarschh",
        "bugzilla_id": 1980126,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/505338/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/505338/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259614"
    },
    "phid": "PHID-DIFF-ego2mxqodak32ylscxi7",
    "review_task_id": "cNWY05FyQGS51EZ8xKdxlg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c69a84768c5d083b4069f17b6f273302e1fd8d2e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099738/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T17:07:47.727683Z"
}