List and retrieve diffs with detailed revision information

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

{
    "id": 1111707,
    "revision": {
        "id": 520898,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9426f4b06a46e835770956a127c1b8d30c5af7dd",
        "head_changeset": "970974f0cbc8af54adfcd5dc4d33b637a6a8dfcd",
        "phabricator_id": 259219,
        "phabricator_phid": "PHID-DREV-faqamfmv6czwgrptpcit",
        "title": "WIP: Bug 1980056 - Mozjemalloc can now use page sizes smaller than the real size",
        "bugzilla_id": 1980056,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520898/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520898/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259219"
    },
    "phid": "PHID-DIFF-gclvxsyncxsuy6mwc5ga",
    "review_task_id": "ZP8Wh7iTTBew4c0MkgLA1Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "970974f0cbc8af54adfcd5dc4d33b637a6a8dfcd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111707/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T07:52:33.606138Z"
}