List and retrieve diffs with detailed revision information

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

{
    "id": 1035551,
    "revision": {
        "id": 449536,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ca3ce1c36b37ef2cd0f060a079f5864f3fd89e96",
        "head_changeset": "69da24b05634b476f38a71f31189547eabc670cc",
        "phabricator_id": 216469,
        "phabricator_phid": "PHID-DREV-yqjfdbdjzf6rgsqocjxy",
        "title": "WIP: Bug 1827914 - Sync profiler state with shared bytecode",
        "bugzilla_id": 1827914,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/449536/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/449536/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D216469"
    },
    "phid": "PHID-DIFF-rx5eefgejsw6pfl6r6if",
    "review_task_id": "P7odnerCTtm5ngbGTWytFA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "2fe7e25e63a1656eb77d47a13981c7b0dc75fc47",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1035551/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-16T18:31:59.152319Z"
}