List and retrieve diffs with detailed revision information

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

{
    "id": 1055905,
    "revision": {
        "id": 477882,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "905d8d08941a80caad2ad06484df0d7d64d1d276",
        "head_changeset": "de66f52c19dc952fb40d5c01b4bbc7d61a109fe0",
        "phabricator_id": 253036,
        "phabricator_phid": "PHID-DREV-f7jvcanezc52ifwczufc",
        "title": "Bug 1971136: Add an add-remove-files action for mach vendoring r?maltejur",
        "bugzilla_id": 1971136,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477882/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477882/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253036"
    },
    "phid": "PHID-DIFF-ukcqhynlkvim7otqnzbc",
    "review_task_id": "EgLLZIbxTdW7-d7C_dQVVA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ec7dd0f9386b7264969358e61874b107a6eccf86",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055905/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T14:14:24.452230Z"
}