List and retrieve diffs with detailed revision information

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

{
    "id": 1105406,
    "revision": {
        "id": 510491,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "9a83cfad8c2752f1b4b319e5977a96c688c14981",
        "head_changeset": "7104f3568ba68105f3485037af94374e137f43c4",
        "phabricator_id": 260653,
        "phabricator_phid": "PHID-DREV-vewi6y3wxiwflt7lnw7g",
        "title": "Bug 1977400 - Offer to set a certificate override on PKIX certificate validation failures. r=mkmelin",
        "bugzilla_id": 1977400,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/510491/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/510491/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260653"
    },
    "phid": "PHID-DIFF-ek3uassmhqnzm7eoyd7n",
    "review_task_id": "N3Mse8mmTZK3wxGtw06D8Q",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "bcf73b3cba7c9c64ab4805fbf03a765921a49584",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1105406/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-13T14:56:34.575125Z"
}