def METHOD_NAME(bucket):
    return {
        "id": bucket.id,
        "name": bucket.name,
        "organization": bucket.organization.id,
        "endpoint_url": _get_endpoint_url(bucket),
        "archive_sc": bucket.archive_sc,
        "live_sc": bucket.live_sc,
        "store_type": bucket.store_type.value,
        "external_host": bucket.external_host,
    }