List and retrieve diffs with detailed revision information

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

{
    "id": 1050553,
    "revision": {
        "id": 477016,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "7222fa7893e74127b868b4363472b7962ff902f8",
        "head_changeset": "4833745032679de998326d25ad712749726470b9",
        "phabricator_id": 251999,
        "phabricator_phid": "PHID-DREV-k2hrwi76xxde4nxkpzew",
        "title": "Bug 1969430 - Part 2: Mark the required inheritors of Nestable class as MOZ_STACK_CLASS. r?arai!",
        "bugzilla_id": 1969430,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477016/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477016/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251999"
    },
    "phid": "PHID-DIFF-sfshtwzouexe6bgfwgkq",
    "review_task_id": "H8kyiVSeR7Kh028e7IPfdw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4833745032679de998326d25ad712749726470b9",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050553/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-31T21:24:03.378982Z"
}