List and retrieve diffs with detailed revision information

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

{
    "id": 1049731,
    "revision": {
        "id": 476265,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a58949ca643515abf3c72e2305f2f28a18ab5402",
        "head_changeset": "3161d57a98b6e22209ade2fb965c0d15aa8cedae",
        "phabricator_id": 251101,
        "phabricator_phid": "PHID-DREV-cgmlmtuannqdghkn5pcn",
        "title": "Bug 1928581 - Part 2: Remove \"Stories by topic\" section in the Stories section",
        "bugzilla_id": 1928581,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476265/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476265/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251101"
    },
    "phid": "PHID-DIFF-hqh636xlasfr3h6qc3jx",
    "review_task_id": "VElqPbu6R_KbnJn0Sq-0Ew",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e131477b22962aa70e5406d21cb62a8b5d83c742",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049731/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T07:04:05.325026Z"
}