List and retrieve diffs with detailed revision information

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

{
    "id": 1075041,
    "revision": {
        "id": 488143,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "20752a132d3ef0a638ba66e1dc16a812c13e7ead",
        "head_changeset": "b6aaeec3aa332f125ee18c51de17097032cdf6cd",
        "phabricator_id": 255469,
        "phabricator_phid": "PHID-DREV-maq465ggmu6qzwpgt2wu",
        "title": "Bug 1974699 - Improve RemoteSettingsClient.db/.attachments type handling to work better with TypeScript. r?acottner!",
        "bugzilla_id": 1974699,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/488143/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/488143/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255469"
    },
    "phid": "PHID-DIFF-h5hvaqinlvarliqyuvpb",
    "review_task_id": "dntG4v6gQhGx4QvvqUU_9A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b6aaeec3aa332f125ee18c51de17097032cdf6cd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1075041/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-30T10:02:01.678341Z"
}