List and retrieve diffs with detailed revision information

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

{
    "id": 1103038,
    "revision": {
        "id": 503604,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "2dd2f21b23d8bf63ac60cfe61074206fdb761d90",
        "head_changeset": "5f2201b1ce88ba07a247afb6734388ae66fedcf8",
        "phabricator_id": 259164,
        "phabricator_phid": "PHID-DREV-e7yj2kqfc5njwzfwsrtn",
        "title": "WIP: Bug 1979341: Create and show a skeleton of a dialog",
        "bugzilla_id": 1979341,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/503604/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/503604/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D259164"
    },
    "phid": "PHID-DIFF-2y2lvcz3pbs55m6yzvlj",
    "review_task_id": "B2L-dOKgSKSGTewv4J02Sg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "330587e201e8610e33ed4af42c817d5a8ddfb457",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1103038/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-08T05:33:32.898567Z"
}