List and retrieve diffs with detailed revision information

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

{
    "id": 1039585,
    "revision": {
        "id": 475832,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "cbece9f35dd21393199e5a790dc7ed49576c9559",
        "head_changeset": "9168ca5b280f678ba4b2d9b5a30a6a65da906f36",
        "phabricator_id": 250404,
        "phabricator_phid": "PHID-DREV-x75cycyfq3543duwif4t",
        "title": "Bug 1967398 - Only show \"Add Search Engine\" on http and https pages. r?standard8",
        "bugzilla_id": 1967398,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475832/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475832/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D250404"
    },
    "phid": "PHID-DIFF-b7nalo3bpaamdtvc76xh",
    "review_task_id": "L0eniZbESsSD0PmmwyO3BQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "9168ca5b280f678ba4b2d9b5a30a6a65da906f36",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1039585/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-21T10:01:13.505649Z"
}