List and retrieve diffs with detailed revision information

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

{
    "id": 1058508,
    "revision": {
        "id": 477136,
        "base_repository": "https://hg.mozilla.org/mozilla-unified",
        "head_repository": "https://hg.mozilla.org/try",
        "base_changeset": "0d93e18fc73f214f3bd6b3ebd6ef0e8209839c1c",
        "head_changeset": "55bec95436023baf29bee6627e0f47449c0ac771",
        "phabricator_id": 252207,
        "phabricator_phid": "PHID-DREV-k7wvohe4zxtv2s7y3xv6",
        "title": "Bug 1855690 - WIP Change invalidation path for inner dependencies of relative selectors. r=dshin",
        "bugzilla_id": 1855690,
        "diffs_url": "https://api.code-review.moz.tools/v1/revision/477136/diffs/?format=api",
        "issues_bulk_url": "https://api.code-review.moz.tools/v1/revision/477136/issues/?format=api",
        "phabricator_url": "https://phabricator.services.mozilla.com/D252207"
    },
    "phid": "PHID-DIFF-jvwi322677mv7odwnd6u",
    "review_task_id": "Y0ESiyqkQ3Gg2PgqnsM7Cw",
    "repository": {
        "id": 100,
        "slug": "try",
        "url": "https://hg.mozilla.org/try"
    },
    "mercurial_hash": "7d6b2837492d8f8162cc39c5481775d4636eb89d",
    "issues_url": "https://api.code-review.moz.tools/v1/diff/1058508/issues/?format=api",
    "nb_issues": 0,
    "nb_issues_publishable": 0,
    "nb_warnings": 0,
    "nb_errors": 0,
    "created": "2025-06-13T16:21:52.492605Z"
}