List and retrieve diffs with detailed revision information

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

{
    "id": 1075064,
    "revision": {
        "id": 487974,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "bedff7cb27c4f9b1b2ef732d12e7c4a813a55832",
        "head_changeset": "85dda1fbcdfe64dc44d2ac19928e617ae63e1026",
        "phabricator_id": 255432,
        "phabricator_phid": "PHID-DREV-xylm7ai5riu2rsyiwfds",
        "title": "Bug 1974302 - part 1 - Introduce new APIs to add and read a RegistrableDomainSpan r=#android-reviewers",
        "bugzilla_id": 1974302,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/487974/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/487974/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255432"
    },
    "phid": "PHID-DIFF-gnm3uo7qwxsa6frlvlmn",
    "review_task_id": "M3gc2saERHunr8ETjFMuJA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d8a0b93045c464a0709689b8a49d6e2ad1fd7dea",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075064/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-30T10:54:52.865263Z"
}