List and retrieve diffs with detailed revision information

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

{
    "id": 1115024,
    "revision": {
        "id": 518563,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "513a05c7947110d7a97657aae861149c8cfc5b47",
        "head_changeset": "851a8a2100771c7a47e0b7f20bb430c7fa39ef9f",
        "phabricator_id": 262189,
        "phabricator_phid": "PHID-DREV-cyn6yto5dvsez7t25jiv",
        "title": "Bug 1900314 - Bump babel and use its topLevelAwait in parser worker r=#devtools-reviewers",
        "bugzilla_id": 1900314,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/518563/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/518563/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262189"
    },
    "phid": "PHID-DIFF-lizfxinybmxlre46tjc7",
    "review_task_id": "IeMoV8YRS8eAYagHugWGgQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c54222958dd78e42d2276ab732c04a58ac4d8680",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1115024/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-09-01T16:46:58.359325Z"
}