List and retrieve diffs with detailed revision information

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

{
    "id": 1113160,
    "revision": {
        "id": 520074,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "32232748943bac806dc71c623d77e83f40531cb8",
        "head_changeset": "c6a158e175e6acd994a9482cc6274870efef6ba0",
        "phabricator_id": 262402,
        "phabricator_phid": "PHID-DREV-gpstt3v6okyrhwtcdhwv",
        "title": "Bug 1889569 - Disable more print entrypoints when print is disabled. r?gregp",
        "bugzilla_id": 1889569,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/520074/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/520074/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262402"
    },
    "phid": "PHID-DIFF-yrrdzbhronh3wzfda63r",
    "review_task_id": "SVyFe5jzS_-PsJ-Hc4U8yA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ae8b7de2bf674809de159559936a95eedf728c36",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1113160/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-27T20:23:06.970969Z"
}