List and retrieve diffs with detailed revision information

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

{
    "id": 1052490,
    "revision": {
        "id": 477368,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8601a421f07db8a4debec48324f163b8c78d2de6",
        "head_changeset": "42df6852328ce55d706ea2fbd4eacfb0696dfea2",
        "phabricator_id": 252454,
        "phabricator_phid": "PHID-DREV-dlnbzvk2rbvqe7ljd5d3",
        "title": "Bug 1969832 - Don't return an error when starting geolocation request even if application is inactive. r=#geckoview-reviewers",
        "bugzilla_id": 1969832,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477368/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477368/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252454"
    },
    "phid": "PHID-DIFF-egxgtkv67pu5lucurntj",
    "review_task_id": "doYD-YIiS6OFDadqyjUapw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "42df6852328ce55d706ea2fbd4eacfb0696dfea2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052490/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T09:18:08.885927Z"
}