List and retrieve diffs with detailed revision information

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

{
    "id": 1052861,
    "revision": {
        "id": 476342,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "6fff5603bf12d00550c72660cd36d6383e15e79d",
        "head_changeset": "e85f8bbc9b056b1b21073d5e40973163386aa1e7",
        "phabricator_id": 251189,
        "phabricator_phid": "PHID-DREV-tdru62kq2o4i5khpis2b",
        "title": "Bug 1966496: Re-enable the CUJ profile generation, and merge the profiles into one baseline-prof.txt file.",
        "bugzilla_id": 1966496,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476342/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476342/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251189"
    },
    "phid": "PHID-DIFF-akkfnkan3zp23htqclwt",
    "review_task_id": "UbyKPfZVQWiYxZwcju3rag",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ae76d215c3ce5e7f54fdf02a03e028f2bb303ebc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052861/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T17:40:21.871907Z"
}