List and retrieve diffs with detailed revision information

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

{
    "id": 1054445,
    "revision": {
        "id": 477450,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "774b6052104b229ec15bd70c9c6fc69bd0d9426b",
        "head_changeset": "f611335c0dba1dc3112ad4606ed88a2c96c9e999",
        "phabricator_id": 252541,
        "phabricator_phid": "PHID-DREV-vqoufahpsmehf7fnmo3u",
        "title": "Bug 1970373 - Add available_semantic_sources property to abandonment and engagement",
        "bugzilla_id": 1970373,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477450/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477450/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252541"
    },
    "phid": "PHID-DIFF-zrxkidsz3dwmarcyf5qj",
    "review_task_id": "Y9_hXaTKRjSA4HnQz1y-4w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ec1d7a54c8f7399c97b7f544c654107c4f2372f3",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1054445/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-06T16:30:34.703138Z"
}