cyberwave.rest.FeaturesApi
All URIs are relative to http://localhost| Method | HTTP request | Description |
|---|---|---|
| src_app_api_features_delete_user_feature | DELETE /api/v1/features/admin/users/{user_uuid}/{feature} | Delete User Feature |
| src_app_api_features_disable_org_feature | POST /api/v1/features/admin/organizations/disable | Disable Org Feature |
| src_app_api_features_enable_org_feature | POST /api/v1/features/admin/organizations/enable | Enable Org Feature |
| src_app_api_features_get_available_features | GET /api/v1/features/available | Get Available Features |
| src_app_api_features_get_my_features | GET /api/v1/features/my-features | Get My Features |
| src_app_api_features_grant_user_feature | POST /api/v1/features/admin/users/grant | Grant User Feature |
| src_app_api_features_list_org_features | GET /api/v1/features/admin/organizations | List Org Features |
| src_app_api_features_list_user_features | GET /api/v1/features/admin/users | List User Features |
| src_app_api_features_revoke_user_feature | POST /api/v1/features/admin/users/revoke | Revoke User Feature |
| src_app_api_features_search_users | GET /api/v1/features/admin/users/search | Search Users |
src_app_api_features_delete_user_feature
src_app_api_features_delete_user_feature(user_uuid, feature)Delete User Feature Delete a user’s feature flag entirely (user falls back to org-level access). Staff only.
Example
- Api Key Authentication (CustomTokenAuthentication):
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| user_uuid | str | ||
| feature | str |
Return type
void (empty response body)Authorization
CustomTokenAuthenticationHTTP request headers
- Content-Type: Not defined
- Accept: Not defined
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
src_app_api_features_disable_org_feature
src_app_api_features_disable_org_feature(enable_org_feature_request)Disable Org Feature Disable a feature for an organization. Staff can disable for any org, org owners/admins can disable for their own org.
Example
- Api Key Authentication (CustomTokenAuthentication):
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| enable_org_feature_request | EnableOrgFeatureRequest |
Return type
void (empty response body)Authorization
CustomTokenAuthenticationHTTP request headers
- Content-Type: application/json
- Accept: Not defined
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
src_app_api_features_enable_org_feature
OrgFeatureSchema src_app_api_features_enable_org_feature(enable_org_feature_request)Enable Org Feature Enable a feature for an organization. Staff can enable for any org, org owners/admins can enable for their own org.
Example
- Api Key Authentication (CustomTokenAuthentication):
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| enable_org_feature_request | EnableOrgFeatureRequest |
Return type
OrgFeatureSchemaAuthorization
CustomTokenAuthenticationHTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
src_app_api_features_get_available_features
AvailableFeaturesSchema src_app_api_features_get_available_features()Get Available Features Get list of all available features with metadata.
Example
Parameters
This endpoint does not need any parameter.Return type
AvailableFeaturesSchemaAuthorization
No authorization requiredHTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
src_app_api_features_get_my_features
MyFeaturesResponseSchema src_app_api_features_get_my_features()Get My Features Get all features and their status for the current user.
Example
- Api Key Authentication (CustomTokenAuthentication):
Parameters
This endpoint does not need any parameter.Return type
MyFeaturesResponseSchemaAuthorization
CustomTokenAuthenticationHTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
src_app_api_features_grant_user_feature
UserFeatureSchema src_app_api_features_grant_user_feature(grant_user_feature_request)Grant User Feature Grant a feature to a specific user. Staff only.
Example
- Api Key Authentication (CustomTokenAuthentication):
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| grant_user_feature_request | GrantUserFeatureRequest |
Return type
UserFeatureSchemaAuthorization
CustomTokenAuthenticationHTTP request headers
- Content-Type: application/json
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
src_app_api_features_list_org_features
List[OrgFeatureSchema] src_app_api_features_list_org_features(feature=feature)List Org Features List all organization-level feature flags. Staff only.
Example
- Api Key Authentication (CustomTokenAuthentication):
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| feature | str | [optional] |
Return type
List[OrgFeatureSchema]Authorization
CustomTokenAuthenticationHTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
src_app_api_features_list_user_features
List[UserFeatureSchema] src_app_api_features_list_user_features(feature=feature)List User Features List all user-level feature flags. Staff only.
Example
- Api Key Authentication (CustomTokenAuthentication):
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| feature | str | [optional] |
Return type
List[UserFeatureSchema]Authorization
CustomTokenAuthenticationHTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
src_app_api_features_revoke_user_feature
src_app_api_features_revoke_user_feature(revoke_user_feature_request)Revoke User Feature Revoke a feature from a specific user. Staff only.
Example
- Api Key Authentication (CustomTokenAuthentication):
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| revoke_user_feature_request | RevokeUserFeatureRequest |
Return type
void (empty response body)Authorization
CustomTokenAuthenticationHTTP request headers
- Content-Type: application/json
- Accept: Not defined
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
src_app_api_features_search_users
List[UserSearchResultSchema] src_app_api_features_search_users(q)Search Users Search users by email or name for granting features. Staff only.
Example
- Api Key Authentication (CustomTokenAuthentication):
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| q | str |
Return type
List[UserSearchResultSchema]Authorization
CustomTokenAuthenticationHTTP request headers
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |