List and retrieve diffs with detailed revision information

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

{
    "id": 1059478,
    "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-mlqkhleuvqz4fk2l23rt",
    "review_task_id": "H5MpzbMQTDa9Jho4pZlQig",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2348a95523e835defc5bd1cd4bce2fb97123124e",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059478/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T16:56:39.337737Z"
}