List and retrieve diffs with detailed revision information

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

{
    "id": 1082287,
    "revision": {
        "id": 494966,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0320c24dfe3214d5e2c61af6003ddb0929954ef4",
        "head_changeset": "96c580afdcc67d9e401bf8dad73a1f4bfc0e187c",
        "phabricator_id": 257135,
        "phabricator_phid": "PHID-DREV-cjfs2yvj4l75rhqhrsoa",
        "title": "Bug 1976535 - Instantiate the navbar after the composable toolbar r=#android-reviewers",
        "bugzilla_id": 1976535,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494966/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494966/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257135"
    },
    "phid": "PHID-DIFF-xda6tbgpd7zxe54w5c2w",
    "review_task_id": "XXQVU9bISbqoK5H0UZIv2Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "96c580afdcc67d9e401bf8dad73a1f4bfc0e187c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1082287/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-14T10:40:09.015477Z"
}