List and retrieve diffs with detailed revision information

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

{
    "id": 1030855,
    "revision": {
        "id": 473287,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "766ad944209277a17d38ca840c526556617053de",
        "head_changeset": "169942441931870e552ff7a93acbd9a5de25f2af",
        "phabricator_id": 246485,
        "phabricator_phid": "PHID-DREV-3j6qb5ilvgrylydfr5ah",
        "title": "WIP: Bug 1958926 - Error state update for Link Preview",
        "bugzilla_id": 1958926,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/473287/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/473287/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D246485"
    },
    "phid": "PHID-DIFF-urvdps3jrlvhgko7jle6",
    "review_task_id": "PaesPUhxTL66_c5RDz-dJQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4337e55275fa24ea93e18530b895559022169850",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1030855/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-09T19:50:51.167769Z"
}