List and retrieve diffs with detailed revision information

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

{
    "id": 1054439,
    "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-7n254rje7xbwt2tunvxn",
    "review_task_id": "aC7sIBqWQd6QBh4vGcgbTw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a1990f7961ffe9023e1a7f0cc149604f6f02f6a5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054439/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T16:29:25.811603Z"
}