List and retrieve diffs with detailed revision information

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

{
    "id": 1039458,
    "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-benmer7gi7aqvp6crn2n",
    "review_task_id": "e07mDD-GSLSJ6bu-gS6p_g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "866824235c7b2bc2eff9e5dddc2a3fe87b8288cb",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039458/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T04:27:38.085408Z"
}