List and retrieve diffs with detailed revision information

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

{
    "id": 1037710,
    "revision": {
        "id": 475153,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "399d272321a424135f4b95c0bdc6decf45d45599",
        "head_changeset": "9dabdc754786e76ea06b92d650e6ffe16180a1c2",
        "phabricator_id": 186683,
        "phabricator_phid": "PHID-DREV-3brjcyeiaepi67c7xds3",
        "title": "Bug 803994 - If UNAVAILABLE response occurs at imap login, show server response & don't prompt for password. r=mkmelin",
        "bugzilla_id": 803994,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475153/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475153/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D186683"
    },
    "phid": "PHID-DIFF-vav6nwijfki7xuojfo5w",
    "review_task_id": "EunKwIOXTe2Xdt15wI4lZw",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "6ba8d33cb330b71231c306f582e6adef0a9370fe",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1037710/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-19T18:06:56.209574Z"
}