List and retrieve diffs with detailed revision information

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

{
    "id": 1070892,
    "revision": {
        "id": 480333,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "14e5b36ad8a7f16ea66497a6ec5fc3c4d3312270",
        "head_changeset": "b49ae059c90f16b750fa28e88021733b2228e344",
        "phabricator_id": 253935,
        "phabricator_phid": "PHID-DREV-rsps7lduxfjzxpxdvqzr",
        "title": "Bug 1971161 [Wayland] Refresh monitor setup on wp_color_management_output_v1::image_description_changed signal r?emilio",
        "bugzilla_id": 1971161,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/480333/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/480333/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253935"
    },
    "phid": "PHID-DIFF-lfqjxf2dwdgvj7cd4dqo",
    "review_task_id": "Dihqp0pzSAqFgLVPlwWpQQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "674b1fd553b162aad002967c008babde7acee49d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1070892/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-23T18:58:37.361038Z"
}