List and retrieve diffs with detailed revision information

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

{
    "id": 1035883,
    "revision": {
        "id": 453618,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "508a834f0ff79106c6275478fd256464c39ef368",
        "head_changeset": "8b63fadb5a6ee1e8be640f8533fb8ae4471fe6f6",
        "phabricator_id": 238479,
        "phabricator_phid": "PHID-DREV-i2mt4wflsdmo62ftgtro",
        "title": "WIP: Bug 1944556 - Add PNA helper functions. r=#necko",
        "bugzilla_id": 1944556,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/453618/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/453618/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D238479"
    },
    "phid": "PHID-DIFF-ilwq4ospxlzhlocs66xs",
    "review_task_id": "HG9jX4ORSLOJfbFLpJo2xw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "95160bb3acf35ab8fbd658cb3bc34924f5cccdac",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1035883/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-17T16:13:52.564743Z"
}