List and retrieve diffs with detailed revision information

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

{
    "id": 1050013,
    "revision": {
        "id": 476892,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3aba250d612527d14e8ba3da8515cc507fc57068",
        "head_changeset": "28a809c3b8acd75388ebe4d1903abf44238653fb",
        "phabricator_id": 251890,
        "phabricator_phid": "PHID-DREV-elq735glccmkiwj2nk36",
        "title": "Bug 1969406: Update expecations for perma-passing anchor-scroll-js-expose.html since bug 1923961. r=#layout",
        "bugzilla_id": 1969406,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476892/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476892/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251890"
    },
    "phid": "PHID-DIFF-m2o5v7ajnwu6bqdzg44t",
    "review_task_id": "AEVCk1mUQBucrggPQi3ckw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "cdbe7eaecd2a2410ea1c0af2617f0578c552d2f3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050013/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T15:27:10.425315Z"
}