List and retrieve diffs with detailed revision information

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

{
    "id": 1079498,
    "revision": {
        "id": 492258,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "34286ef9fa60431a6928c68b46c61f982316ac1f",
        "head_changeset": "9d8ae288f2a4bf2b4f7d8961232952bd2b4fd0fe",
        "phabricator_id": 256463,
        "phabricator_phid": "PHID-DREV-cqbulh6gmydimsna4ty7",
        "title": "Bug 1976244 - Add delay on application startup before showing IAN notifications. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1976244,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492258/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492258/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256463"
    },
    "phid": "PHID-DIFF-47vr47effzzpnxhiypgi",
    "review_task_id": "M9PHdGO_Ty6xTVHHlJcJLg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "9d8ae288f2a4bf2b4f7d8961232952bd2b4fd0fe",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079498/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T15:47:03.582496Z"
}