List and retrieve diffs with detailed revision information

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

{
    "id": 1052786,
    "revision": {
        "id": 477298,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "a8c2b927c52c243ae4128be09b609feeb7201814",
        "head_changeset": "7b0e3039581a8b771ca6c1e6a47b48d06ec3bc41",
        "phabricator_id": 250540,
        "phabricator_phid": "PHID-DREV-cozbd62raitgtwkrrqun",
        "title": "Bug 1963552 - Add interaction cue in vertical and horizontal tabstrips to indicate its a pinnable area r=#sidebar-reviewers,#tabbrowser-reviewers",
        "bugzilla_id": 1963552,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477298/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477298/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250540"
    },
    "phid": "PHID-DIFF-db76aecqmkfer2vffanu",
    "review_task_id": "Hcv5glP9RA-lSFbSuOQDNA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "13be9b676368400a04f6c0b80f7065aa774e242b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1052786/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-04T15:36:21.987300Z"
}