List and retrieve diffs with detailed revision information

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

{
    "id": 1073340,
    "revision": {
        "id": 410246,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9358b6a02a04f62e0c9c7fcba4877700076a28f5",
        "head_changeset": "07943317cf6c8e469a0cd17ec2a3958fc2de06e1",
        "phabricator_id": 214567,
        "phabricator_phid": "PHID-DREV-zqper3cqehzz5ojew7u7",
        "title": "Bug 1820594 - Part 2: Implement GraphLoadingStateRecord.",
        "bugzilla_id": 1820594,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/410246/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/410246/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D214567"
    },
    "phid": "PHID-DIFF-q4pynhj5j6lma3kwoieo",
    "review_task_id": "RzPtu4O1TBuHHn_9tyO0lQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b942f0b572197cdbdf2a5a7976a45437ff4bd22a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073340/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-26T14:04:41.597413Z"
}