List and retrieve diffs with detailed revision information

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

{
    "id": 1086028,
    "revision": {
        "id": 495434,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "4859ba66d74d1d6087ce82062ade8f60aec3a877",
        "head_changeset": "7eac3244d6f44d7aafc5fb6b89688754913f36c5",
        "phabricator_id": 257189,
        "phabricator_phid": "PHID-DREV-zzdyynm7l4tvome363au",
        "title": "Bug 1878375 - Synchronize vendored Rust libraries with mozilla-central. r=#thunderbird-reviewers",
        "bugzilla_id": 1878375,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495434/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495434/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257189"
    },
    "phid": "PHID-DIFF-kibohwlea4nyn3gvx2wv",
    "review_task_id": "KyW2fqKgSrKOgNN4b047gw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "7eac3244d6f44d7aafc5fb6b89688754913f36c5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086028/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-14T22:03:14.162393Z"
}