List and retrieve diffs with detailed revision information

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

{
    "id": 1093089,
    "revision": {
        "id": 494633,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "74eaba76611561dfe085f801a8b29664c38b8cbe",
        "head_changeset": "a1afe26233080494c7a5dd97651ab7bd9f3fdac9",
        "phabricator_id": 257108,
        "phabricator_phid": "PHID-DREV-4cti7jzmmhora4rdib4g",
        "title": "Bug 1976737 - Show both a toolbar divider and a progress bar based on toolbar gravity r=#android-reviewers",
        "bugzilla_id": 1976737,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/494633/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/494633/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257108"
    },
    "phid": "PHID-DIFF-3lzx7x75tdao3j3butit",
    "review_task_id": "HiYEpWLpQUSF9BmkQwMOoQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "95d18f4a4f19cb05009729a0dbf8c68ed1805ebf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1093089/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-22T07:46:51.009411Z"
}