List and retrieve diffs with detailed revision information

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

{
    "id": 1086713,
    "revision": {
        "id": 495996,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3273f6172a0cd8050aab837aeb799c7f6efbb13b",
        "head_changeset": "8995bbeb18099a814e60f5192f732d9eacfc3efd",
        "phabricator_id": 257386,
        "phabricator_phid": "PHID-DREV-usehdz5lumcznsh4vjnl",
        "title": "Bug 1976459 - Add description when user is signed in",
        "bugzilla_id": 1976459,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/495996/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/495996/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257386"
    },
    "phid": "PHID-DIFF-p7ogrdijxz4ad4kg7erz",
    "review_task_id": "aWXrfhe5RcelZBprjAacGg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "8995bbeb18099a814e60f5192f732d9eacfc3efd",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1086713/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-15T21:39:37.289977Z"
}