List and retrieve diffs with detailed revision information

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

{
    "id": 1075527,
    "revision": {
        "id": 410273,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9358b6a02a04f62e0c9c7fcba4877700076a28f5",
        "head_changeset": "a115f590e13254ca35480bc29d50e692cd055532",
        "phabricator_id": 214579,
        "phabricator_phid": "PHID-DREV-elrngamaeizo2vsywpgg",
        "title": "Bug 1820594 - Part 24: Remove FindFirstParseError and check for parse error.",
        "bugzilla_id": 1820594,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/410273/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/410273/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D214579"
    },
    "phid": "PHID-DIFF-7hig7jikclvkf5otybwu",
    "review_task_id": "VXqzScJHScaMAfx8jM76cg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d1377b2aa721555f54c34bcbc9fd1341a5a2d732",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075527/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-30T21:35:29.474396Z"
}