List and retrieve diffs with detailed revision information

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

{
    "id": 1047141,
    "revision": {
        "id": 453621,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "508a834f0ff79106c6275478fd256464c39ef368",
        "head_changeset": "7ac525dbc55272446ea2541008f6aaddcb61a3ca",
        "phabricator_id": 238480,
        "phabricator_phid": "PHID-DREV-mc4ynjq2dlavjsmqscjy",
        "title": "WIP: Bug 1944556 - PNA modifications to http transactions",
        "bugzilla_id": 1944556,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/453621/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/453621/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D238480"
    },
    "phid": "PHID-DIFF-imamwsttjpajt4lshoxx",
    "review_task_id": "bspKV4OzTT2pgGyWZym99A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b85eb80019181c2d4fff38e7bccd495305a1ea86",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1047141/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-27T10:28:23.158517Z"
}