List and retrieve diffs with detailed revision information

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

{
    "id": 1081755,
    "revision": {
        "id": 494184,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ea71e4560e0dfca2e5505ad727f2e9a840e6e86b",
        "head_changeset": "45430ba1a5f281bd13e1aa4afe735aba382a64c7",
        "phabricator_id": 257034,
        "phabricator_phid": "PHID-DREV-apcbxphpqm46h3qwxtgc",
        "title": "Bug 1976945 - Fix broken scissor rectangles for scratch framebuffers in AC2D. r?aosmond",
        "bugzilla_id": 1976945,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494184/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494184/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257034"
    },
    "phid": "PHID-DIFF-mbifvn4dzcxduoeixp3f",
    "review_task_id": "Zm481DG-QCuxPphJDiFhEw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "45430ba1a5f281bd13e1aa4afe735aba382a64c7",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081755/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T18:02:32.211315Z"
}