List and retrieve diffs with detailed revision information

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

{
    "id": 1080882,
    "revision": {
        "id": 493327,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "286cb64188455e1b5310fa7dfb21a04fda0a3bc4",
        "head_changeset": "19ba6e0d1ff44f4cfc4fc5d9b1b94f45b3566e9c",
        "phabricator_id": 256823,
        "phabricator_phid": "PHID-DREV-noc3tbzelhdgcu4fyxjm",
        "title": "Bug 1974770 - Add null URI check while producing the partition key for ExpandedPrincipals - r=baku!",
        "bugzilla_id": 1974770,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493327/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493327/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256823"
    },
    "phid": "PHID-DIFF-c7itfl4yxfhkkwje2rkc",
    "review_task_id": "GD4VaxLES62ZVnIPzy6T0w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "19ba6e0d1ff44f4cfc4fc5d9b1b94f45b3566e9c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080882/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T15:42:18.230117Z"
}