List and retrieve diffs with detailed revision information

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

{
    "id": 1102771,
    "revision": {
        "id": 508378,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "c606875adaedc0feaa409e5201f3e2e398c8a2e5",
        "head_changeset": "be9e7f4d19447ff5b6abbc609028d7f47b3df163",
        "phabricator_id": 260333,
        "phabricator_phid": "PHID-DREV-lsputzyig3bjtiwpvzy5",
        "title": "Bug 1979367 - Synchronize colors.css with bolt colors. r=#thunderbird-front-end-reviewers",
        "bugzilla_id": 1979367,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/508378/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/508378/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260333"
    },
    "phid": "PHID-DIFF-wd4es5gahqvge7uxdmvu",
    "review_task_id": "c7j4KlBoSvm3LtxnQUiq7w",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "69d95b81a37007f886f458f841b6d9a5d1b6a07d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1102771/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-07T19:18:12.745723Z"
}