List and retrieve diffs with detailed revision information

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

{
    "id": 1066093,
    "revision": {
        "id": 481535,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fddabb07caf1f02e7aa8992f47e55c5ce3a1231c",
        "head_changeset": "bfba11b61b7efc3f97f42cc1cfbece85f3a61e7b",
        "phabricator_id": 254219,
        "phabricator_phid": "PHID-DREV-yed62xa2kzjfzbalecov",
        "title": "WIP: Bug 1972688 Exclude built-in add-ons jar manifest if MOZ_BUILD_APP is set to \"browser/extensions\".",
        "bugzilla_id": 1972688,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/481535/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/481535/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D254219"
    },
    "phid": "PHID-DIFF-sfljf6ellhmuy7dwhkk4",
    "review_task_id": "GRRASDPdRw-QJz_uYZ3fHw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "448fc9b493e123945b1bb718721bcfbb93100491",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1066093/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-19T15:04:16.228264Z"
}