List and retrieve diffs with detailed revision information

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

{
    "id": 1058077,
    "revision": {
        "id": 478336,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0638a29026d45e7b893e38326b58da5717ff2cd6",
        "head_changeset": "0c5048cddbb266f83842d389aea389cde8a150dc",
        "phabricator_id": 253592,
        "phabricator_phid": "PHID-DREV-slmn2amhaavbdfw6z6lq",
        "title": "Bug 1971899 - Update WebGPU CTS to cb3be1a0c7f808d1cae46d4ca14a966777193e2e",
        "bugzilla_id": 1971899,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478336/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478336/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253592"
    },
    "phid": "PHID-DIFF-gbkamc4r5ndaefksucs3",
    "review_task_id": "dARcgDkUSNGO-n4LLeU4RA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0c5048cddbb266f83842d389aea389cde8a150dc",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058077/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T00:33:20.403234Z"
}