List and retrieve diffs with detailed revision information

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

{
    "id": 1088676,
    "revision": {
        "id": 497784,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "69e499386dad015db033b5fc4303705a608265be",
        "head_changeset": "5a12e6306655e9e2fd3cfbc9cf3c856a7f414690",
        "phabricator_id": 257845,
        "phabricator_phid": "PHID-DREV-yxmxangbz5snx5xq2lk7",
        "title": "Bug 1977809: Allocate next_dependency Arc only when it's needed. r=#style",
        "bugzilla_id": 1977809,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497784/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497784/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257845"
    },
    "phid": "PHID-DIFF-5h4tgxdqmozrectyr7sl",
    "review_task_id": "ElvD-n1nSb-_VFLrKvIyzg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "5a12e6306655e9e2fd3cfbc9cf3c856a7f414690",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088676/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-18T13:56:26.309549Z"
}