List and retrieve diffs with detailed revision information

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

{
    "id": 1036015,
    "revision": {
        "id": 475458,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a412a20390c87ac0222f733d93d9f1483b996fe0",
        "head_changeset": "b3c704064c6811bc6f85fbd154b783ad25f16313",
        "phabricator_id": 249903,
        "phabricator_phid": "PHID-DREV-3hbpo4fmvtaa43jjqxbx",
        "title": "WIP: Bug 1961386 - Use std::set instead of nsTArray for mTimers. r?#xpcom-reviewers",
        "bugzilla_id": 1961386,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475458/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475458/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249903"
    },
    "phid": "PHID-DIFF-mfh3euycicxhvbsecv3r",
    "review_task_id": "Vou6JDW0SKGgGmKcLiWc3w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "29208addb769beab93cf5e00b39c01a8158824cd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1036015/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-18T15:45:32.415420Z"
}