List and retrieve diffs with detailed revision information

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

{
    "id": 1049744,
    "revision": {
        "id": 476858,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "273b7efffbe78e3353ffd01c48162a524b2747ba",
        "head_changeset": "34d2c2bec4621c91f0ef9f5249b6dd2a8ae2a8b4",
        "phabricator_id": 251705,
        "phabricator_phid": "PHID-DREV-kyfd7nzsj27dyao7js3v",
        "title": "Bug 1969209 - Replace FenixRobolectricTestRunner with RobolectricTestRunner.",
        "bugzilla_id": 1969209,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476858/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476858/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251705"
    },
    "phid": "PHID-DIFF-itmspezsyqqjjbvmeywf",
    "review_task_id": "YXuTS0ILTOCmJ5jymOs-Ug",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "34d2c2bec4621c91f0ef9f5249b6dd2a8ae2a8b4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049744/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-30T07:34:40.004173Z"
}