List and retrieve diffs with detailed revision information

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

{
    "id": 1055850,
    "revision": {
        "id": 477993,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "eeb5887eb70abe2f9102f6232247fe3134cf2cae",
        "head_changeset": "b74206b39b40884a9bf4c00c635cc027fce706f2",
        "phabricator_id": 253165,
        "phabricator_phid": "PHID-DREV-pfhsvffx5m62o5n2yxco",
        "title": "Bug 1961386 - part 8: Have an extra book-keeping for empty slots and optimize AddTimerInternal. r?#xpcom-reviewers",
        "bugzilla_id": 1961386,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477993/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477993/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253165"
    },
    "phid": "PHID-DIFF-gow6vqovlxed25huoyrf",
    "review_task_id": "Jej9UPSWQe2nuZVZzpTLHA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b74206b39b40884a9bf4c00c635cc027fce706f2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055850/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T13:28:11.095057Z"
}