List and retrieve diffs with detailed revision information

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

{
    "id": 1076051,
    "revision": {
        "id": 475453,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a412a20390c87ac0222f733d93d9f1483b996fe0",
        "head_changeset": "4e7edf2e643e31c75dd8d7b579fe75d72a6d0784",
        "phabricator_id": 249898,
        "phabricator_phid": "PHID-DREV-t2boehnb6wotzpheekxh",
        "title": "WIP: Bug 1961386 - Add MOZ_GUARDED_BY to mTimeout in nsTimerImpl. r?#xpcom-reviewers",
        "bugzilla_id": 1961386,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475453/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475453/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249898"
    },
    "phid": "PHID-DIFF-57whsv7j3bss4p7nznvp",
    "review_task_id": "B6Xl9wzoTYGR7YARzHAfeQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "83462beaf7feb6295e1cef062f772c9ec1c59748",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076051/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T15:11:07.816294Z"
}