List and retrieve diffs with detailed revision information

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

{
    "id": 1097700,
    "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-msz5g3cs4nwtyipqbcf7",
    "review_task_id": "IdXkUdIAQXuGhbeHbUQ48Q",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "d6890278659a1e8a7547adfa5340b92dc3fbbd81",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1097700/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-29T20:23:55.086709Z"
}