List and retrieve diffs with detailed revision information

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

{
    "id": 1080663,
    "revision": {
        "id": 493140,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b45b4af22ec10da52bbb4827c285970bfe3f4d45",
        "head_changeset": "6aaaeed82cd0f0ba737ba2ce967371f07067c03e",
        "phabricator_id": 256759,
        "phabricator_phid": "PHID-DREV-ppvdmzv2axbgevi7zvbg",
        "title": "Bug 1976618 - Have the composable content extend to the entire width of the home screen r=#android-reviewers",
        "bugzilla_id": 1976618,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493140/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493140/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256759"
    },
    "phid": "PHID-DIFF-supqvspinjb3riovwgx3",
    "review_task_id": "GA56WcOIRqyC4VdhBgcD5g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6aaaeed82cd0f0ba737ba2ce967371f07067c03e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080663/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T07:50:02.145096Z"
}