List and retrieve diffs with detailed revision information

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

{
    "id": 1079324,
    "revision": {
        "id": 492017,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "d2206a87a076c392cc656789b5936f8c5726d763",
        "head_changeset": "18f110ad2ab1c7be08d568e5049bdf3728c0fe6a",
        "phabricator_id": 256416,
        "phabricator_phid": "PHID-DREV-3gqkob6yfoosomgoa2no",
        "title": "WIP: Bug 1976162 - pt 4. Refactor TypeBaseAlloc's free list check",
        "bugzilla_id": 1976162,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/492017/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/492017/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256416"
    },
    "phid": "PHID-DIFF-thvfrmtk3546htz6xtuo",
    "review_task_id": "EjPjFqh3Q8WQB48jf44M7Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "18f110ad2ab1c7be08d568e5049bdf3728c0fe6a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1079324/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-08T10:12:12.659233Z"
}