List and retrieve diffs with detailed revision information

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

{
    "id": 1039721,
    "revision": {
        "id": 475849,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "17723ce85b4856eac8d8240b82a27ab3bf815a2b",
        "head_changeset": "e68c168b026e5db0a33d84110dfd1eeda3e7a1dd",
        "phabricator_id": 250423,
        "phabricator_phid": "PHID-DREV-izanlseplyhfzwdum7sx",
        "title": "WIP: Bug 1963137 - deactivate 2 tests DO NOT LAND",
        "bugzilla_id": 1963137,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475849/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475849/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250423"
    },
    "phid": "PHID-DIFF-fma5y2gjak37rchno6pq",
    "review_task_id": "Ht-imhdpQbaA4eRDfc722w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0bd5524fdaec76ca34ce6d13b283563be0c7a5ba",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039721/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T13:06:47.888967Z"
}