List and retrieve diffs with detailed revision information

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

{
    "id": 1081988,
    "revision": {
        "id": 493933,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "f630da463f4347c22fd1222847f0be3370fd72ed",
        "head_changeset": "5f59d1e3c14ae5afd9864537a49c3a1bf9ccb999",
        "phabricator_id": 256972,
        "phabricator_phid": "PHID-DREV-vqcapwjtq4wp65qu6e2r",
        "title": "Bug 1974205 - Disable test_peerConnection_videoCodecs.html for frequent failures. r=#intermittent-reviewers",
        "bugzilla_id": 1974205,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493933/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493933/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256972"
    },
    "phid": "PHID-DIFF-b6f3mkiaejl4dk3xxyy7",
    "review_task_id": "GWt76j_6SeCKeMZjDAdzJw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "52bdbc5097002f8f5ca4166ae3e98c51dff42470",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1081988/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-12T03:38:51.845965Z"
}