List and retrieve diffs with detailed revision information

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

{
    "id": 1056107,
    "revision": {
        "id": 477800,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "ed6c5931ea58e3a25a0fab37052dc44f01da7580",
        "head_changeset": "1813a0711e64e5f58d4ee3b1506748ed6e604c7c",
        "phabricator_id": 252948,
        "phabricator_phid": "PHID-DREV-2vygjl3g4qni4ofdjneq",
        "title": "WIP: Bug 1971025 - Catch build/compilation failures and report them on phabricator.",
        "bugzilla_id": 1971025,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477800/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477800/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252948"
    },
    "phid": "PHID-DIFF-b4iyhdtargxxjw2zwxbi",
    "review_task_id": "NbWSeswAT5qgNU9XhDPxfQ",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "65e9229c78cef411323de783a84d309fe58b4c05",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1056107/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-10T18:32:11.585085Z"
}