List and retrieve diffs with detailed revision information

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

{
    "id": 1058952,
    "revision": {
        "id": 473850,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fbbe7ac0dde70cdf69f34eeddee9dbbb586dba7e",
        "head_changeset": "751d8ce45697fa02b197ac9b605c21189994a8a4",
        "phabricator_id": 247232,
        "phabricator_phid": "PHID-DREV-aorm7fwmucxrhbo75v2w",
        "title": "Bug 1962133 - QM: Add accessed flag to FullOriginMetadata and persist it in the origin metadata file; r=#dom-storage",
        "bugzilla_id": 1962133,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/473850/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/473850/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D247232"
    },
    "phid": "PHID-DIFF-diga2j35wzhvcowmvvif",
    "review_task_id": "TOowoSByQ8yKHbyREuWb-Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f5a730d56910c53926ab8bd5e3404a0afeedb54a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058952/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-15T22:49:46.392215Z"
}