List and retrieve diffs with detailed revision information

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

{
    "id": 1079323,
    "revision": {
        "id": 492021,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d2206a87a076c392cc656789b5936f8c5726d763",
        "head_changeset": "e3b8d9cb8f656d95cd2b0259e3a39b5dd9fc1af4",
        "phabricator_id": 256415,
        "phabricator_phid": "PHID-DREV-6ql2pukyyfbwxojcd2hf",
        "title": "WIP: Bug 1976162 - pt 3. Rename BaseAlloc member variables",
        "bugzilla_id": 1976162,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492021/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492021/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256415"
    },
    "phid": "PHID-DIFF-qfyjoomdb53e6bffw37s",
    "review_task_id": "Lef3Qpq_Svm9L8Uxft_VZg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e3b8d9cb8f656d95cd2b0259e3a39b5dd9fc1af4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079323/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T10:15:15.118142Z"
}