List and retrieve diffs with detailed revision information

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

{
    "id": 1055584,
    "revision": {
        "id": 475385,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "18331edf7ce2624af9ac681006b5552a2bb44406",
        "head_changeset": "58ec7c5a041e098188b8cc116498a94ad64bc04c",
        "phabricator_id": 249830,
        "phabricator_phid": "PHID-DREV-hgk27qvxsazmm4goyzj4",
        "title": "WIP: Bug 1923650 - Consistently update AppState BrowsingMode",
        "bugzilla_id": 1923650,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475385/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475385/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249830"
    },
    "phid": "PHID-DIFF-36rezkfulgyvlgcv6etr",
    "review_task_id": "JYFT3qfCTPGjRHv-CeKnVA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9acbbf09a51530ac5f1398ff85f2e9ba9937458f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055584/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T06:38:35.818716Z"
}