List and retrieve diffs with detailed revision information

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

{
    "id": 1086072,
    "revision": {
        "id": 495475,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "260f2f8f64fec4094b17722ecfeb9dc3f392a23b",
        "head_changeset": "442c9c2df255173bfe80ab8711daea8e277696a6",
        "phabricator_id": 257198,
        "phabricator_phid": "PHID-DREV-h6lyonaisxx47ypnbp54",
        "title": "Bug 1976215 - Adds AU, GB and JP to list of locales available to debug",
        "bugzilla_id": 1976215,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495475/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495475/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257198"
    },
    "phid": "PHID-DIFF-hspzz74iusfani6oi73p",
    "review_task_id": "GZL_i-LZS2WMskWfvGMspg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "442c9c2df255173bfe80ab8711daea8e277696a6",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086072/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T00:12:45.337259Z"
}