List and retrieve diffs with detailed revision information

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

{
    "id": 1055425,
    "revision": {
        "id": 477914,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "be7bf18c2aad59374f4c14ccebf0ff4ef376add4",
        "head_changeset": "397bce3ccfc6a8a8db10f3574afe100ef616b468",
        "phabricator_id": 253078,
        "phabricator_phid": "PHID-DREV-4tt4ibphhhkpqeauytew",
        "title": "Bug 1970015 - Force horizontal tabs when sidebar button is removed. r?#sidebar-reviewers",
        "bugzilla_id": 1970015,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477914/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477914/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253078"
    },
    "phid": "PHID-DIFF-evr6mzteilujp5rfwotz",
    "review_task_id": "EQAYipUQQKmJa98JSM4C1w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "397bce3ccfc6a8a8db10f3574afe100ef616b468",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1055425/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-09T21:02:37.538022Z"
}