List and retrieve diffs with detailed revision information

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

{
    "id": 1039377,
    "revision": {
        "id": 475806,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "aef00c2601f2f7e95c6532cc1bff92ebadf6b925",
        "head_changeset": "18e12d9a44178ed2d4ade76399dc6d9b2e1aae6f",
        "phabricator_id": 250371,
        "phabricator_phid": "PHID-DREV-kgunj4abenz43ms2c6pg",
        "title": "Bug 1805365 - Allow wav files distributed within mp2 containers to retain an .mp2 extension when saving to disk.",
        "bugzilla_id": 1805365,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475806/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475806/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250371"
    },
    "phid": "PHID-DIFF-qvx5vqhswr4abhrumeel",
    "review_task_id": "LrVBja0eRRuqHg4rQWjagw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "18e12d9a44178ed2d4ade76399dc6d9b2e1aae6f",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039377/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T01:00:29.795445Z"
}