List and retrieve diffs with detailed revision information

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

{
    "id": 1058363,
    "revision": {
        "id": 478509,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "25b3009308037fd103f64e4dc15ac2026aeab334",
        "head_changeset": "c207a90b0517f10e2c8e4aca41a7d6d9f2c6883b",
        "phabricator_id": 253654,
        "phabricator_phid": "PHID-DREV-puiwndhmsmp64235znq5",
        "title": "Bug 1971916 - Make sure the SHIP pref in the mochitests is in sync with the static SHIP pref.",
        "bugzilla_id": 1971916,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478509/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478509/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253654"
    },
    "phid": "PHID-DIFF-ywdd3ydgqro4zz6umd75",
    "review_task_id": "L8_Zzl3XRV-csgzfCogpPg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c207a90b0517f10e2c8e4aca41a7d6d9f2c6883b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058363/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T13:44:02.628577Z"
}