# README
Go API client for aimastering
This is a AI Mastering API document. You can use the mastering feature of AI Mastering through this API.
Overview
This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.
- API version: 1.0.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.GoClientCodegen
Installation
Put the package under your project folder and add the following in import:
"./aimastering"
Documentation for API Endpoints
All URIs are relative to https://api.bakuage.com:443
Class | Method | HTTP request | Description |
---|---|---|---|
AccessTokenApi | CreateAccessToken | Post /access_tokens | Create an API access token. |
AmazonSubscriptionApi | ListAmazonSubscriptions | Get /amazon_subscriptions | Get all accessable amazon subscriptions. |
AudioApi | CreateAudio | Post /audios | Create a new audio. |
AudioApi | DownloadAudio | Get /audios/{id}/download | Download an audio data by id. |
AudioApi | DownloadAudioByToken | Get /audios/download_by_token | Download an audio data by audio_download_token. |
AudioApi | GetAudio | Get /audios/{id} | Get an audio by id. |
AudioApi | GetAudioAnalysis | Get /audios/{id}/analysis | Get an audio analysis by id. |
AudioApi | GetAudioDownloadToken | Get /audios/{id}/download_token | Get an audio download token by id. |
AudioApi | ListAudios | Get /audios | Get all audios accessable. |
ConfigApi | GetConfig | Get /config | Get config. |
ExternalSearchApi | SearchExternal | Get /external_search | Search external music and get name, url, thumbnails, etc. |
LibraryAudioApi | CreateLibraryAudio | Post /library_audios | Create a new library audio. |
LibraryAudioApi | CreateLibraryAudioLike | Post /library_audios/{id}/like | Create a new library audio like. |
LibraryAudioApi | DeleteLibraryAudio | Delete /library_audios/{id} | Delete library audio. |
LibraryAudioApi | GetLibraryAudio | Get /library_audios/{id} | Get a library audio by id. |
LibraryAudioApi | GetLibraryAudioAnalysis | Get /library_audios/{id}/analysis | Get a library audio analysis by id. |
LibraryAudioApi | ListLibraryAudios | Get /library_audios | Get all library audios accessable. |
LibraryAudioApi | UpdateLibraryAudio | Put /library_audios/{id} | Update library audio. |
MasteringApi | CancelMastering | Put /masterings/{id}/cancel | Cancel a mastering by id. |
MasteringApi | CreateMastering | Post /masterings | Create a new mastering. |
MasteringApi | DeleteMastering | Delete /masterings/{id} | Delete mastering. |
MasteringApi | FreeUnlockMastering | Put /masterings/{id}/free_unlock | Free unlock a mastering by id. |
MasteringApi | GetMastering | Get /masterings/{id} | Get a mastering by id. |
MasteringApi | GetMasteringUnlockProduct | Get /masterings/{id}/unlock_product | Review a mastering by id. |
MasteringApi | ListMasterings | Get /masterings | Get all accessable masterings. |
MasteringApi | PublishMastering | Post /masterings/{id}/publish | Publish a mastering by id. |
MasteringApi | ReviewMastering | Put /masterings/{id}/review | Review a mastering by id. |
MasteringApi | UpdateMastering | Put /masterings/{id} | Update a mastering. |
PaymentApi | CreatePayment | Post /payments | Create a new payment. |
PaymentApi | ExecutePayment | Put /payments/{id}/execute | Execute a payment by id. |
PaymentApi | GetPayment | Get /payments/{id} | Get a payment by id. |
PaymentApi | ListPayments | Get /payments | Get all accessable payments. |
PaymentCustomerApi | GetDefaultPaymentCustomer | Get /payment_customers/default | Get a default payment customer. |
PlanApi | ListPlans | Get /plans | Get all accessable plans. |
SpSubscriptionApi | CreateSpSubscription | Post /sp_subscriptions | Create a new smartphone subscription. |
SpSubscriptionApi | ListSpSubscriptions | Get /sp_subscriptions | Get all accessable smartphone subscriptions. |
StatisticsApi | GetGroupBuyStatistics | Get /statistics/group_buy | Get group buy statistics. |
StatisticsApi | ListAnonymizedMasterings | Get /statistics/anonymized_masterings | Get anonymized masterings. |
StatisticsApi | ListKpis | Get /statistics/kpis | Get KPIs. |
SubscriptionApi | CancelSubscription | Put /subscriptions/{id}/cancel | Cancel a subscription by id. |
SubscriptionApi | CancelSubscriptionCancellation | Put /subscriptions/{id}/cancel_cancellation | Cancel the subscription cancellation by id. |
SubscriptionApi | CreateSubscription | Post /subscriptions | Create a new subscription. |
SubscriptionApi | GetSubscription | Get /subscriptions/{id} | Get a subscription by id. |
SubscriptionApi | ListSubscriptions | Get /subscriptions | Get all accessable subscriptions. |
UserApi | GetSelf | Get /users/self | Get self user. |
UserApi | NotifyRegistration | Put /users/self/notify_registration | Notify user is registered. |
UserApi | SendInvitation | Post /users/self/send_invitation | Send invitation. |
UserApi | UpdateSelf | Put /users/self | Update self user. |
VideoApi | DownloadVideo | Get /videos/{id}/download | Download an video data by id. |
VideoApi | DownloadVideoByToken | Get /videos/download_by_token | Download an video data by video_download_token. |
VideoApi | GetVideo | Get /videos/{id} | Get an video by id. |
VideoApi | GetVideoDownloadToken | Get /videos/{id}/download_token | Get an video download token by id. |
VideoApi | ListVideos | Get /videos | Get all videos accessable. |
Documentation For Models
- AccessToken
- AmazonSubscription
- AnonymizedMastering
- Audio
- AudioAnalysis
- AudioDownloadToken
- Config
- ConfigAuth0
- ConfigPaypal
- ConfigStripe
- ConfigVersion
- ExternalSearchResult
- ExternalSearchResultItunes
- ExternalSearchResultYoutube
- GroupBuyStatistics
- Jwt
- Kpi
- LibraryAudio
- LibraryAudioAnalysis
- LibraryAudioLike
- Mastering
- Payment
- PaymentCustomer
- Plan
- SpSubscription
- Subscription
- User
- UserStatistics
- Video
- VideoDownloadToken
Documentation For Authorization
bearer
- Type: API key
Example
auth := context.WithValue(context.Background(), sw.ContextAPIKey, sw.APIKey{
Key: "APIKEY",
Prefix: "Bearer", // Omit if not necessary.
})
r, err := client.Service.Operation(auth, args)
Author
# Functions
CacheExpires helper function to determine remaining time before repeating a request.
NewAPIClient creates a new API client.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
ContextAccessToken takes a string oauth2 access token as authentication for the request.
ContextAPIKey takes an APIKey as authentication for the request.
ContextBasicAuth takes BasicAuth as authentication for the request.
ContextOAuth2 takes a oauth2.TokenSource as authentication for the request.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
APIClient manages communication with the AI Mastering API API v1.0.0 In most cases there should be only one, shared, APIClient.
APIKey provides API key based authentication to a request passed via context using ContextAPIKey.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth .
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author