List and retrieve diffs with detailed revision information

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

{
    "id": 1086064,
    "revision": {
        "id": 495462,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "260f2f8f64fec4094b17722ecfeb9dc3f392a23b",
        "head_changeset": "ff54d51e56d985d0984da5cef5d36ee666d1e429",
        "phabricator_id": 257194,
        "phabricator_phid": "PHID-DREV-znpyj2sgqtmhoo6psjud",
        "title": "Bug 1977283 - add cron task to generate test run data before Treeherder's weekly intermittent commenter runs. r=jmaher,jcristau",
        "bugzilla_id": 1977283,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495462/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495462/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257194"
    },
    "phid": "PHID-DIFF-p2ugies2g4dwazx5zury",
    "review_task_id": "HrbvNNLKR9SHeA5eacpoWg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ff54d51e56d985d0984da5cef5d36ee666d1e429",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086064/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-14T23:50:58.965981Z"
}