List and retrieve diffs with detailed revision information

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

{
    "id": 1099864,
    "revision": {
        "id": 501491,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "9ba15b223aa441b48c04ed06df9d2510016ba464",
        "head_changeset": "02c60386819bc91e9cff3ae59b3d24129968399e",
        "phabricator_id": 258772,
        "phabricator_phid": "PHID-DREV-d2f7q7llttikk3glrpts",
        "title": "Bug 1979461 - Read name and start_url from the Web app manifest when creating a Taskbar Tab. r=nrishel",
        "bugzilla_id": 1979461,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/501491/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/501491/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258772"
    },
    "phid": "PHID-DIFF-iycq4sovsurk4oefyolh",
    "review_task_id": "AbwFH6s7R7yxHqS2zdpSVg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3e75a433bea435bb48d3d67baaf5f657367e4cb3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1099864/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-01T21:49:34.855349Z"
}