List and retrieve diffs with detailed revision information

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

{
    "id": 1066694,
    "revision": {
        "id": 483321,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b674725faa163cd40ac3bb2c37e19ffa82eff74f",
        "head_changeset": "a0039857a383e030b19f7fe5f366b1fac7aa3fc1",
        "phabricator_id": 254515,
        "phabricator_phid": "PHID-DREV-nexqjpbrn2hjif7istei",
        "title": "Bug 1972080 - Add 4 space indentation when generating newtab locales-report.json and sort missing message keys. r?pdahiya!",
        "bugzilla_id": 1972080,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/483321/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/483321/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254515"
    },
    "phid": "PHID-DIFF-wc2sufzna57oai5asn7w",
    "review_task_id": "Ng0VncylTki4Lp-nhqiaYA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fbb3c9aa039c5b3cab04274bebaab5b406001247",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066694/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-20T15:09:15.461141Z"
}