List and retrieve diffs with detailed revision information

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

{
    "id": 1037719,
    "revision": {
        "id": 449541,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ca3ce1c36b37ef2cd0f060a079f5864f3fd89e96",
        "head_changeset": "993b6d9cf4dde9149ebe45ceb3e89b2f7a7c9fac",
        "phabricator_id": 232766,
        "phabricator_phid": "PHID-DREV-zvoa5f7vbrvxselmzayq",
        "title": "WIP: Bug 1827914 - Intro SelfHostedSharedEntry for JitcodeGlobalTable",
        "bugzilla_id": 1827914,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/449541/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/449541/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D232766"
    },
    "phid": "PHID-DIFF-f4cui2u5wr2i3325vqvl",
    "review_task_id": "Vx_ZHkwTQuSzquKbnja4zg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "db333783cc52dda83bda07662fda7c09ae1f5583",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1037719/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-19T18:19:45.668427Z"
}