List and retrieve diffs with detailed revision information

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

{
    "id": 1042090,
    "revision": {
        "id": 475152,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8f18e2177eec322168d25c227965879e51e8091c",
        "head_changeset": "47323286b4cba67c96d45ce455e97ae3fde619b6",
        "phabricator_id": 249474,
        "phabricator_phid": "PHID-DREV-bowrklm2736qt4g7beze",
        "title": "WIP: Bug 1946971 - Implement multi selection in browser history panel. r?#sidebar-reviewers",
        "bugzilla_id": 1946971,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475152/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475152/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249474"
    },
    "phid": "PHID-DIFF-fyw2zb6q2p46tbvmlosi",
    "review_task_id": "BNh1z0Y5TxaZStDuWSELpA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b5d4456edc1d7911efdfb75f61f177bb7a1f3a79",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1042090/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-23T15:38:19.832798Z"
}