List and retrieve diffs with detailed revision information

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

{
    "id": 1051877,
    "revision": {
        "id": 476612,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c20c1f69b9113e2cba0d4de30ee3d26c65bf5fc5",
        "head_changeset": "71b7bd423c296c2bac37fb8188a18be830c48639",
        "phabricator_id": 251554,
        "phabricator_phid": "PHID-DREV-qapgft6wglxsmbjmjg4q",
        "title": "WIP: Bug 1937776 - Synchronize WebRTC timestamps with document perf timestamps during VideoFrameRequestCallback metadata creation to maintain a shared time base.",
        "bugzilla_id": 1937776,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476612/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476612/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251554"
    },
    "phid": "PHID-DIFF-32myfyusjxykb3oauing",
    "review_task_id": "EuoNsxy1TiGJLNFU1IVlkg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "38c782304769820d2abcd2b3ac75855410bbec06",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051877/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-03T14:58:09.078175Z"
}