List and retrieve diffs with detailed revision information

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

{
    "id": 1057878,
    "revision": {
        "id": 477952,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "fa0c4475fa1615fcc0a014f8069604279605424f",
        "head_changeset": "dc7aa6e55bec5c9fc0a8a7764d70439342b8ffb5",
        "phabricator_id": 253120,
        "phabricator_phid": "PHID-DREV-f6d24tkmlzdn4qscebo2",
        "title": "WIP: Bug 1970649 - Fenix: Add allow-list checkboxes to ETP strict and custom sections in about:preferences#privacy r?#anti-tracking!",
        "bugzilla_id": 1970649,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477952/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477952/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D253120"
    },
    "phid": "PHID-DIFF-fj4gfwgcmdn4463qg7oo",
    "review_task_id": "JrborUXSSc2rI0oNQfdC2w",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "4859531c3256b7a155d0cbf98da4cda54fb3df04",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1057878/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-12T20:58:06.701358Z"
}