List and retrieve diffs with detailed revision information

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

{
    "id": 1058516,
    "revision": {
        "id": 478001,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3f12da1b322f2b823a7bd09cd01e6a416c6b05c5",
        "head_changeset": "647e5ad12a3eb66d58d41add7483d03d4d920488",
        "phabricator_id": 253172,
        "phabricator_phid": "PHID-DREV-wakxxp7ukwllijtkrgta",
        "title": "Bug 1971285 - additional test manifest annotations for Ubuntu 24.04 migration. r=aryx",
        "bugzilla_id": 1971285,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478001/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478001/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253172"
    },
    "phid": "PHID-DIFF-2lj77vffm2hbjogz5tid",
    "review_task_id": "Wn2Sbt-QSkCz4gA1ssS_rg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8646659a947acfb19c8c7b81dabbc968e3240b0c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058516/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T16:35:42.614578Z"
}