List and retrieve diffs with detailed revision information

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

{
    "id": 1036037,
    "revision": {
        "id": 475465,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a412a20390c87ac0222f733d93d9f1483b996fe0",
        "head_changeset": "a1cf4a4bb331f5ab679a29fed0eb6329784b6b38",
        "phabricator_id": 249909,
        "phabricator_phid": "PHID-DREV-j7lbbyz3qbb5cfv4k3kx",
        "title": "Bug 627771 - Enable dithering and propogate flag. r=jrmuizel!",
        "bugzilla_id": 627771,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475465/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475465/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249909"
    },
    "phid": "PHID-DIFF-hauqmxkoxxfpr5xrgqvj",
    "review_task_id": "P6pCdd9_THWY1M1aZbUZFA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a1cf4a4bb331f5ab679a29fed0eb6329784b6b38",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1036037/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-18T17:37:16.155075Z"
}