Categorygithub.com/ai-mastering/aimastering-go
repositorypackage
0.0.0-20210818192317-8f949725bf61
Repository: https://github.com/ai-mastering/aimastering-go.git
Documentation: pkg.go.dev

# 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

ClassMethodHTTP requestDescription
AccessTokenApiCreateAccessTokenPost /access_tokensCreate an API access token.
AmazonSubscriptionApiListAmazonSubscriptionsGet /amazon_subscriptionsGet all accessable amazon subscriptions.
AudioApiCreateAudioPost /audiosCreate a new audio.
AudioApiDownloadAudioGet /audios/{id}/downloadDownload an audio data by id.
AudioApiDownloadAudioByTokenGet /audios/download_by_tokenDownload an audio data by audio_download_token.
AudioApiGetAudioGet /audios/{id}Get an audio by id.
AudioApiGetAudioAnalysisGet /audios/{id}/analysisGet an audio analysis by id.
AudioApiGetAudioDownloadTokenGet /audios/{id}/download_tokenGet an audio download token by id.
AudioApiListAudiosGet /audiosGet all audios accessable.
ConfigApiGetConfigGet /configGet config.
ExternalSearchApiSearchExternalGet /external_searchSearch external music and get name, url, thumbnails, etc.
LibraryAudioApiCreateLibraryAudioPost /library_audiosCreate a new library audio.
LibraryAudioApiCreateLibraryAudioLikePost /library_audios/{id}/likeCreate a new library audio like.
LibraryAudioApiDeleteLibraryAudioDelete /library_audios/{id}Delete library audio.
LibraryAudioApiGetLibraryAudioGet /library_audios/{id}Get a library audio by id.
LibraryAudioApiGetLibraryAudioAnalysisGet /library_audios/{id}/analysisGet a library audio analysis by id.
LibraryAudioApiListLibraryAudiosGet /library_audiosGet all library audios accessable.
LibraryAudioApiUpdateLibraryAudioPut /library_audios/{id}Update library audio.
MasteringApiCancelMasteringPut /masterings/{id}/cancelCancel a mastering by id.
MasteringApiCreateMasteringPost /masteringsCreate a new mastering.
MasteringApiDeleteMasteringDelete /masterings/{id}Delete mastering.
MasteringApiFreeUnlockMasteringPut /masterings/{id}/free_unlockFree unlock a mastering by id.
MasteringApiGetMasteringGet /masterings/{id}Get a mastering by id.
MasteringApiGetMasteringUnlockProductGet /masterings/{id}/unlock_productReview a mastering by id.
MasteringApiListMasteringsGet /masteringsGet all accessable masterings.
MasteringApiPublishMasteringPost /masterings/{id}/publishPublish a mastering by id.
MasteringApiReviewMasteringPut /masterings/{id}/reviewReview a mastering by id.
MasteringApiUpdateMasteringPut /masterings/{id}Update a mastering.
PaymentApiCreatePaymentPost /paymentsCreate a new payment.
PaymentApiExecutePaymentPut /payments/{id}/executeExecute a payment by id.
PaymentApiGetPaymentGet /payments/{id}Get a payment by id.
PaymentApiListPaymentsGet /paymentsGet all accessable payments.
PaymentCustomerApiGetDefaultPaymentCustomerGet /payment_customers/defaultGet a default payment customer.
PlanApiListPlansGet /plansGet all accessable plans.
SpSubscriptionApiCreateSpSubscriptionPost /sp_subscriptionsCreate a new smartphone subscription.
SpSubscriptionApiListSpSubscriptionsGet /sp_subscriptionsGet all accessable smartphone subscriptions.
StatisticsApiGetGroupBuyStatisticsGet /statistics/group_buyGet group buy statistics.
StatisticsApiListAnonymizedMasteringsGet /statistics/anonymized_masteringsGet anonymized masterings.
StatisticsApiListKpisGet /statistics/kpisGet KPIs.
SubscriptionApiCancelSubscriptionPut /subscriptions/{id}/cancelCancel a subscription by id.
SubscriptionApiCancelSubscriptionCancellationPut /subscriptions/{id}/cancel_cancellationCancel the subscription cancellation by id.
SubscriptionApiCreateSubscriptionPost /subscriptionsCreate a new subscription.
SubscriptionApiGetSubscriptionGet /subscriptions/{id}Get a subscription by id.
SubscriptionApiListSubscriptionsGet /subscriptionsGet all accessable subscriptions.
UserApiGetSelfGet /users/selfGet self user.
UserApiNotifyRegistrationPut /users/self/notify_registrationNotify user is registered.
UserApiSendInvitationPost /users/self/send_invitationSend invitation.
UserApiUpdateSelfPut /users/selfUpdate self user.
VideoApiDownloadVideoGet /videos/{id}/downloadDownload an video data by id.
VideoApiDownloadVideoByTokenGet /videos/download_by_tokenDownload an video data by video_download_token.
VideoApiGetVideoGet /videos/{id}Get an video by id.
VideoApiGetVideoDownloadTokenGet /videos/{id}/download_tokenGet an video download token by id.
VideoApiListVideosGet /videosGet all videos accessable.

Documentation For Models

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

[email protected]