List and retrieve diffs with detailed revision information

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

{
    "id": 1039047,
    "revision": {
        "id": 475637,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "93a2ac7984344f6e31434880898291f8034c35d1",
        "head_changeset": "385bf2bc6a6ee9ef3f34cec28dc98452773599d8",
        "phabricator_id": 250103,
        "phabricator_phid": "PHID-DREV-3nrjz6gjbv4pgqdmf3ne",
        "title": "Bug 1964496 - Migrate normandy heartbeat storage to use ProfileDatastoreService r?#nimbus-reviewers!,#profiles-reviewers!",
        "bugzilla_id": 1964496,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475637/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475637/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250103"
    },
    "phid": "PHID-DIFF-ulbpevwfucyoieqmkcud",
    "review_task_id": "AQhoXiMfTmCEkPNyfmjEXQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "037348a60c70ffa2e85f7234e5cb56fb331a53aa",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039047/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-20T21:08:59.083350Z"
}