List and retrieve diffs with detailed revision information

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

{
    "id": 1111021,
    "revision": {
        "id": 519956,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "337263376829635819f61477aae14505a432c799",
        "head_changeset": "153005185d84ae671ca7cacae33216e6bf9cd796",
        "phabricator_id": 262376,
        "phabricator_phid": "PHID-DREV-sk25c54qtcumylrtnq7v",
        "title": "Bug 1985033 - Have 'Try Again' button on about:neterror page reload the message. r=#thunderbird-reviewers",
        "bugzilla_id": 1985033,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/519956/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/519956/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262376"
    },
    "phid": "PHID-DIFF-zmf3sommh5tou3cvejq2",
    "review_task_id": "J3_AoTNUSfSIEGvKg0ANzg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "153005185d84ae671ca7cacae33216e6bf9cd796",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1111021/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-25T13:37:20.445473Z"
}