List and retrieve diffs with detailed revision information

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

{
    "id": 1052565,
    "revision": {
        "id": 476417,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c4f089d7b67993118a3905558f80699c3bf4ce44",
        "head_changeset": "b2e956c074e6daa63fe8f06ba0aff6a83767484e",
        "phabricator_id": 251334,
        "phabricator_phid": "PHID-DREV-p6mbh7oshwazptidyuxn",
        "title": "Bug 1966880 - Part 2: Extract Play In-App Review API usage into a separate controller",
        "bugzilla_id": 1966880,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476417/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476417/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251334"
    },
    "phid": "PHID-DIFF-4ct56gr6uwxmzfovkm6c",
    "review_task_id": "FlSoC4veR-WpR2JNsnsOEA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c757f536442b688108678ff384353f42ff0549db",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052565/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T11:51:19.676629Z"
}