List and retrieve diffs with detailed revision information

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

{
    "id": 1073978,
    "revision": {
        "id": 486176,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a8fdd4e7a1acc9b578b64660ab63d1c6199bdf89",
        "head_changeset": "d3103cf87f7570e924938a07d0f92f0f285348bd",
        "phabricator_id": 255239,
        "phabricator_phid": "PHID-DREV-erret53hbx2nf34ohu5p",
        "title": "Bug 1974356 - Pre: Remove unnecessary special casing for Windows XP Downloads folder, and modify `GetKnownFolder` to use the same types passed through to WINAPI's `SHGetKnownFolderPath`. r=#win-reviewers",
        "bugzilla_id": 1974356,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/486176/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/486176/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255239"
    },
    "phid": "PHID-DIFF-3nadj2hlynv3vxq3poja",
    "review_task_id": "O8a1OHB7Re2y3jFTFi4p2w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d3103cf87f7570e924938a07d0f92f0f285348bd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1073978/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-27T02:09:48.829754Z"
}