List and retrieve diffs with detailed revision information

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

{
    "id": 1038887,
    "revision": {
        "id": 475152,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8f18e2177eec322168d25c227965879e51e8091c",
        "head_changeset": "47323286b4cba67c96d45ce455e97ae3fde619b6",
        "phabricator_id": 249474,
        "phabricator_phid": "PHID-DREV-bowrklm2736qt4g7beze",
        "title": "WIP: Bug 1946971 - Implement multi selection in browser history panel. r?#sidebar-reviewers",
        "bugzilla_id": 1946971,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475152/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475152/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249474"
    },
    "phid": "PHID-DIFF-hiriz2ixq5wvjlybam32",
    "review_task_id": "BMkyBRxNTtCC31HaRk9s4A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ec3b1ee5d12472ef3c7995e24f4aa6bc960489fa",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1038887/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T19:21:33.949924Z"
}