List and retrieve diffs with detailed revision information

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

{
    "id": 1080696,
    "revision": {
        "id": 489564,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "64ceb3e693e918d83c001d54d1c039405776251a",
        "head_changeset": "df1af3f670431ba753a336996ea4c6369c379522",
        "phabricator_id": 222137,
        "phabricator_phid": "PHID-DREV-io77vnlj2c4pbyic5epl",
        "title": "Bug 1918722 - Simplify ClearDataService cache-cleaning interface.",
        "bugzilla_id": 1918722,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489564/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489564/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D222137"
    },
    "phid": "PHID-DIFF-tfi6owlc27kv2vrzvgbm",
    "review_task_id": "ejUvuuu1TUGGd-17j3mHsA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "db453bf7bcb456755234d1dba150ce16c499d1e1",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080696/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T09:15:46.210055Z"
}