List and retrieve diffs with detailed revision information

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

{
    "id": 1075940,
    "revision": {
        "id": 488975,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3898392df5a6d18ee10fff62c672336a5640ee5f",
        "head_changeset": "c1a0683279afdfed618e55cc49dfff378097dd0b",
        "phabricator_id": 255636,
        "phabricator_phid": "PHID-DREV-xeqhwxezycxax27ohf7j",
        "title": "Bug 1974977 - allow badging non-native menu items with \"New\" r=emilio!",
        "bugzilla_id": 1974977,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488975/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488975/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255636"
    },
    "phid": "PHID-DIFF-nm54qs2v6nhdp5a7rnmk",
    "review_task_id": "MJ40m3MaSNmEFe-GM2eMfA",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c1a0683279afdfed618e55cc49dfff378097dd0b",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075940/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-01T12:32:48.015868Z"
}