List and retrieve diffs with detailed revision information

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

{
    "id": 1078843,
    "revision": {
        "id": 491548,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "686f455af358322057becc6768f3e160f156db72",
        "head_changeset": "efc59f25b02132311aec768d2cc0558e0b4977a5",
        "phabricator_id": 256308,
        "phabricator_phid": "PHID-DREV-qqau3celqhz6mf6ohs3t",
        "title": "Bug 1976023 - chore(cargo-audit): suppress `RUSTSEC-2023-0018` r=#supply-chain-reviewers!",
        "bugzilla_id": 1976023,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491548/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491548/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256308"
    },
    "phid": "PHID-DIFF-mxa4yqbechex35ol3wlh",
    "review_task_id": "CQXpW1HKSBCUnRVlKCf8Lg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9c8013e8bd1a36736e021ed2da93818889dc330e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078843/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-07T16:22:55.214571Z"
}