List and retrieve diffs with detailed revision information

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

{
    "id": 1051602,
    "revision": {
        "id": 468835,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cf57ffa15763ffb875b6b468825a67b537c264f8",
        "head_changeset": "7b6b815a33fc4b74db624f520f3aa79562d0337d",
        "phabricator_id": 241142,
        "phabricator_phid": "PHID-DREV-gzmwrlln56ge6a4rfdlx",
        "title": "Bug 1875524 - [Remote Protocol] Add a \"WindowManager.supportsWindows()\" helper to more easily check for multiple windows support. r=whimboo",
        "bugzilla_id": 1875524,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/468835/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/468835/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D241142"
    },
    "phid": "PHID-DIFF-wkyjhsb4672ns7u7t5pw",
    "review_task_id": "BwpxX3GAT4ODz-cEaNe3DA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e278720ee7be797ffe307b1c586dc5738299a87d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051602/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T05:44:08.359594Z"
}