List and retrieve diffs with detailed revision information

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

{
    "id": 1051433,
    "revision": {
        "id": 477007,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "93d633f7ce3e3bc7a335c966c56ad08eea197acb",
        "head_changeset": "23b731e470c3c8ca5db4a776cda1f7d7ed5857ea",
        "phabricator_id": 251993,
        "phabricator_phid": "PHID-DREV-ns55km6riywmgzj75q4y",
        "title": "Bug 1969749 - Push aria-label to MozBaseInputElement. r=hjones",
        "bugzilla_id": 1969749,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477007/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477007/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D251993"
    },
    "phid": "PHID-DIFF-cjbt6vrjf42o3wk47dna",
    "review_task_id": "O0WcOu2CTVGoUtFzmrHz3w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "713f572b01d53c15a7506b9ca5c177020172c222",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1051433/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-02T21:51:29.732656Z"
}