List and retrieve diffs with detailed revision information

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

{
    "id": 1077380,
    "revision": {
        "id": 490048,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b3b9e3d336cb8d8656d38d9364a558562e867094",
        "head_changeset": "7fd14d5cd27aeb492fc5b7294f42075506ed61d0",
        "phabricator_id": 255963,
        "phabricator_phid": "PHID-DREV-hnu6vhhd7db64krqzlij",
        "title": "Bug 1975001 - Make a few more things for Scheduler API exposed everywhere in test_serviceworker_interfaces.js",
        "bugzilla_id": 1975001,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/490048/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/490048/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255963"
    },
    "phid": "PHID-DIFF-eswkauatp6tjwgxnlg5x",
    "review_task_id": "U4NDIUziSuyhDMffX0UiNQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7fd14d5cd27aeb492fc5b7294f42075506ed61d0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077380/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T13:49:31.782413Z"
}