List and retrieve diffs with detailed revision information

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

{
    "id": 1050052,
    "revision": {
        "id": 475937,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "c0c0c3588a1771997e37983e257c85b8e3eb9e88",
        "head_changeset": "b8e74cb672c556a94757a6e5ad0c297d1628a5a9",
        "phabricator_id": 250538,
        "phabricator_phid": "PHID-DREV-iekf2rygqrkjwjfprj4h",
        "title": "Bug 1932944 - Make Manage Profiles sticky in the profiles panel r?#profiles-reviewers",
        "bugzilla_id": 1932944,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475937/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475937/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250538"
    },
    "phid": "PHID-DIFF-2vw42ye22ihbfz7vytsa",
    "review_task_id": "F1aNb-8kQKOZdAispOqDMw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "1cacf12ead6643ea90f9de20a9bf4d2e8191b6e8",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1050052/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T16:31:11.129035Z"
}