List and retrieve diffs with detailed revision information

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

{
    "id": 1057854,
    "revision": {
        "id": 478305,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "669e086a277f1c78e65988837f286b32266b4501",
        "head_changeset": "ec4db59650488a861560b0d20298d69772edf75a",
        "phabricator_id": 253547,
        "phabricator_phid": "PHID-DREV-tp6vhvgblajuijtp3bx6",
        "title": "WIP: Bug 1970687 - [devtools] Pause all tasks except the ones related to the browser toolbox when debugging the main thread.",
        "bugzilla_id": 1970687,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478305/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478305/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253547"
    },
    "phid": "PHID-DIFF-s4zoiezhlekwtlat3n4s",
    "review_task_id": "F8l3rmtMTmebzOTqhmCGEw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ec4db59650488a861560b0d20298d69772edf75a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057854/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T17:23:22.476184Z"
}