List and retrieve diffs with detailed revision information

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

{
    "id": 1049515,
    "revision": {
        "id": 476817,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cb8ee30c819d5f13ec7c7bc01d0866d6a9441992",
        "head_changeset": "214d8173e64beca76206823e4b7ae907d11a22c4",
        "phabricator_id": 251765,
        "phabricator_phid": "PHID-DREV-ekqo4k2rww2j6fklyebh",
        "title": "Bug 1956634 - Fix sidebar tests when clear search button is enabled. r=#sidebar-reviewers",
        "bugzilla_id": 1956634,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476817/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476817/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251765"
    },
    "phid": "PHID-DIFF-wi7hniv6pu76j7ch5fkt",
    "review_task_id": "Dd3YFUnQR7KNFFpp4HIcVQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "214d8173e64beca76206823e4b7ae907d11a22c4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049515/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T20:43:20.775873Z"
}