List and retrieve diffs with detailed revision information

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

{
    "id": 1038385,
    "revision": {
        "id": 475673,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8a376fccf3844ad1f3d9c5418ace408e07e494b1",
        "head_changeset": "c6131a6efd277a6cc4780436499034e95b97650c",
        "phabricator_id": 250181,
        "phabricator_phid": "PHID-DREV-yzhyoqhwq3bq2xiuqmki",
        "title": "Bug 1967416 - Add Bookmarks, History, Main menu and other POM related changes",
        "bugzilla_id": 1967416,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475673/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475673/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250181"
    },
    "phid": "PHID-DIFF-odlkyhjhgoc3umr6rnsv",
    "review_task_id": "Pvt1AUj9QJa4JGH92tIIyQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "0897b3b4fa4d706505cf3306b71e27151d728561",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1038385/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T14:11:06.123540Z"
}