List and retrieve diffs with detailed revision information

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

{
    "id": 1074468,
    "revision": {
        "id": 486678,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8f6d960e567bd265b1d2478c7ad6868b6872cd22",
        "head_changeset": "1786f97101c6a4c17df8048561844b64497bd265",
        "phabricator_id": 255287,
        "phabricator_phid": "PHID-DREV-cl3plnsmdksef3t3iokc",
        "title": "Bug 1974423 - Update test expectations for nested-root-capture-with-clip.html r=sasha,aryx",
        "bugzilla_id": 1974423,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486678/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486678/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255287"
    },
    "phid": "PHID-DIFF-vknewyjquz4ubj4lpwk2",
    "review_task_id": "TO3cypIhQ86_XCT0hsnWCg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "aac7605de3f697bf0fda07150fe541c67e96d41d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074468/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-27T17:06:42.471291Z"
}