List and retrieve diffs with detailed revision information

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

{
    "id": 1075410,
    "revision": {
        "id": 481580,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fddabb07caf1f02e7aa8992f47e55c5ce3a1231c",
        "head_changeset": "74b83cef567081431da48b9b90cf60471c7d9ae8",
        "phabricator_id": 254226,
        "phabricator_phid": "PHID-DREV-adnanmwetl6dgjchlq76",
        "title": "Bug 1972836 - Migrate 'main' ping session info to Glean r?TravisLong",
        "bugzilla_id": 1972836,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/481580/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/481580/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254226"
    },
    "phid": "PHID-DIFF-hx447u3lep3k7rrzs63v",
    "review_task_id": "f2LjJfuKTS6LXbVhr6mjhA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "fed73087ffa9ab62b7e97148fa6ecac7970e0e3b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075410/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-30T19:19:16.349069Z"
}