List and retrieve diffs with detailed revision information

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

{
    "id": 1102465,
    "revision": {
        "id": 507520,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "62b93e0936e577dc3983b93027e7212a88bb0d38",
        "head_changeset": "c374baea903478e945fc93c3fbf09da486278f97",
        "phabricator_id": 260153,
        "phabricator_phid": "PHID-DREV-vtjmiw4nnsg6pxmigopm",
        "title": "WIP: Bug 1963720 - Part 1: Add the required metrics for the Terms of Use prompt.",
        "bugzilla_id": 1963720,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/507520/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/507520/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D260153"
    },
    "phid": "PHID-DIFF-ubr7grh46g27e3osett3",
    "review_task_id": "NYU4m2AmSTueyb_47E63pw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "f63e72e42e0e64f0a1b8a0f5a6c04d40c352fc30",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1102465/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-08-07T14:23:13.885444Z"
}