List and retrieve diffs with detailed revision information

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

{
    "id": 1039247,
    "revision": {
        "id": 475793,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "327aa1eaa276c313c05ed83174c06958ed788799",
        "head_changeset": "4583050944d2cd5178b6089b9a0b404fa8ecc786",
        "phabricator_id": 250363,
        "phabricator_phid": "PHID-DREV-rfw23t6qmsdr3fflpppc",
        "title": "Bug 1920429 - Use Opus packet duration when discarding padding in WebM.  r?#media-playback-reviewers",
        "bugzilla_id": 1920429,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475793/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475793/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250363"
    },
    "phid": "PHID-DIFF-erauxlp7rrdrbmrn7ekb",
    "review_task_id": "ax7juMSaTCK4TId6LNfuaw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4583050944d2cd5178b6089b9a0b404fa8ecc786",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039247/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T23:35:14.570581Z"
}