List and retrieve diffs with detailed revision information

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

{
    "id": 1088714,
    "revision": {
        "id": 497583,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "e197f18cacc4c4821521c17da640466658f04703",
        "head_changeset": "ae13259b7b9041296267931af48f5b8a052cb6d8",
        "phabricator_id": 257803,
        "phabricator_phid": "PHID-DREV-6esbjuur7ncyzxjuagdw",
        "title": "Bug 1964564 - Add documentation on how to use Gecko Profiler custom options action task. r?#perftest",
        "bugzilla_id": 1964564,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/497583/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/497583/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D257803"
    },
    "phid": "PHID-DIFF-rquaajfz7m5qbzi4fgsr",
    "review_task_id": "bFuoEipWQSC1KY4XBXftHw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "e3eb4d58d57b0a05cb7b07e9e9446ed12cbc7576",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1088714/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-18T15:30:30.041180Z"
}