List and retrieve diffs with detailed revision information

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

{
    "id": 1049127,
    "revision": {
        "id": 476742,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "42f6c1ae97301de6d50fe01b02883c80d3fbe785",
        "head_changeset": "ef482baeeebd1ac86f3270a31f469779a7b4c583",
        "phabricator_id": 251691,
        "phabricator_phid": "PHID-DREV-wuyncvsz34lg6mvfvglx",
        "title": "Bug 1955112 [Wayland] Terminate buggy unfinished D&D operation as DragDrop r?emilio",
        "bugzilla_id": 1955112,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/476742/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/476742/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251691"
    },
    "phid": "PHID-DIFF-r5syqti2awn7ngws6fhj",
    "review_task_id": "U_hVKMDQSVeo8fuKQJ1SRA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "ef482baeeebd1ac86f3270a31f469779a7b4c583",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1049127/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-29T11:18:12.134545Z"
}