List and retrieve diffs with detailed revision information

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

{
    "id": 1098405,
    "revision": {
        "id": 502705,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0d7bd639b7a223d20ffbbe6c8b7b14055c50950f",
        "head_changeset": "1c5d32c74eef8fbc0b23e3cf7a58a32beee103d0",
        "phabricator_id": 258780,
        "phabricator_phid": "PHID-DREV-3qcesqmpeoghx3iokz3e",
        "title": "WIP: Bug 694856 - Replace SelectionUtils logic with looksLikeUrl and looksLikeOrigin from UrlUtils, and move relevant test from general to contextMenu test directory",
        "bugzilla_id": 694856,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/502705/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/502705/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D258780"
    },
    "phid": "PHID-DIFF-hwts76vz3j44iuvi72hy",
    "review_task_id": "UExlCkELQcKagcRV5vS4Rw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a0985fe567dd3f00f2f1faec117c583f83e334fe",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1098405/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-30T19:41:30.731278Z"
}