List and retrieve diffs with detailed revision information

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

{
    "id": 1111884,
    "revision": {
        "id": 471591,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "1cdda42573831e213eb1af18c576e20be50722d3",
        "head_changeset": "a0f0f7607cce70d38d50f934835dbbbf2d0e60b4",
        "phabricator_id": 244406,
        "phabricator_phid": "PHID-DREV-gql37ialunlo7qkqeiat",
        "title": "Bug 1958371 - s/nsString.h/nsStringFwd.h/ in accessible/basetypes/Accessible.h.",
        "bugzilla_id": 1958371,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/471591/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/471591/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D244406"
    },
    "phid": "PHID-DIFF-q2qwqr3fo4lldh7hwfwc",
    "review_task_id": "NlK40fo0SJGHUeZ0L5AkOw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "28606c0391c7467440a2a6f80473e933dbb7fccf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111884/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-26T12:38:28.706170Z"
}