List and retrieve diffs with detailed revision information

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

{
    "id": 1032685,
    "revision": {
        "id": 472697,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "96ff656ce280cab86866b9169bef9fe982964d91",
        "head_changeset": "8a0d3e9418f75f2cea48402b0e8a7f1bcc6ddae9",
        "phabricator_id": 245762,
        "phabricator_phid": "PHID-DREV-hjw7fbjgjcyhpc4yktzt",
        "title": "WIP: Bug 1960941 - Update m-c gradle files to optionally work with a local app-services. r=android-reviewers",
        "bugzilla_id": 1960941,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/472697/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/472697/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D245762"
    },
    "phid": "PHID-DIFF-4ghlqz2icyb53cfrnksq",
    "review_task_id": "GoOrXsdLR423aNw9pt6qLQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "30c3ee6bd8bcf0277c2af4a1c435747508dc65d4",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1032685/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-13T19:46:22.213051Z"
}