List and retrieve diffs with detailed revision information

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

{
    "id": 1078377,
    "revision": {
        "id": 491145,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "3e38108a54187158d845e22306763f651d529eb9",
        "head_changeset": "37c302b926bf1ff39decf4139edfd0b6e82d5bff",
        "phabricator_id": 256163,
        "phabricator_phid": "PHID-DREV-fyunnjoqjwgidrtxqykr",
        "title": "Bug 1975817 - Update irregexp to cd18df9b6cedf20cbf21a0fe713e42877a5c3d8a",
        "bugzilla_id": 1975817,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/491145/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/491145/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D256163"
    },
    "phid": "PHID-DIFF-3es7x23kq4qss7vknyvb",
    "review_task_id": "b69Mho69QseEneRe1tlPJg",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "37c302b926bf1ff39decf4139edfd0b6e82d5bff",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1078377/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-05T12:35:37.305449Z"
}