List and retrieve diffs with detailed revision information

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

{
    "id": 1057252,
    "revision": {
        "id": 475795,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "872809f6db6f2e549c07ca9986628a9a4f084e4d",
        "head_changeset": "236412933912e3afcf263244c6b17781ea51e9b6",
        "phabricator_id": 249722,
        "phabricator_phid": "PHID-DREV-tcwwb4ufhe2dfzs7ji4y",
        "title": "Bug 1915742 - Update Taskbar Tabs command line handling to use the Taskbar Tabs window manager instead of creating the window directly. r=mossop,cdupuis,mpohle",
        "bugzilla_id": 1915742,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475795/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475795/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249722"
    },
    "phid": "PHID-DIFF-gvkz6qbdcgabuifslv35",
    "review_task_id": "bUdi3vVeTs6sDLXW9ENRwA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "641fecc7d89fc058e67839231521ac713c37f5bc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057252/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T00:59:59.441470Z"
}