List and retrieve diffs with detailed revision information

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

{
    "id": 1111032,
    "revision": {
        "id": 519979,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2b71102f99a605a5ff46391f22f8164f494209c8",
        "head_changeset": "c25d8e56e82968a4eceae1b235a53e178f57c642",
        "phabricator_id": 262382,
        "phabricator_phid": "PHID-DREV-5pibghaganxmkt6rouie",
        "title": "WIP: Bug 1979032: Experiment: get correct principal for initial blank doc in iframe. r=nika,hsivonen",
        "bugzilla_id": 1979032,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/519979/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/519979/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262382"
    },
    "phid": "PHID-DIFF-gdxflbzohler4zsnupry",
    "review_task_id": "GRRvi5uaT3q5D3HiaQM2_g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c25d8e56e82968a4eceae1b235a53e178f57c642",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111032/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T14:06:04.811586Z"
}