List and retrieve diffs with detailed revision information

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

{
    "id": 1103408,
    "revision": {
        "id": 509269,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "62b93e0936e577dc3983b93027e7212a88bb0d38",
        "head_changeset": "84f5d44551a21bb7854e39d7dd71cdb5c458f444",
        "phabricator_id": 260463,
        "phabricator_phid": "PHID-DREV-vgcg3nikomzyutbqv7oe",
        "title": "WIP: Bug 1980228 - Add warning message when text is too long",
        "bugzilla_id": 1980228,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/509269/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/509269/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260463"
    },
    "phid": "PHID-DIFF-2wbpi6y7zuw6n6jullbh",
    "review_task_id": "fhIiLPV5StWslaz3rz__xQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "676fa7aac433a883fc8e85cefaf3f55db550ad2b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1103408/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-08T17:23:05.145532Z"
}