List and retrieve diffs with detailed revision information

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

{
    "id": 1075652,
    "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-q24vpw3djrecj4s5ydls",
    "review_task_id": "DTD8AbvCRxmKXgpcIQ3PYw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9ad4103eb83659e7db2cf94a211ea22328ee455f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075652/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T00:15:37.409341Z"
}