List and retrieve diffs with detailed revision information

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

{
    "id": 1077279,
    "revision": {
        "id": 489961,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "66af8a0e03afc1f7464fa071b74dc0a5cb5e6ff2",
        "head_changeset": "a3d692c961e48500ef0d1db9280b4af14355bf67",
        "phabricator_id": 255929,
        "phabricator_phid": "PHID-DREV-rqs3ed54mrhn5n3txoiw",
        "title": "Bug 1975367 - remove EnigmailFuncs.sync() from message sending (take2). r=edicharry,kaie",
        "bugzilla_id": 1975367,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489961/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489961/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255929"
    },
    "phid": "PHID-DIFF-plkjcg3r6yov4gwcqls6",
    "review_task_id": "U4CvPi65T3O75RAS7CV22Q",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "a3d692c961e48500ef0d1db9280b4af14355bf67",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1077279/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-03T09:28:03.268872Z"
}