All URIs are relative to https://api.bakuage.com:443
| Method | HTTP request | Description |
|---|---|---|
| list_plans | GET /plans | Get all accessable plans. |
Array<Plan> list_plans
Get all accessable plans.
# load the gem
require 'aimastering'
# setup authorization
Aimastering.configure do |config|
# Configure API key authorization: bearer
config.api_key['Authorization'] = 'YOUR API KEY'
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
#config.api_key_prefix['Authorization'] = 'Bearer'
end
api_instance = Aimastering::PlanApi.new
begin
#Get all accessable plans.
result = api_instance.list_plans
p result
rescue Aimastering::ApiError => e
puts "Exception when calling PlanApi->list_plans: #{e}"
endThis endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json