List and retrieve diffs with detailed revision information

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

{
    "id": 1050020,
    "revision": {
        "id": 476896,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "5095ad4fee52d57114d5e6eed9b17a0a18c76f8c",
        "head_changeset": "9ee580f30144314114216bee9f800041c86b8281",
        "phabricator_id": 251895,
        "phabricator_phid": "PHID-DREV-sasmmnexbjdxb3qybx2h",
        "title": "Bug 1968963 - Re-run migration 48 and 49 accidentally skipped during release uplift. r=#thunderbird-reviewers",
        "bugzilla_id": 1968963,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476896/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476896/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251895"
    },
    "phid": "PHID-DIFF-jhsv4mmugleh2rlrcyf6",
    "review_task_id": "T6rEEjqiQG2uSpNjCQKKVA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "9ee580f30144314114216bee9f800041c86b8281",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050020/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T15:38:15.130246Z"
}