List and retrieve diffs with detailed revision information

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

{
    "id": 1107720,
    "revision": {
        "id": 515303,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "5e3597f140f6c141e098c954a8a2bb46b991ce7f",
        "head_changeset": "ea189fb7b4a121bbeb87ea2793bad66bd7255b6c",
        "phabricator_id": 261550,
        "phabricator_phid": "PHID-DREV-6q7w4nqbohyamyyvzgz3",
        "title": "Bug 1976017 - Navigation API: Check for same origin directly without creating principals. r=farre!",
        "bugzilla_id": 1976017,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/515303/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/515303/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D261550"
    },
    "phid": "PHID-DIFF-za5h6brhjzdjkpbcjit5",
    "review_task_id": "LHI-hbSeSfy1SspKlOhmiQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ea189fb7b4a121bbeb87ea2793bad66bd7255b6c",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1107720/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T12:29:08.767831Z"
}