List and retrieve diffs with detailed revision information

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

{
    "id": 1075053,
    "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-xqgdx3cy2wxsdnb4u5ud",
    "review_task_id": "QXIaRBcYQYGZlSQ7HuLeBg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "3d254416f46064657fff389ea5cba5bbd739efaf",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075053/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-30T10:50:46.935683Z"
}