List and retrieve diffs with detailed revision information

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

{
    "id": 1035357,
    "revision": {
        "id": 475357,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "36b6421f53d9375cd3b50c24b43b555f86284af8",
        "head_changeset": "54a4a0269dd979d1f88e6888c4defe54ef1f6ded",
        "phabricator_id": 249793,
        "phabricator_phid": "PHID-DREV-cqq6cxrc5taq72eh7r22",
        "title": "WIP: Bug 1966896 - Fix issue where opening a private tab from an external link does not trigger the auth lock due to appStore not being updated",
        "bugzilla_id": 1966896,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/475357/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/475357/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D249793"
    },
    "phid": "PHID-DIFF-ntker3cw7jtvqk5aosvg",
    "review_task_id": "GA0sigpBRFqrpEjJbjaUCw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "54a4a0269dd979d1f88e6888c4defe54ef1f6ded",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1035357/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-05-16T16:14:32.546922Z"
}