List and retrieve diffs with detailed revision information

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

{
    "id": 1052831,
    "revision": {
        "id": 477247,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "35be5b8927451df73a4836e4ba473529da150e45",
        "head_changeset": "e5474a69f320a45a34748fdc6bd8b8bed25c1317",
        "phabricator_id": 251010,
        "phabricator_phid": "PHID-DREV-4cni2fyermroyljckhqd",
        "title": "Bug 1964713: Tabs in open tab cache have their groupId added on DB init r?dao,dwalker,sthompson,mak",
        "bugzilla_id": 1964713,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477247/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477247/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251010"
    },
    "phid": "PHID-DIFF-mgrq5pm4egg4vomzlkvs",
    "review_task_id": "aqJLo8rgTCCPeCbVMY2JVg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "acaace7b12d6c98acfae9d969cdde34a372bfa7f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052831/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T16:02:26.988176Z"
}