List and retrieve diffs with detailed revision information

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

{
    "id": 1058350,
    "revision": {
        "id": 478142,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8cc0607b2cb1617ef9aef27ecf78b83c3bbe2c23",
        "head_changeset": "c682979d421f2df59500b4feb715656e8d4a4655",
        "phabricator_id": 253336,
        "phabricator_phid": "PHID-DREV-w5zzxf6yccd6iq3q4gkt",
        "title": "Bug 1971518 - Fix test failures for search tests when run on esr140. r?mbeier!",
        "bugzilla_id": 1971518,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478142/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478142/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253336"
    },
    "phid": "PHID-DIFF-s35qx72gftr626aalbip",
    "review_task_id": "aAQpY0qCT4yPjMbYodYpow",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "38db2da80f33b4480eea7ed36047343fbf8cca43",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058350/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T13:13:33.760788Z"
}