List and retrieve diffs with detailed revision information

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

{
    "id": 1066155,
    "revision": {
        "id": 482486,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "066b50b0e84c1702c949f954497562c5a05aa73f",
        "head_changeset": "bd800892421f713c1f26c71747123b844bddb58b",
        "phabricator_id": 254416,
        "phabricator_phid": "PHID-DREV-2l27ni5xyscouvtnuvxx",
        "title": "Bug 1966377 - add an Android-only CSS webcompat intervention for nvidia.com to fix their overflowing mobile layout; r?denschub",
        "bugzilla_id": 1966377,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/482486/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/482486/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254416"
    },
    "phid": "PHID-DIFF-6fplxhe364rw7ovadwkj",
    "review_task_id": "BcL4j2rgQuujYUpPbqgyxw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "bd800892421f713c1f26c71747123b844bddb58b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066155/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T16:26:51.496175Z"
}