List and retrieve diffs with detailed revision information

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

{
    "id": 1105307,
    "revision": {
        "id": 512085,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "142cca72eb3caf358160532c71a4e701d23f20a1",
        "head_changeset": "e2591c3395273f857b21f783d21a9e0783d06760",
        "phabricator_id": 260970,
        "phabricator_phid": "PHID-DREV-o6b4oxeyx4pifhz3jf6d",
        "title": "Bug 1982440 - Allow toggling the fake camera on the fly. r?jib!,grulja",
        "bugzilla_id": 1982440,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/512085/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/512085/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260970"
    },
    "phid": "PHID-DIFF-4lvbxlbtufgg737sagwz",
    "review_task_id": "GQVX0rFsSyixlY6Prh544Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e2591c3395273f857b21f783d21a9e0783d06760",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105307/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T12:39:07.886418Z"
}