List and retrieve diffs with detailed revision information

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

{
    "id": 1057881,
    "revision": {
        "id": 478316,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "669e086a277f1c78e65988837f286b32266b4501",
        "head_changeset": "018d94a4629ec27894084a0a79de74bb6af039f5",
        "phabricator_id": 253555,
        "phabricator_phid": "PHID-DREV-eb6xwhfnquqgdm6djte6",
        "title": "Bug 1765346 part 1 - Remove alignas(8) and MOZ_NON_PARAM from JS::Value. r?iain!",
        "bugzilla_id": 1765346,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478316/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478316/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253555"
    },
    "phid": "PHID-DIFF-6xprnwgav66o75a4d2q6",
    "review_task_id": "HCrn5hXdSJWA_V3p19MpOw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "018d94a4629ec27894084a0a79de74bb6af039f5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057881/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T19:43:15.433454Z"
}