List and retrieve diffs with detailed revision information

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

{
    "id": 1067023,
    "revision": {
        "id": 483740,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "244b2e2179ce837acae4a822112caa130d71d1e6",
        "head_changeset": "432b93ebf6bbffff80a0732aec87f234c7420dd0",
        "phabricator_id": 254614,
        "phabricator_phid": "PHID-DREV-ck6abvlrqhosv7wbj7sy",
        "title": "Bug 1973399 - AccountHub: Addon account creation broken - Wrong account type. r=vineet",
        "bugzilla_id": 1973399,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483740/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483740/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254614"
    },
    "phid": "PHID-DIFF-6vtfspbvkrwq7nah4fv7",
    "review_task_id": "Upv45QzbQYyZEqPmf-u5pw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "432b93ebf6bbffff80a0732aec87f234c7420dd0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1067023/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-22T15:14:43.293752Z"
}