List and retrieve diffs with detailed revision information

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

{
    "id": 1087525,
    "revision": {
        "id": 496554,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "90bf2ebe180441ea9b3dcbf4af6f6befb47ac27c",
        "head_changeset": "3cd5b8b00effae19f907dc29d1dbaa6b6aaa119a",
        "phabricator_id": 257575,
        "phabricator_phid": "PHID-DREV-yvcduobfvtwrkdkesujm",
        "title": "Bug 1977663 - Update AndroidX Savedstate to version 1.3.1. r=#android-reviewers",
        "bugzilla_id": 1977663,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/496554/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/496554/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257575"
    },
    "phid": "PHID-DIFF-rjx3jojclx7h7m3pcm6f",
    "review_task_id": "Mzn9HympSAqd4rrjncc__A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3cd5b8b00effae19f907dc29d1dbaa6b6aaa119a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1087525/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-16T20:20:07.821407Z"
}