List and retrieve diffs with detailed revision information

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

{
    "id": 1076728,
    "revision": {
        "id": 489079,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "8cb342bd5b0ba7d9234a7502066ddb973fa46b4f",
        "head_changeset": "d2b95e2cbe31d2c9f4f03efe511fe2e890ef6de2",
        "phabricator_id": 255672,
        "phabricator_phid": "PHID-DREV-hrxf37h4z72r2qmy6zmj",
        "title": "WIP: Bug 1973228 - Cancel NewTab trainhop add-on install when the xpi is not system-signed.",
        "bugzilla_id": 1973228,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/489079/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/489079/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D255672"
    },
    "phid": "PHID-DIFF-nbht7qnzwvzand2lh6y7",
    "review_task_id": "KuRNB0D0TcmqBQbJJz9s9A",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "a9467cd183f3c2ba36ff7bcdc4859e78fe5accf2",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1076728/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-07-02T14:50:00.517867Z"
}