List and retrieve diffs with detailed revision information

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

{
    "id": 1036187,
    "revision": {
        "id": 475460,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a412a20390c87ac0222f733d93d9f1483b996fe0",
        "head_changeset": "c5cf55d2b97d9ee9176731a147153365496b0c66",
        "phabricator_id": 249902,
        "phabricator_phid": "PHID-DREV-5gdhnaaxvc4n7jj64cxi",
        "title": "WIP: Bug 1961386 - Use InsertElementSorted in AddTimerInternal. r?#xpcom-reviewers",
        "bugzilla_id": 1961386,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475460/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475460/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249902"
    },
    "phid": "PHID-DIFF-dg77xbsrjxceq7qhpyvr",
    "review_task_id": "G6Rocl4YRB6dkbO556fBcw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f1c84bbddcf0d9f733eddd9a9be30d1333593b49",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1036187/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-19T10:14:26.276766Z"
}