List and retrieve diffs with detailed revision information

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

{
    "id": 1108082,
    "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-etezj5opi5ryxygzveyn",
    "review_task_id": "cVdzQlO4QW6JdAxga6mEFQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "6586a4ce22fe88be40de041a6aa7652267d6bbd5",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1108082/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-19T19:17:56.038116Z"
}