List and retrieve diffs with detailed revision information

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

{
    "id": 1110868,
    "revision": {
        "id": 519793,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "85278cff23b35a7a9333e4192df9851173f472ab",
        "head_changeset": "47f88b69511f2f0a28eb13582cc1e255faf737f6",
        "phabricator_id": 262327,
        "phabricator_phid": "PHID-DREV-kjs42u6emflfzzokl2t6",
        "title": "Bug 1984972 - Move PointerType from UniquePtr.h to UniquePtrExtension.h r=glandium",
        "bugzilla_id": 1984972,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/519793/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/519793/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262327"
    },
    "phid": "PHID-DIFF-awu4z4x6abag5koxw47y",
    "review_task_id": "Ja0mNEXnSUyLIZgojOHumA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "47f88b69511f2f0a28eb13582cc1e255faf737f6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1110868/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T09:09:04.773726Z"
}