List and retrieve diffs with detailed revision information

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

{
    "id": 1081194,
    "revision": {
        "id": 493662,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e0b79b583e6b3920a93996d19ba41ab6cfc47776",
        "head_changeset": "6dc008db54d5984994193451d84017a7ef8cf1b4",
        "phabricator_id": 256491,
        "phabricator_phid": "PHID-DREV-k74lydvqkb5z2spqahss",
        "title": "Bug 1953836 - Enable ASRouter to handle message requests using message profile impressions stored in sharedDB",
        "bugzilla_id": 1953836,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493662/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493662/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256491"
    },
    "phid": "PHID-DIFF-vjrs6u2lcoht4d3uc5xx",
    "review_task_id": "eOJTF0iTSUy5FivURiWfdQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6dc008db54d5984994193451d84017a7ef8cf1b4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081194/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-11T01:11:54.105510Z"
}