List and retrieve diffs with detailed revision information

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

{
    "id": 1032106,
    "revision": {
        "id": 449531,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ca3ce1c36b37ef2cd0f060a079f5864f3fd89e96",
        "head_changeset": "c3d2082858c21dc004e9616905e1e69173e91f5d",
        "phabricator_id": 187606,
        "phabricator_phid": "PHID-DREV-2xpqnkvw5ugvkgtbn53b",
        "title": "WIP: Bug 1827914 - Get script and shape from BaselineFrame in generated code",
        "bugzilla_id": 1827914,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/449531/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/449531/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D187606"
    },
    "phid": "PHID-DIFF-4kf7cnchotnlnrhe2uvn",
    "review_task_id": "V90nRe6wT_-jQaW5BV1nMg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "cbd65c35926e2ab365f79db4a9cfe175870251e6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1032106/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-12T22:57:35.634998Z"
}