List and retrieve diffs with detailed revision information

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

{
    "id": 1074443,
    "revision": {
        "id": 487025,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "77cdea914d67530530978c6de15891fc8577ffbc",
        "head_changeset": "a38b3eb98cc0249ec2cd4addb3352a9e96d18d77",
        "phabricator_id": 255220,
        "phabricator_phid": "PHID-DREV-ozsgpvpwhvqdugywpzeg",
        "title": "Bug 1974315 - Part 2: Added comments to feature flag preference delegates so that their usage is clearer. r=gl",
        "bugzilla_id": 1974315,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/487025/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/487025/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255220"
    },
    "phid": "PHID-DIFF-yeos7utmrgc4blxbgkgr",
    "review_task_id": "MmIrMh4xQIqjzs0mvIjdIg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a38b3eb98cc0249ec2cd4addb3352a9e96d18d77",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1074443/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-27T17:08:29.348626Z"
}