List and retrieve diffs with detailed revision information

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

{
    "id": 1038511,
    "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-cg6l27xsigwedvkmrpdb",
    "review_task_id": "UCkZFn7lSvK78WoYeZFGAw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3a6e885289c40c6be89795a60267a087cac7a60b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1038511/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T15:53:48.271907Z"
}