List and retrieve diffs with detailed revision information

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

{
    "id": 1077199,
    "revision": {
        "id": 480801,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "4e627844eb83e8a7d523dce33416974019a60f8c",
        "head_changeset": "349249608a81c7b5ea014f9a82dc1e02015d82ce",
        "phabricator_id": 254060,
        "phabricator_phid": "PHID-DREV-aepijgkb7cmhp7l25rla",
        "title": "WIP: Bug 1970921 - add end-to-end tests for TP allow-list categories r?#anti-tracking!",
        "bugzilla_id": 1970921,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/480801/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/480801/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254060"
    },
    "phid": "PHID-DIFF-xntzlzmfbbmagoqow7yd",
    "review_task_id": "NgxJOWjBT6SsONaV0UI4hA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0e4174f0ec8566f3a7eeed4a8ada6c212b81e8d0",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077199/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T04:55:07.141331Z"
}