# casdoor\PricingApi All URIs are relative to *http://localhost* Method | HTTP request | Description ------------- | ------------- | ------------- [**add_pricing**](PricingApi.md#add_pricing) | **POST** /api/add-pricing | [**delete_pricing**](PricingApi.md#delete_pricing) | **POST** /api/delete-pricing | [**get_pricing**](PricingApi.md#get_pricing) | **GET** /api/get-pricing | [**get_pricings**](PricingApi.md#get_pricings) | **GET** /api/get-pricings | [**update_pricing**](PricingApi.md#update_pricing) | **POST** /api/update-pricing | ## add_pricing > models::ControllersResponse add_pricing(body) add pricing ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **body** | [**Pricing**](Pricing.md) | The details of the pricing | [required] | ### Return type [**models::ControllersResponse**](controllers.Response.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: */* [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## delete_pricing > models::ControllersResponse delete_pricing(body) delete pricing ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **body** | [**Pricing**](Pricing.md) | The details of the pricing | [required] | ### Return type [**models::ControllersResponse**](controllers.Response.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: */* [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## get_pricing > models::Pricing get_pricing(id) get pricing ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **id** | **String** | The id ( owner/name ) of the pricing | [required] | ### Return type [**models::Pricing**](object.Pricing.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: */* [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## get_pricings > Vec get_pricings(owner) get pricings ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **owner** | **String** | The owner of pricings | [required] | ### Return type [**Vec**](object.Pricing.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: */* [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## update_pricing > models::ControllersResponse update_pricing(id, body) update pricing ### Parameters Name | Type | Description | Required | Notes ------------- | ------------- | ------------- | ------------- | ------------- **id** | **String** | The id ( owner/name ) of the pricing | [required] | **body** | [**Pricing**](Pricing.md) | The details of the pricing | [required] | ### Return type [**models::ControllersResponse**](controllers.Response.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: */* [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)