List and retrieve diffs with detailed revision information

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

{
    "id": 1113130,
    "revision": {
        "id": 521065,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "b7573b229c2d2e6a660decc4e3ed7183c761f8e1",
        "head_changeset": "f2a32fcba21d23e62f3d12cfa95841074a65dbce",
        "phabricator_id": 262571,
        "phabricator_phid": "PHID-DREV-3crcesyfcg5yd57vh6hr",
        "title": "Bug 1985268 - Update the copy for the variant of \"Do not ask again\" checkbox used for LNA permissions",
        "bugzilla_id": 1985268,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/521065/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/521065/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D262571"
    },
    "phid": "PHID-DIFF-whpiougws5epxgvzj6o2",
    "review_task_id": "bJJB18YsRTS1NSz1FdpYeQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9ed690bf064d34fafffbb6c268c341472e81cced",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1113130/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-27T20:10:04.527274Z"
}