List and retrieve diffs with detailed revision information

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

{
    "id": 1081385,
    "revision": {
        "id": 486698,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "16ecb9de093bdc813dd7e11b920a7f9138c9da1f",
        "head_changeset": "1cd24b182d3a5070583922802a7dda304e9c8070",
        "phabricator_id": 255298,
        "phabricator_phid": "PHID-DREV-xmh7ajqran2ww63fgzgw",
        "title": "Bug 1973033 - Part 3: Extend size classes to cover small buffers r?sfink",
        "bugzilla_id": 1973033,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486698/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486698/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255298"
    },
    "phid": "PHID-DIFF-jteozloaxwc4tgdm2wgj",
    "review_task_id": "BT8R-jpsReiU-enfdATXTw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "90ff1751f95925e3ed1c83dde5f1e527475fb815",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081385/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T09:37:32.547824Z"
}