List and retrieve diffs with detailed revision information

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

{
    "id": 1075856,
    "revision": {
        "id": 488344,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b331577c597a84517ba6fb5f4a254b69a23db8ec",
        "head_changeset": "1a8ae104e76e5e94d609eaf71ced5a6834b1656b",
        "phabricator_id": 255506,
        "phabricator_phid": "PHID-DREV-2vyttuve27polwvtk3ht",
        "title": "Bug 1974513 - Text Fragments: Use strong pointers to `Document` in helper classes. r=mccr8!",
        "bugzilla_id": 1974513,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488344/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488344/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255506"
    },
    "phid": "PHID-DIFF-7nb47q6jpheyiptud4vv",
    "review_task_id": "HyLeGdxkQEyE7jUr3swAWw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6ce65fcaa7b643027e7c6996d02ccc4c6741932f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075856/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T09:07:14.697281Z"
}