List and retrieve diffs with detailed revision information

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

{
    "id": 1063641,
    "revision": {
        "id": 477205,
        "base_repository": "https://hg.mozilla.org/comm-unified",
        "head_repository": "https://hg.mozilla.org/try-comm-central",
        "base_changeset": "4c9f6f0ebc07b599a96a031c32139681e7c9390e",
        "head_changeset": "4b1ae1a9b07a44c94ba9a6bc41cec70b2d0a452d",
        "phabricator_id": 252288,
        "phabricator_phid": "PHID-DREV-7unf2hhirnp7agtlccwi",
        "title": "WIP: Bug 1970018 - Implement PerFolderDatabase message delete functions.",
        "bugzilla_id": 1970018,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477205/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477205/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252288"
    },
    "phid": "PHID-DIFF-noltzrgjvf7axhrlk4gj",
    "review_task_id": "ZqblzdkVQQayLMHzacOKig",
    "repository": {
        "id": 1002,
        "slug": "try-comm-central",
        "url": "https://hg.mozilla.org/try-comm-central"
    },
    "mercurial_hash": "aeb0ae59a5fd72e8b52599a83a4a4891f9a6a80d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1063641/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-17T00:50:32.893736Z"
}