List and retrieve diffs with detailed revision information

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

{
    "id": 1080286,
    "revision": {
        "id": 488705,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "90e2a010a152db151e20c54b9d8d4f6fdf3a6a31",
        "head_changeset": "9ad4103eb83659e7db2cf94a211ea22328ee455f",
        "phabricator_id": 255584,
        "phabricator_phid": "PHID-DREV-2afcvov5gxhkgaisvnzj",
        "title": "WIP: Bug 1974892 - Pass header data as const ref to ParseH264Parameters",
        "bugzilla_id": 1974892,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488705/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488705/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255584"
    },
    "phid": "PHID-DIFF-v6go3k2vnth6x5ljefnr",
    "review_task_id": "Z-2J1Z00R5e6FUusl_5UAg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fb302df5c930a9f651d71c6891f1fea5b2f5ba91",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080286/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T17:22:44.959582Z"
}