List and retrieve diffs with detailed revision information

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

{
    "id": 1058147,
    "revision": {
        "id": 478332,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "06729049b993ddda70a2b84247c6140e15eff841",
        "head_changeset": "cbb0baefeea88be9e842f35ab4b09cdf76678a8e",
        "phabricator_id": 253587,
        "phabricator_phid": "PHID-DREV-qvzy4qc53kvh5ykc4lvs",
        "title": "Bug 1971879 - Make AMP and Wikipedia suggestions independently toggleable from Suggest.",
        "bugzilla_id": 1971879,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/478332/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/478332/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253587"
    },
    "phid": "PHID-DIFF-fz43kungapz22oeycfzu",
    "review_task_id": "Z0xIhKFcR3OvrO44mSfa4Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "978fb75eac6924767b05a723f61447bea23e4148",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058147/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T03:28:56.425970Z"
}