List and retrieve diffs with detailed revision information

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

{
    "id": 1094482,
    "revision": {
        "id": 497583,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e197f18cacc4c4821521c17da640466658f04703",
        "head_changeset": "ae13259b7b9041296267931af48f5b8a052cb6d8",
        "phabricator_id": 257803,
        "phabricator_phid": "PHID-DREV-6esbjuur7ncyzxjuagdw",
        "title": "Bug 1964564 - Add documentation on how to use Gecko Profiler custom options action task. r?#perftest",
        "bugzilla_id": 1964564,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497583/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497583/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257803"
    },
    "phid": "PHID-DIFF-g75lkjf5t6rffzs5p4we",
    "review_task_id": "KuN84RIATh-ZIw5td9fKjw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "afc5731369d479f56e9dcc990d025a2f216bbc3f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1094482/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-23T17:16:02.296159Z"
}