List and retrieve diffs with detailed revision information

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

{
    "id": 1057803,
    "revision": {
        "id": 478299,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "bdd8a4285af9b60a3e2f9b5917abac0c5e01d2ab",
        "head_changeset": "2302910c53de4398aa1111558bf706f169cb4cb2",
        "phabricator_id": 253540,
        "phabricator_phid": "PHID-DREV-bm7tmi42m2jjivcuossh",
        "title": "Bug 1971603 - Reset #attachmentName event handlers for new mesasge, to avoid mess with attachment url display. r=#thunderbird-reviewers",
        "bugzilla_id": 1971603,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478299/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478299/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253540"
    },
    "phid": "PHID-DIFF-xfzq7satqskpnajsd6vw",
    "review_task_id": "IdR5bGpMQROfwc5rWo71QA",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "2302910c53de4398aa1111558bf706f169cb4cb2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057803/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T16:14:47.487867Z"
}