List and retrieve diffs with detailed revision information

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

{
    "id": 1080677,
    "revision": {
        "id": 493158,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "db1de09b089c28426f04d059aeb2ac67a973a130",
        "head_changeset": "46a513224066b126c0db197af2a2b07913c47483",
        "phabricator_id": 256762,
        "phabricator_phid": "PHID-DREV-ib36e4vs7ine5tdoxgxq",
        "title": "Bug 1976627 - Remove the content intent on the system notification for add-on updates. r?rpl!",
        "bugzilla_id": 1976627,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/493158/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/493158/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256762"
    },
    "phid": "PHID-DIFF-vit63atxj3vkdypqzp6x",
    "review_task_id": "Yx42Gw4IShCiyiEUVRp4vQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "46a513224066b126c0db197af2a2b07913c47483",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1080677/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-10T08:41:20.376358Z"
}