List and retrieve diffs with detailed revision information

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

{
    "id": 1110566,
    "revision": {
        "id": 459683,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c4fedd1a7cb44e10c24478b89acf9a96d40e1c8e",
        "head_changeset": "8b25a447bac3d7c73195e8a3a31e4cb8a5c33c14",
        "phabricator_id": 239681,
        "phabricator_phid": "PHID-DREV-alz2o2ywz4ho5mglzi33",
        "title": "Bug 1937920 - Create BEGIN_CALLBACK_TEST to allow using CHECK* macros in callbacks. r=jonco",
        "bugzilla_id": 1937920,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/459683/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/459683/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D239681"
    },
    "phid": "PHID-DIFF-xfjzwc2zxs5bdnrbhjzm",
    "review_task_id": "HNUqVX-xR8SImfdqHtOEBA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b401a5cb5ab5861b3d6f2ea83bc725c27b72d050",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1110566/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-23T00:01:08.368348Z"
}