List and retrieve diffs with detailed revision information

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

{
    "id": 1057856,
    "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-esw2yaag4p733lcxoqsb",
    "review_task_id": "LOcS5F6mRG2ZE3wNZmz9tw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9dbcb483276f04601c6e2c6a243705b107b3828b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057856/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T17:24:49.198555Z"
}