List and retrieve diffs with detailed revision information

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

{
    "id": 1098462,
    "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-mcezc7mkccagu4xnhlc5",
    "review_task_id": "P-fM6WR0RpOwBfOD8K1l2w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "c919a11d478f55eb1fd2b99df03f52a524d1d448",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1098462/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-30T21:27:04.025390Z"
}