List and retrieve diffs with detailed revision information

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

{
    "id": 1080230,
    "revision": {
        "id": 492797,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "191b3c14d0ae380494ccff3303c3b37c787022ec",
        "head_changeset": "ccd13cd3607daf419ef496bb7236883e13fea883",
        "phabricator_id": 256651,
        "phabricator_phid": "PHID-DREV-4qs6pshaee3d7754db34",
        "title": "Bug 1976327 - Don't say address pill ending with with any of .,:;!?- is valid. r=#thunderbird-reviewers",
        "bugzilla_id": 1976327,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492797/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492797/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256651"
    },
    "phid": "PHID-DIFF-t5n7ah46nq7zc6yflub7",
    "review_task_id": "Bl1Z3GaIQMOyutKEppDlWg",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "a1b20bdaec4ccc6790c4baf625e92b30b07e1f20",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080230/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-09T15:45:41.850861Z"
}