List and retrieve diffs with detailed revision information

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

{
    "id": 1059187,
    "revision": {
        "id": 479667,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "892e8c91bc4496f0e2879ec2e9d57dc206d53a7d",
        "head_changeset": "73cf60949ee9a41473fb5dc52eaff08707bf386a",
        "phabricator_id": 253806,
        "phabricator_phid": "PHID-DREV-ewkpe76gjts26pko4ntk",
        "title": "Bug 1970739 - Part 1: Update MessageNotificationWorker to fetch and apply Nimbus experiments before attempting to get the next message.",
        "bugzilla_id": 1970739,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/479667/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/479667/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253806"
    },
    "phid": "PHID-DIFF-nz7utwi33ytkuvomp4e6",
    "review_task_id": "ZCINlIQnTjOi-tBSTGe02g",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "b5ff6401585f41eb3e139bf968f4d5b0a5887a9a",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1059187/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-16T12:14:30.158669Z"
}