clever-client
Advanced tools
Comparing version 0.2.15 to 0.2.16
@@ -1,2 +0,2 @@ | ||
var methods={swagger:"2.0",schemes:["http"],host:"api.clever-cloud.com",basePath:"/v2",paths:{"/application/environment":{post:{responses:{"default":{description:"updateEnv"}},parameters:[{name:"token",required:!1,"in":"query",type:"string"}]}},"/authorize":{post:{responses:{"default":{description:"authorize"}}}},"/cleverapps/{name}":{get:{responses:{"default":{description:"checkDomainAvailability"}},parameters:[{name:"name",required:!0,"in":"path",type:"string"}]}},"/coldstart":{get:{responses:{"default":{description:"coldStart"}}}},"/github":{get:{responses:{"default":{description:"startGithub"}}}},"/github/applications":{get:{responses:{"default":{description:"getGithubApplications"}}}},"/github/callback":{get:{responses:{"default":{description:"githubCallback"}},parameters:[{name:"Cookie",required:!1,"in":"header",type:"string"},{name:"code",required:!1,"in":"query",type:"string"},{name:"state",required:!1,"in":"query",type:"string"},{name:"error",required:!1,"in":"query",type:"string"},{name:"error_description",required:!1,"in":"query",type:"string"},{name:"error_uri",required:!1,"in":"query",type:"string"}]}},"/github/emails":{get:{responses:{"default":{description:"getGithubEmails"}}}},"/github/keys":{get:{responses:{"default":{description:"getGithubKeys"}}}},"/github/link":{"delete":{responses:{"default":{description:"unlinkGithub"}}},get:{responses:{"default":{description:"linkGithub"}},parameters:[{name:"transactionId",required:!1,"in":"query",type:"string"},{name:"redirectUrl",required:!1,"in":"query",type:"string"}]}},"/github/login":{get:{responses:{"default":{description:"githubLogin"}},parameters:[{name:"redirectUrl",required:!1,"in":"query",type:"string"},{name:"fromAuthorize",required:!1,"in":"query",type:"string"}]}},"/github/redeploy":{post:{responses:{"default":{description:"redeployApp"}},parameters:[{name:"User-Agent",required:!1,"in":"header",type:"string"},{name:"X-Github-Event",required:!1,"in":"header",type:"string"},{name:"X-Hub-Signature",required:!1,"in":"header",type:"string"}]}},"/github/signup":{get:{responses:{"default":{description:"githubSignup"}},parameters:[{name:"redirectUrl",required:!1,"in":"query",type:"string"},{name:"fromAuthorize",required:!1,"in":"query",type:"string"}]},post:{responses:{"default":{description:"finsihGithubSignup"}},parameters:[{name:"transactionId",required:!1,"in":"query",type:"string"},{name:"name",required:!1,"in":"query",type:"string"},{name:"otherId",required:!1,"in":"query",type:"string"},{name:"otherEmail",required:!1,"in":"query",type:"string"},{name:"password",required:!1,"in":"query",type:"string"},{name:"autoLink",required:!1,"in":"query",type:"string"},{name:"terms",required:!1,"in":"query",type:"string"}]}},"/github/username":{get:{responses:{"default":{description:"getGithubUsername"}}}},"/internal/applications/{appId}/env/{envName}":{put:{responses:{"default":{description:"addEnvToApp"}},parameters:[{name:"envName",required:!0,"in":"path",type:"string"},{name:"appId",required:!0,"in":"path",type:"string"}]}},"/internal/coupons":{post:{responses:{"default":{description:"createCoupon"}}}},"/internal/credentials":{post:{responses:{"default":{description:"createCredentials"}}}},"/internal/dropcounts/{ownerId}":{post:{responses:{"default":{description:"addDrops"}},parameters:[{name:"ownerId",required:!0,"in":"path",type:"string"}]}},"/internal/instances/{type}-{version}":{put:{responses:{"default":{description:"createInstance"}},parameters:[{name:"type",required:!0,"in":"path",type:"string"},{name:"version",required:!0,"in":"path",type:"integer"}]}},"/internal/invoices":{get:{responses:{"default":{description:"getInvoices"}},parameters:[{name:"owner",required:!1,"in":"query",type:"string"}]},post:{responses:{"default":{description:"createPendingInvoice"}}}},"/internal/invoices/fortransactions/{transId}":{post:{responses:{"default":{description:"createInvoiceForTransaction"}},parameters:[{name:"transId",required:!0,"in":"path",type:"string"}]}},"/internal/invoices/links":{get:{responses:{"default":{description:"getLinks"}},parameters:[{name:"before",required:!1,"in":"query",type:"long"}]}},"/internal/invoices/pdf":{get:{responses:{"default":{description:"getPdfInvoices"}},parameters:[{name:"from",required:!1,"in":"query",type:"long"},{name:"status",required:!1,"in":"query",type:"string"}]}},"/internal/invoices/{invId}":{get:{responses:{"default":{description:"getHtmlInvoice"}},parameters:[{name:"invId",required:!0,"in":"path",type:"string"}]}},"/internal/invoices/{invId}.pdf":{get:{responses:{"default":{description:"getPdfInvoice"}},parameters:[{name:"invId",required:!0,"in":"path",type:"string"}]}},"/internal/invoices/{invoice}/credit":{put:{responses:{"default":{description:"generateCreditNote"}},parameters:[{name:"invoice",required:!0,"in":"path",type:"string"}]}},"/internal/invoices/{invoice}/refund":{put:{responses:{"default":{description:"refundInvoice"}},parameters:[{name:"invoice",required:!0,"in":"path",type:"string"}]}},"/internal/organisations/{id}/addonproviders":{post:{responses:{"default":{description:"uploadManifest"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/internal/organisations/{id}/discount":{put:{responses:{"default":{description:"setDiscount"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/internal/packages":{post:{responses:{"default":{description:"createPackage"}}}},"/internal/packages/{packageId}":{"delete":{responses:{"default":{description:"deletePackage"}},parameters:[{name:"packageId",required:!0,"in":"path",type:"long"}]},put:{responses:{"default":{description:"editPackage"}},parameters:[{name:"packageId",required:!0,"in":"path",type:"long"}]}},"/internal/paymentplans":{post:{responses:{"default":{description:"createInternalPaymentPlan"}}}},"/internal/prices/{currency}":{put:{responses:{"default":{description:"setExchangeRate"}},parameters:[{name:"currency",required:!0,"in":"path",type:"string"}]}},"/internal/tokenforuser/{userId}":{get:{responses:{"default":{description:"createTokenAsUser"}},parameters:[{name:"userId",required:!0,"in":"path",type:"string"}]}},"/internal/users":{get:{responses:{"default":{description:"getUsers"}},parameters:[{name:"email",required:!1,"in":"query",type:"string"}]}},"/internal/users/{userId}/email":{get:{responses:{"default":{description:"getEmail"}},parameters:[{name:"userId",required:!0,"in":"path",type:"string"}]}},"/internal/users/{userId}/keys/{name}":{"delete":{responses:{"default":{description:"deleteSshKey"}},parameters:[{name:"name",required:!0,"in":"path",type:"string"},{name:"userId",required:!0,"in":"path",type:"string"}]}},"/invoice/external/{bid}":{post:{responses:{"default":{description:"updateInvoice"}},parameters:[{name:"bid",required:!0,"in":"path",type:"string"}]}},"/newsfeeds/blog":{get:{responses:{"default":{description:"getBlogFeed"}}}},"/newsfeeds/engineering":{get:{responses:{"default":{description:"getEngineeringFeed"}}}},"/oauth/access_token":{post:{responses:{"default":{description:"postAccessTokenRequest"}},parameters:[{name:"oauth_consumer_key",required:!1,"in":"query",type:"string"},{name:"oauth_token",required:!1,"in":"query",type:"string"},{name:"oauth_signature_method",required:!1,"in":"query",type:"string"},{name:"oauth_signature",required:!1,"in":"query",type:"string"},{name:"oauth_timestamp",required:!1,"in":"query",type:"string"},{name:"oauth_nonce",required:!1,"in":"query",type:"string"},{name:"oauth_version",required:!1,"in":"query",type:"string"},{name:"oauth_verifier",required:!1,"in":"query",type:"string"},{name:"oauth_callback",required:!1,"in":"query",type:"string"},{name:"oauth_token_secret",required:!1,"in":"query",type:"string"},{name:"oauth_callback_confirmed",required:!1,"in":"query",type:"string"}]}},"/oauth/authorize":{get:{responses:{"default":{description:"authorizeForm"}},parameters:[{name:"Cookie",required:!1,"in":"header",type:"string"},{name:"oauth_token",required:!1,"in":"query",type:"string"}]},post:{responses:{"default":{description:"authorizeToken"}},parameters:[{name:"Cookie",required:!1,"in":"header",type:"string"},{name:"almighty",required:!1,"in":"query",type:"string"},{name:"access_organisations",required:!1,"in":"query",type:"string"},{name:"manage_organisations",required:!1,"in":"query",type:"string"},{name:"manage_organisations_services",required:!1,"in":"query",type:"string"},{name:"manage_organisations_applications",required:!1,"in":"query",type:"string"},{name:"manage_organisations_members",required:!1,"in":"query",type:"string"},{name:"access_organisations_bills",required:!1,"in":"query",type:"string"},{name:"access_organisations_credit_count",required:!1,"in":"query",type:"string"},{name:"access_organisations_consumption_statistics",required:!1,"in":"query",type:"string"},{name:"access_personal_information",required:!1,"in":"query",type:"string"},{name:"manage_personal_information",required:!1,"in":"query",type:"string"},{name:"manage_ssh_keys",required:!1,"in":"query",type:"string"},{name:"manage_services",required:!1,"in":"query",type:"string"},{name:"manage_applications",required:!1,"in":"query",type:"string"},{name:"access_bills",required:!1,"in":"query",type:"string"},{name:"access_credit_count",required:!1,"in":"query",type:"string"},{name:"access_consumption_statistics",required:!1,"in":"query",type:"string"}]}},"/oauth/request_token":{post:{responses:{"default":{description:"postReqTokenRequest\npostReqTokenRequestQueryString"}},parameters:[{name:"oauth_consumer_key",required:!1,"in":"query",type:"string"},{name:"oauth_token",required:!1,"in":"query",type:"string"},{name:"oauth_signature_method",required:!1,"in":"query",type:"string"},{name:"oauth_signature",required:!1,"in":"query",type:"string"},{name:"oauth_timestamp",required:!1,"in":"query",type:"string"},{name:"oauth_nonce",required:!1,"in":"query",type:"string"},{name:"oauth_version",required:!1,"in":"query",type:"string"},{name:"oauth_verifier",required:!1,"in":"query",type:"string"},{name:"oauth_callback",required:!1,"in":"query",type:"string"},{name:"oauth_token_secret",required:!1,"in":"query",type:"string"},{name:"oauth_callback_confirmed",required:!1,"in":"query",type:"string"}]}},"/oauth/rights":{get:{responses:{"default":{description:"getAvailableRights"}}}},"/organisations":{get:{responses:{"default":{description:"getUserOrganisationss"}},parameters:[{name:"user",required:!1,"in":"query",type:"string"}]},post:{responses:{"default":{description:"createOrganisation"}}}},"/organisations/{id}":{"delete":{responses:{"default":{description:"deleteOrganisation"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getOrganisation"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"editOrganisation"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addonproviders":{get:{responses:{"default":{description:"getProvidersInfo"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"createProvider"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}":{get:{responses:{"default":{description:"getProviderInfo"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"updateProviderInfos"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/features":{get:{responses:{"default":{description:"getProviderFeatures"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"addProviderFeature"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/features/{featureId}":{"delete":{responses:{"default":{description:"deleteProviderFeature"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"},{name:"featureId",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/plans":{get:{responses:{"default":{description:"getProviderPlans"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"addProviderPlan"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/plans/{planId}":{"delete":{responses:{"default":{description:"deleteProviderPlan"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"planId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getProviderPlan"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"planId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"editProviderPlan"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"planId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/plans/{planId}/features/{featureName}":{"delete":{responses:{"default":{description:"deleteProviderPlanFeature"}},parameters:[{name:"featureName",required:!0,"in":"path",type:"string"},{name:"providerId",required:!0,"in":"path",type:"string"},{name:"planId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"editProviderPlanFeature"}},parameters:[{name:"featureName",required:!0,"in":"path",type:"string"},{name:"providerId",required:!0,"in":"path",type:"string"},{name:"planId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/tags":{get:{responses:{"default":{description:"getProviderTags"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/testers":{post:{responses:{"default":{description:"addBetaTester"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addons":{get:{responses:{"default":{description:"getAddons"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"provisionAddon"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}":{"delete":{responses:{"default":{description:"deprovisionAddon"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getAddon"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"updateAddonInfo"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/applications":{get:{responses:{"default":{description:"getApplicationsLinkedToAddon"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/env":{get:{responses:{"default":{description:"getAddonEnv"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/payment-method":{put:{responses:{"default":{description:"changePaymentMethod"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/plan":{put:{responses:{"default":{description:"changePlan"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/sso":{get:{responses:{"default":{description:"getSSOData"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/tags":{get:{responses:{"default":{description:"getAddonTags"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/tags/{tag}":{"delete":{responses:{"default":{description:"deleteAddonTag"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"tag",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"addAddonTag"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"tag",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications":{get:{responses:{"default":{description:"getAllApplications"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"addApplication"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}":{"delete":{responses:{"default":{description:"deleteApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"editApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/addons":{get:{responses:{"default":{description:"getAddonsLinkedToApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"linkAddonToApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/addons/env":{get:{responses:{"default":{description:"getEnvOfAddonsLinkedToApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/addons/{addonId}":{"delete":{responses:{"default":{description:"unlinkAddonFromApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/dependencies":{get:{responses:{"default":{description:"getApplicationDependencies"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/dependencies/{dependencyId}":{"delete":{responses:{"default":{description:"deleteApplicationDependency"}},parameters:[{name:"dependencyId",required:!0,"in":"path",type:"string"},{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"addApplicationDependency"}},parameters:[{name:"dependencyId",required:!0,"in":"path",type:"string"},{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/dependents":{get:{responses:{"default":{description:"getApplicationDependents"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/deployments":{get:{responses:{"default":{description:"getApplicationDeploymentsForOrga"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"},{name:"limit",required:!1,"in":"query",type:"string"},{name:"offset",required:!1,"in":"query",type:"string"},{name:"action",required:!1,"in":"query",type:"string"}]}},"/organisations/{id}/applications/{appId}/deployments/{deploymentId}/instances":{"delete":{responses:{"default":{description:"getApplicationDeploymentsForOrga"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"deploymentId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/env":{get:{responses:{"default":{description:"getApplicationEnv"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"editApplicationEnvironment"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/env/{envName}":{"delete":{responses:{"default":{description:"removeApplicationEnv"}},parameters:[{name:"envName",required:!0,"in":"path",type:"string"},{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"editApplicationEnv"}},parameters:[{name:"envName",required:!0,"in":"path",type:"string"},{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/instance":{put:{responses:{"default":{description:"changeApplicationType"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"},{name:"type",required:!1,"in":"query",type:"string"},{name:"version",required:!1,"in":"query",type:"integer"},{name:"variant",required:!1,"in":"query",type:"string"}]}},"/organisations/{id}/applications/{appId}/instances":{"delete":{responses:{"default":{description:"undeployApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getApplicationInstances"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"redeployApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"},{name:"commit",required:!1,"in":"query",type:"string"}]}},"/organisations/{id}/applications/{appId}/tags":{get:{responses:{"default":{description:"getApplicationTags"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/tags/{tag}":{"delete":{responses:{"default":{description:"deleteApplicationTag"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"},{name:"tag",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"addApplicationTag"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"},{name:"tag",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/vhosts":{get:{responses:{"default":{description:"getVhosts"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/vhosts/favourite":{"delete":{responses:{"default":{description:"unmarkFavouriteVhost"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getFavouriteVhost"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"markFavouriteVhost"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/vhosts/{domain}":{"delete":{responses:{"default":{description:"removeVhost"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"domain",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"addVhost"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"domain",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/avatar":{put:{responses:{"default":{description:"setOrgaAvatar\nsetOrgaAvatarFromSource"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/consumers":{get:{responses:{"default":{description:"getConsumers"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"createConsumer"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/consumers/{key}":{"delete":{responses:{"default":{description:"deleteConsumer"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"key",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getConsumer"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"key",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"updateConsumer"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"key",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/consumers/{key}/secret":{get:{responses:{"default":{description:"getConsumerSecret"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"key",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/consumptions":{get:{responses:{"default":{description:"getAmount"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"appId",required:!1,"in":"query",type:"string"},{name:"from",required:!1,"in":"query",type:"string"},{name:"to",required:!1,"in":"query",type:"string"}]}},"/organisations/{id}/credits":{get:{responses:{"default":{description:"getAmount"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/instances":{get:{responses:{"default":{description:"getInstancesForAllApps"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/members":{get:{responses:{"default":{description:"getOrganisationMembers"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"addOrganisationMember"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"invitationKey",required:!1,"in":"query",type:"string"}]}},"/organisations/{id}/members/{userId}":{"delete":{responses:{"default":{description:"removeOrganisationMember"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"userId",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"editOrganisationMember"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"userId",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/payment-info":{get:{responses:{"default":{description:"getPaymentInfo"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/payments/billings":{get:{responses:{"default":{description:"getInvoices"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"buyDrops"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/payments/billings/{bid}":{"delete":{responses:{"default":{description:"deletePurchaseOrder"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"bid",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getInvoice"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"bid",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"choosePaymentProvider"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"bid",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/payments/billings/{bid}.pdf":{get:{responses:{"default":{description:"getPdfInvoice"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"bid",required:!0,"in":"path",type:"string"},{name:"token",required:!1,"in":"query",type:"string"}]}},"/organisations/{id}/payments/fullprice/{price}":{get:{responses:{"default":{description:"priceWithTax"}},parameters:[{name:"price",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/payments/recurring":{"delete":{responses:{"default":{description:"deleteRecurrentPayment"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getRecurrentPayment"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"createRecurrentPayment"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/password_forgotten":{get:{responses:{"default":{description:"getPasswordForgottenForm"}}},post:{responses:{"default":{description:"askForPasswordResetViaForm"}},parameters:[{name:"TesterPass",required:!1,"in":"header",type:"string"},{name:"login",required:!1,"in":"query",type:"string"},{name:"drop_tokens",required:!1,"in":"query",type:"string"}]}},"/password_forgotten/{key}":{get:{responses:{"default":{description:"confirmPasswordResetRequest"}},parameters:[{name:"key",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"resetPasswordForgotten"}},parameters:[{name:"key",required:!0,"in":"path",type:"string"},{name:"pass",required:!1,"in":"query",type:"string"},{name:"pass2",required:!1,"in":"query",type:"string"}]}},"/payments/coupons/{name}":{get:{responses:{"default":{description:"getCoupon"}},parameters:[{name:"name",required:!0,"in":"path",type:"string"}]}},"/payments/providers":{get:{responses:{"default":{description:"getAvailablePaymentProviders"}}}},"/payments/tokens/bt":{get:{responses:{"default":{description:"getBraintreeToken"}}}},"/payments/webhooks/bt":{get:{responses:{"default":{description:"subscriptionEventPing"}},parameters:[{name:"bt_challenge",required:!1,"in":"query",type:"string"}]},post:{responses:{"default":{description:"subscriptionEvent"}},parameters:[{name:"bt_signature",required:!1,"in":"query",type:"string"},{name:"bt_payload",required:!1,"in":"query",type:"string"}]}},"/payments/{bid}/end/bt":{post:{responses:{"default":{description:"endPaymentWithBraintree"}},parameters:[{name:"bid",required:!0,"in":"path",type:"string"}]}},"/ping":{get:{responses:{"default":{description:"ping"}}}},"/ping/stats":{get:{responses:{"default":{description:"stats"}}}},"/products/addonproviders":{get:{responses:{"default":{description:"getAddonProviders"}}}},"/products/addonproviders/{provider_id}":{get:{responses:{"default":{description:"getAddonProvider"}},parameters:[{name:"provider_id",required:!0,"in":"path",type:"string"}]}},"/products/countries":{get:{responses:{"default":{description:"getCountries"}}}},"/products/countrycodes":{get:{responses:{"default":{description:"getCountryCodes"}}}},"/products/instances":{get:{responses:{ | ||
"default":{description:"getAvailableInstances"}},parameters:[{name:"for",required:!1,"in":"query",type:"string"}]}},"/products/instances/{type}-{version}":{get:{responses:{"default":{description:"getAvailableInstance"}},parameters:[{name:"type",required:!0,"in":"path",type:"string"},{name:"version",required:!0,"in":"path",type:"integer"},{name:"for",required:!1,"in":"query",type:"string"},{name:"app",required:!1,"in":"query",type:"string"}]}},"/products/packages":{get:{responses:{"default":{description:"getAvailablePackages"}},parameters:[{name:"coupon",required:!1,"in":"query",type:"string"},{name:"orgaId",required:!1,"in":"query",type:"string"},{name:"currency",required:!1,"in":"query",type:"string"}]}},"/products/prices":{get:{responses:{"default":{description:"getExcahngeRates"}}}},"/products/zones":{get:{responses:{"default":{description:"getZones"}}}},"/self":{"delete":{responses:{"default":{description:"deleteUser"}}},get:{responses:{"default":{description:"getUser"}}},put:{responses:{"default":{description:"editUser"}}}},"/self/addons":{get:{responses:{"default":{description:"getAddons"}}},post:{responses:{"default":{description:"provisionAddon"}}}},"/self/addons/{addonId}":{"delete":{responses:{"default":{description:"deprovisionAddon"}},parameters:[{name:"addonId",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getAddon"}},parameters:[{name:"addonId",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"renameAddon"}},parameters:[{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/self/addons/{addonId}/applications":{get:{responses:{"default":{description:"getApplicationsLinkedToAddon"}},parameters:[{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/self/addons/{addonId}/env":{get:{responses:{"default":{description:"getAddonEnv"}},parameters:[{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/self/addons/{addonId}/payment-method":{put:{responses:{"default":{description:"changePaymentMethod"}},parameters:[{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/self/addons/{addonId}/plan":{put:{responses:{"default":{description:"changePlan"}},parameters:[{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/self/addons/{addonId}/sso":{get:{responses:{"default":{description:"getSSOData"}},parameters:[{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/self/addons/{addonId}/tags":{get:{responses:{"default":{description:"getAddonTags"}},parameters:[{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/self/addons/{addonId}/tags/{tag}":{"delete":{responses:{"default":{description:"deleteAddonTag"}},parameters:[{name:"tag",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"addAddonTag"}},parameters:[{name:"tag",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/self/applications":{get:{responses:{"default":{description:"getApplications"}}},post:{responses:{"default":{description:"addApplication"}}}},"/self/applications/{appId}":{"delete":{responses:{"default":{description:"deleteApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"editApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/addons":{get:{responses:{"default":{description:"getAddonsLinkedToApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"linkAddonToApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/addons/env":{get:{responses:{"default":{description:"getEnvOfAddonsLinkedToApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/addons/{addonId}":{"delete":{responses:{"default":{description:"unlinkAddonFromApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/dependencies":{get:{responses:{"default":{description:"getApplicationDependencies"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/dependencies/{dependencyId}":{"delete":{responses:{"default":{description:"deleteApplicationDependency"}},parameters:[{name:"dependencyId",required:!0,"in":"path",type:"string"},{name:"appId",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"addApplicationDependency"}},parameters:[{name:"dependencyId",required:!0,"in":"path",type:"string"},{name:"appId",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/dependents":{get:{responses:{"default":{description:"getApplicationDependents"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/deployments":{get:{responses:{"default":{description:"getApplicationDeployments"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"limit",required:!1,"in":"query",type:"string"},{name:"offset",required:!1,"in":"query",type:"string"},{name:"action",required:!1,"in":"query",type:"string"}]}},"/self/applications/{appId}/deployments/{deploymentId}/instances":{"delete":{responses:{"default":{description:"cancelDeploy"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"deploymentId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/env":{get:{responses:{"default":{description:"editApplicationEnv"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"editApplicationEnvironment"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/env/{envName}":{"delete":{responses:{"default":{description:"removeApplicationEnv"}},parameters:[{name:"envName",required:!0,"in":"path",type:"string"},{name:"appId",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"editApplicationEnv"}},parameters:[{name:"envName",required:!0,"in":"path",type:"string"},{name:"appId",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/instance":{put:{responses:{"default":{description:"changeApplicationType"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"type",required:!1,"in":"query",type:"string"},{name:"version",required:!1,"in":"query",type:"integer"},{name:"variant",required:!1,"in":"query",type:"string"}]}},"/self/applications/{appId}/instances":{"delete":{responses:{"default":{description:"undeployApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getApplicationInstances"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"redeployApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"commit",required:!1,"in":"query",type:"string"}]}},"/self/applications/{appId}/tags":{get:{responses:{"default":{description:"getApplicationTags"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/tags/{tag}":{"delete":{responses:{"default":{description:"deleteApplicationTag"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"tag",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"addApplicationTag"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"tag",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/vhosts":{get:{responses:{"default":{description:"getVhosts"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/vhosts/favourite":{"delete":{responses:{"default":{description:"unmarkFavouriteVhost"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getFavouriteVhost"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"markFavouriteVhost"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/vhosts/{domain}":{"delete":{responses:{"default":{description:"removeVhost"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"domain",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"addVhost"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"domain",required:!0,"in":"path",type:"string"}]}},"/self/avatar":{put:{responses:{"default":{description:"setUserAvatar\nsetUserAvatarFromSource"}}}},"/self/change_password":{put:{responses:{"default":{description:"changeUserPassword"}}}},"/self/confirmation_email":{get:{responses:{"default":{description:"getConfirmationEmail"}}}},"/self/consumers":{get:{responses:{"default":{description:"getConsumers"}}},post:{responses:{"default":{description:"createConsumer"}}}},"/self/consumers/{key}":{"delete":{responses:{"default":{description:"deleteConsumer"}},parameters:[{name:"key",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getConsumer"}},parameters:[{name:"key",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"updateConsumer"}},parameters:[{name:"key",required:!0,"in":"path",type:"string"}]}},"/self/consumers/{key}/secret":{get:{responses:{"default":{description:"getConsumerSecret"}},parameters:[{name:"key",required:!0,"in":"path",type:"string"}]}},"/self/consumptions":{get:{responses:{"default":{description:"getConsumptions"}},parameters:[{name:"appId",required:!1,"in":"query",type:"string"},{name:"from",required:!1,"in":"query",type:"string"},{name:"to",required:!1,"in":"query",type:"string"}]}},"/self/credits":{get:{responses:{"default":{description:"getAmount"}}}},"/self/emails":{get:{responses:{"default":{description:"getEmailAddresses"}}}},"/self/emails/{email}":{"delete":{responses:{"default":{description:"removeEmailAddress"}},parameters:[{name:"email",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"addEmailAddress"}},parameters:[{name:"email",required:!0,"in":"path",type:"string"}]}},"/self/id":{get:{responses:{"default":{description:"getId"}}}},"/self/instances":{get:{responses:{"default":{description:"getInstancesForAllApps"}}}},"/self/keys":{get:{responses:{"default":{description:"getSshKeys"}}}},"/self/keys/{key}":{"delete":{responses:{"default":{description:"removeSshKey"}},parameters:[{name:"key",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"addSshKey"}},parameters:[{name:"key",required:!0,"in":"path",type:"string"}]}},"/self/payment-info":{get:{responses:{"default":{description:"getPaymentInfo"}}}},"/self/payments/billings":{get:{responses:{"default":{description:"getInvoices"}}},post:{responses:{"default":{description:"buyDrops"}}}},"/self/payments/billings/{bid}":{"delete":{responses:{"default":{description:"deletePurchaseOrder"}},parameters:[{name:"bid",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getInvoice"}},parameters:[{name:"bid",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"choosePaymentProvider"}},parameters:[{name:"bid",required:!0,"in":"path",type:"string"}]}},"/self/payments/billings/{bid}.pdf":{get:{responses:{"default":{description:"getPdfInvoice"}},parameters:[{name:"bid",required:!0,"in":"path",type:"string"},{name:"token",required:!1,"in":"query",type:"string"}]}},"/self/payments/fullprice/{price}":{get:{responses:{"default":{description:"priceWithTax"}},parameters:[{name:"price",required:!0,"in":"path",type:"string"}]}},"/self/payments/methods":{get:{responses:{"default":{description:"getUserPaymentMethods"}}},post:{responses:{"default":{description:"addUserMethod"}}}},"/self/payments/methods/{mId}":{"delete":{responses:{"default":{description:"deleteUserCard"}},parameters:[{name:"mId",required:!0,"in":"path",type:"string"}]}},"/self/payments/recurring":{"delete":{responses:{"default":{description:"deleteRecurrentPayment"}}},get:{responses:{"default":{description:"getRecurrentPayment"}}},put:{responses:{"default":{description:"createRecurrentPayment"}}}},"/self/tokens":{"delete":{responses:{"default":{description:"revokeAllTokens"}}},get:{responses:{"default":{description:"getSelfTokens"}}}},"/self/tokens/{token}":{"delete":{responses:{"default":{description:"revokeToken"}},parameters:[{name:"token",required:!0,"in":"path",type:"string"}]}},"/self/validate_email":{get:{responses:{"default":{description:"validateEmail"}},parameters:[{name:"validationKey",required:!1,"in":"query",type:"string"}]}},"/session/login":{get:{responses:{"default":{description:"getLoginForm"}},parameters:[{name:"secondaryEmailKey",required:!1,"in":"query",type:"string"},{name:"deletionKey",required:!1,"in":"query",type:"string"},{name:"fromAuthorize",required:!1,"in":"query",type:"string"}]},post:{responses:{"default":{description:"login"}},parameters:[{name:"email",required:!1,"in":"query",type:"string"},{name:"pass",required:!1,"in":"query",type:"string"},{name:"from_authorize",required:!1,"in":"query",type:"string"}]}},"/session/signup":{get:{responses:{"default":{description:"getSignupForm"}},parameters:[{name:"invitationKey",required:!1,"in":"query",type:"string"},{name:"url_next",required:!1,"in":"query",type:"string"}]}},"/summary":{get:{responses:{"default":{description:"getSummary"}}}},"/users":{post:{responses:{"default":{description:"createUser\ncreateUserFromForm"}},parameters:[{name:"invitationKey",required:!1,"in":"query",type:"string"},{name:"addonBetaInvitationKey",required:!1,"in":"query",type:"string"},{name:"email",required:!1,"in":"query",type:"string"},{name:"pass",required:!1,"in":"query",type:"string"},{name:"url_next",required:!1,"in":"query",type:"string"},{name:"terms",required:!1,"in":"query",type:"string"}]}},"/users/{id}":{get:{responses:{"default":{description:"getUser"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/users/{id}/applications":{get:{responses:{"default":{description:"getApplications"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/users/{userId}/git-info":{get:{responses:{"default":{description:"getGitInfo"}},parameters:[{name:"userId",required:!0,"in":"path",type:"string"}]}},"/validation/vat/{key}":{get:{responses:{"default":{description:"validate"}},parameters:[{name:"key",required:!0,"in":"path",type:"string"},{name:"action",required:!1,"in":"query",type:"string"}]}},"/vat_check":{get:{responses:{"default":{description:"checkVat"}},parameters:[{name:"country",required:!1,"in":"query",type:"string"},{name:"vat",required:!1,"in":"query",type:"string"}]}},"/vendor/apps":{get:{responses:{"default":{description:"listApps"}},parameters:[{name:"offset",required:!1,"in":"query",type:"integer"}]}},"/vendor/apps/{addonId}":{get:{responses:{"default":{description:"getApplicationInfo"}},parameters:[{name:"addonId",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"editApplicationConfiguration"}},parameters:[{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/vendor/billing/{ownerId}":{post:{responses:{"default":{description:"billOwner"}},parameters:[{name:"ownerId",required:!0,"in":"path",type:"string"}]}}},info:{title:"",version:"",description:""}},Owner=function(){var a=function(a,b){var c=function(b){return b&&0==b.indexOf("orga_")?a.organisations._:a.self};return c};return a}(),Session=function(a,b,c){var d=function(d,e){var f={};return f.getOAuthParams=function(a){return{oauth_consumer_key:e.API_CONSUMER_KEY,oauth_signature_method:"PLAINTEXT",oauth_signature:e.API_CONSUMER_SECRET+"&"+(a||""),oauth_timestamp:Math.floor(Date.now()/1e3),oauth_nonce:Math.floor(1e6*Math.random())}},f.login="undefined"==typeof window?function(){}:function(){var c=a.extend(f.getOAuthParams(),{oauth_callback:window.location.href}),g=d.oauth.request_token.post().withHeaders({"Content-Type":"application/x-www-form-urlencoded",Authorization:""}).send(b.encode(c));g.onValue(function(a){var c=b.decode(a);"undefined"!=typeof localStorage&&(localStorage.consumer_oauth_token=c.oauth_token,localStorage.consumer_oauth_token_secret=c.oauth_token_secret),window.location=e.API_HOST+"/oauth/authorize?oauth_token="+encodeURIComponent(c.oauth_token)})},f.getAccessTokenFromQueryString="undefined"==typeof window?function(){}:function(){var a=b.decode(window.location.search.slice(1));return a.consumer_oauth_token="undefined"!=typeof localStorage?localStorage.consumer_oauth_token:"",a.consumer_oauth_token_secret="undefined"!=typeof localStorage?localStorage.consumer_oauth_token_secret:"",f.getAccessToken(a)},f.getAccessToken=function(c){var e=a.extend(f.getOAuthParams(c.consumer_oauth_token_secret),{oauth_token:c.oauth_token,oauth_verifier:c.oauth_verifier}),g=d.oauth.access_token.post().withHeaders({"Content-Type":"application/x-www-form-urlencoded"}).send(b.encode(e)),h=g.map(function(a){return b.decode(a)});return h.onValue(function(a){"undefined"!=typeof localStorage&&(localStorage.user_oauth_token=a.oauth_token,localStorage.user_oauth_token_secret=a.oauth_token_secret)}),h},f.getAuthorization=function(b){if(b.user_oauth_token&&b.user_oauth_token_secret){var c=a.extend(f.getOAuthParams(b.user_oauth_token_secret),{oauth_token:b.user_oauth_token});return['OAuth realm="'+e.API_HOST+'/oauth"','oauth_consumer_key="'+c.oauth_consumer_key+'"','oauth_token="'+c.oauth_token+'"','oauth_signature_method="'+c.oauth_signature_method+'"','oauth_signature="'+c.oauth_signature+'"','oauth_timestamp="'+c.oauth_timestamp+'"','oauth_nonce="'+c.oauth_nonce+'"'].join(", ")}return""},f.getHMACAuthorization=function(b,d,g,h){if(h.user_oauth_token&&h.user_oauth_token_secret){var i=a.extend({},g,f.getOAuthParams(h.user_oauth_token_secret),{oauth_signature_method:"HMAC-SHA1",oauth_token:h.user_oauth_token}),j=c.sign("HMAC-SHA1",b,d,a.omit(i,"oauth_signature"),e.API_CONSUMER_SECRET,h.user_oauth_token_secret);return['OAuth realm="'+e.API_HOST+'/oauth"','oauth_consumer_key="'+i.oauth_consumer_key+'"','oauth_token="'+i.oauth_token+'"','oauth_signature_method="'+i.oauth_signature_method+'"','oauth_signature="'+j+'"','oauth_timestamp="'+i.oauth_timestamp+'"','oauth_nonce="'+i.oauth_nonce+'"'].join(", ")}return""},f.remove=function(){"undefined"!=typeof localStorage&&(localStorage.removeItem("consumer_oauth_token"),localStorage.removeItem("consumer_oauth_token_secret"),localStorage.removeItem("user_oauth_token"),localStorage.removeItem("user_oauth_token_secret"))},f};return d}("function"==typeof require&&require("lodash")?require("lodash"):_,"function"==typeof require&&require("querystring")?require("querystring"):querystring,"function"==typeof require&&require("oauth-sign")?require("oauth-sign"):oauthSignature),CleverAPI=function(a,b){var c=function(c){a.defaults(c,{API_HOST:"https://ccapi-preprod.cleverapps.io/v2",hooks:{}});var d=c.API_AUTHORIZATION?{Authorization:c.API_AUTHORIZATION}:{},e=c.API_OAUTH_TOKEN&&c.API_OAUTH_TOKEN_SECRET&&function(b){return a.has(b.headers,"Authorization")||(b.headers.Authorization=f.session.getHMACAuthorization(b.method,b.uri,b.qs,{user_oauth_token:c.API_OAUTH_TOKEN,user_oauth_token_secret:c.API_OAUTH_TOKEN_SECRET})),b},f=b.buildClient(methods,{host:c.API_HOST,headers:a.extend({},d,{"Content-Type":"application/json"}),logger:c.logger,hooks:a.defaults(c.hooks,{beforeSend:e}),parse:!0});return f.owner=Owner(f,c),f.session=Session(f,c),f};return"undefined"!=typeof module&&module.exports&&(module.exports=c),c}("function"==typeof require&&require("lodash")?require("lodash"):_,"function"==typeof require&&require("wadl-client")?require("wadl-client"):WadlClient); | ||
var methods={swagger:"2.0",schemes:["http"],host:"api.clever-cloud.com",basePath:"/v2",paths:{"/application/{appId}/environment":{get:{responses:{"default":{description:"getEnv"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"token",required:!1,"in":"query",type:"string"}]},put:{responses:{"default":{description:"updateEnv"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"token",required:!1,"in":"query",type:"string"}]}},"/authorize":{post:{responses:{"default":{description:"authorize"}}}},"/cleverapps/{name}":{get:{responses:{"default":{description:"checkDomainAvailability"}},parameters:[{name:"name",required:!0,"in":"path",type:"string"}]}},"/coldstart":{get:{responses:{"default":{description:"coldStart"}}}},"/github":{get:{responses:{"default":{description:"startGithub"}}}},"/github/applications":{get:{responses:{"default":{description:"getGithubApplications"}}}},"/github/callback":{get:{responses:{"default":{description:"githubCallback"}},parameters:[{name:"Cookie",required:!1,"in":"header",type:"string"},{name:"code",required:!1,"in":"query",type:"string"},{name:"state",required:!1,"in":"query",type:"string"},{name:"error",required:!1,"in":"query",type:"string"},{name:"error_description",required:!1,"in":"query",type:"string"},{name:"error_uri",required:!1,"in":"query",type:"string"}]}},"/github/emails":{get:{responses:{"default":{description:"getGithubEmails"}}}},"/github/keys":{get:{responses:{"default":{description:"getGithubKeys"}}}},"/github/link":{"delete":{responses:{"default":{description:"unlinkGithub"}}},get:{responses:{"default":{description:"linkGithub"}},parameters:[{name:"transactionId",required:!1,"in":"query",type:"string"},{name:"redirectUrl",required:!1,"in":"query",type:"string"}]}},"/github/login":{get:{responses:{"default":{description:"githubLogin"}},parameters:[{name:"redirectUrl",required:!1,"in":"query",type:"string"},{name:"fromAuthorize",required:!1,"in":"query",type:"string"}]}},"/github/redeploy":{post:{responses:{"default":{description:"redeployApp"}},parameters:[{name:"User-Agent",required:!1,"in":"header",type:"string"},{name:"X-Github-Event",required:!1,"in":"header",type:"string"},{name:"X-Hub-Signature",required:!1,"in":"header",type:"string"}]}},"/github/signup":{get:{responses:{"default":{description:"githubSignup"}},parameters:[{name:"redirectUrl",required:!1,"in":"query",type:"string"},{name:"fromAuthorize",required:!1,"in":"query",type:"string"}]},post:{responses:{"default":{description:"finsihGithubSignup"}},parameters:[{name:"transactionId",required:!1,"in":"query",type:"string"},{name:"name",required:!1,"in":"query",type:"string"},{name:"otherId",required:!1,"in":"query",type:"string"},{name:"otherEmail",required:!1,"in":"query",type:"string"},{name:"password",required:!1,"in":"query",type:"string"},{name:"autoLink",required:!1,"in":"query",type:"string"},{name:"terms",required:!1,"in":"query",type:"string"}]}},"/github/username":{get:{responses:{"default":{description:"getGithubUsername"}}}},"/internal/applications/{appId}/env/{envName}":{put:{responses:{"default":{description:"addEnvToApp"}},parameters:[{name:"envName",required:!0,"in":"path",type:"string"},{name:"appId",required:!0,"in":"path",type:"string"}]}},"/internal/coupons":{post:{responses:{"default":{description:"createCoupon"}}}},"/internal/credentials":{post:{responses:{"default":{description:"createCredentials"}}}},"/internal/dropcounts/{ownerId}":{post:{responses:{"default":{description:"addDrops"}},parameters:[{name:"ownerId",required:!0,"in":"path",type:"string"}]}},"/internal/instances/{type}-{version}":{put:{responses:{"default":{description:"createInstance"}},parameters:[{name:"type",required:!0,"in":"path",type:"string"},{name:"version",required:!0,"in":"path",type:"integer"}]}},"/internal/invoices":{get:{responses:{"default":{description:"getInvoices"}},parameters:[{name:"owner",required:!1,"in":"query",type:"string"}]},post:{responses:{"default":{description:"createPendingInvoice"}}}},"/internal/invoices/fortransactions/{transId}":{post:{responses:{"default":{description:"createInvoiceForTransaction"}},parameters:[{name:"transId",required:!0,"in":"path",type:"string"}]}},"/internal/invoices/links":{get:{responses:{"default":{description:"getLinks"}},parameters:[{name:"before",required:!1,"in":"query",type:"long"}]}},"/internal/invoices/pdf":{get:{responses:{"default":{description:"getPdfInvoices"}},parameters:[{name:"from",required:!1,"in":"query",type:"long"},{name:"status",required:!1,"in":"query",type:"string"}]}},"/internal/invoices/{invId}":{get:{responses:{"default":{description:"getHtmlInvoice"}},parameters:[{name:"invId",required:!0,"in":"path",type:"string"}]}},"/internal/invoices/{invId}.pdf":{get:{responses:{"default":{description:"getPdfInvoice"}},parameters:[{name:"invId",required:!0,"in":"path",type:"string"}]}},"/internal/invoices/{invoice}/credit":{put:{responses:{"default":{description:"generateCreditNote"}},parameters:[{name:"invoice",required:!0,"in":"path",type:"string"}]}},"/internal/invoices/{invoice}/refund":{put:{responses:{"default":{description:"refundInvoice"}},parameters:[{name:"invoice",required:!0,"in":"path",type:"string"}]}},"/internal/organisations/{id}/addonproviders":{post:{responses:{"default":{description:"uploadManifest"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/internal/organisations/{id}/discount":{put:{responses:{"default":{description:"setDiscount"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/internal/packages":{post:{responses:{"default":{description:"createPackage"}}}},"/internal/packages/{packageId}":{"delete":{responses:{"default":{description:"deletePackage"}},parameters:[{name:"packageId",required:!0,"in":"path",type:"long"}]},put:{responses:{"default":{description:"editPackage"}},parameters:[{name:"packageId",required:!0,"in":"path",type:"long"}]}},"/internal/paymentplans":{post:{responses:{"default":{description:"createInternalPaymentPlan"}}}},"/internal/prices/{currency}":{put:{responses:{"default":{description:"setExchangeRate"}},parameters:[{name:"currency",required:!0,"in":"path",type:"string"}]}},"/internal/tokenforuser/{userId}":{get:{responses:{"default":{description:"createTokenAsUser"}},parameters:[{name:"userId",required:!0,"in":"path",type:"string"}]}},"/internal/users":{get:{responses:{"default":{description:"getUsers"}},parameters:[{name:"email",required:!1,"in":"query",type:"string"}]}},"/internal/users/{userId}/email":{get:{responses:{"default":{description:"getEmail"}},parameters:[{name:"userId",required:!0,"in":"path",type:"string"}]}},"/internal/users/{userId}/keys/{name}":{"delete":{responses:{"default":{description:"deleteSshKey"}},parameters:[{name:"name",required:!0,"in":"path",type:"string"},{name:"userId",required:!0,"in":"path",type:"string"}]}},"/invoice/external/{bid}":{post:{responses:{"default":{description:"updateInvoice"}},parameters:[{name:"bid",required:!0,"in":"path",type:"string"}]}},"/newsfeeds/blog":{get:{responses:{"default":{description:"getBlogFeed"}}}},"/newsfeeds/engineering":{get:{responses:{"default":{description:"getEngineeringFeed"}}}},"/oauth/access_token":{post:{responses:{"default":{description:"postAccessTokenRequest"}},parameters:[{name:"oauth_consumer_key",required:!1,"in":"query",type:"string"},{name:"oauth_token",required:!1,"in":"query",type:"string"},{name:"oauth_signature_method",required:!1,"in":"query",type:"string"},{name:"oauth_signature",required:!1,"in":"query",type:"string"},{name:"oauth_timestamp",required:!1,"in":"query",type:"string"},{name:"oauth_nonce",required:!1,"in":"query",type:"string"},{name:"oauth_version",required:!1,"in":"query",type:"string"},{name:"oauth_verifier",required:!1,"in":"query",type:"string"},{name:"oauth_callback",required:!1,"in":"query",type:"string"},{name:"oauth_token_secret",required:!1,"in":"query",type:"string"},{name:"oauth_callback_confirmed",required:!1,"in":"query",type:"string"}]}},"/oauth/authorize":{get:{responses:{"default":{description:"authorizeForm"}},parameters:[{name:"Cookie",required:!1,"in":"header",type:"string"},{name:"oauth_token",required:!1,"in":"query",type:"string"}]},post:{responses:{"default":{description:"authorizeToken"}},parameters:[{name:"Cookie",required:!1,"in":"header",type:"string"},{name:"almighty",required:!1,"in":"query",type:"string"},{name:"access_organisations",required:!1,"in":"query",type:"string"},{name:"manage_organisations",required:!1,"in":"query",type:"string"},{name:"manage_organisations_services",required:!1,"in":"query",type:"string"},{name:"manage_organisations_applications",required:!1,"in":"query",type:"string"},{name:"manage_organisations_members",required:!1,"in":"query",type:"string"},{name:"access_organisations_bills",required:!1,"in":"query",type:"string"},{name:"access_organisations_credit_count",required:!1,"in":"query",type:"string"},{name:"access_organisations_consumption_statistics",required:!1,"in":"query",type:"string"},{name:"access_personal_information",required:!1,"in":"query",type:"string"},{name:"manage_personal_information",required:!1,"in":"query",type:"string"},{name:"manage_ssh_keys",required:!1,"in":"query",type:"string"},{name:"manage_services",required:!1,"in":"query",type:"string"},{name:"manage_applications",required:!1,"in":"query",type:"string"},{name:"access_bills",required:!1,"in":"query",type:"string"},{name:"access_credit_count",required:!1,"in":"query",type:"string"},{name:"access_consumption_statistics",required:!1,"in":"query",type:"string"}]}},"/oauth/request_token":{post:{responses:{"default":{description:"postReqTokenRequest\npostReqTokenRequestQueryString"}},parameters:[{name:"oauth_consumer_key",required:!1,"in":"query",type:"string"},{name:"oauth_token",required:!1,"in":"query",type:"string"},{name:"oauth_signature_method",required:!1,"in":"query",type:"string"},{name:"oauth_signature",required:!1,"in":"query",type:"string"},{name:"oauth_timestamp",required:!1,"in":"query",type:"string"},{name:"oauth_nonce",required:!1,"in":"query",type:"string"},{name:"oauth_version",required:!1,"in":"query",type:"string"},{name:"oauth_verifier",required:!1,"in":"query",type:"string"},{name:"oauth_callback",required:!1,"in":"query",type:"string"},{name:"oauth_token_secret",required:!1,"in":"query",type:"string"},{name:"oauth_callback_confirmed",required:!1,"in":"query",type:"string"}]}},"/oauth/rights":{get:{responses:{"default":{description:"getAvailableRights"}}}},"/organisations":{get:{responses:{"default":{description:"getUserOrganisationss"}},parameters:[{name:"user",required:!1,"in":"query",type:"string"}]},post:{responses:{"default":{description:"createOrganisation"}}}},"/organisations/{id}":{"delete":{responses:{"default":{description:"deleteOrganisation"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getOrganisation"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"editOrganisation"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addonproviders":{get:{responses:{"default":{description:"getProvidersInfo"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"createProvider"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}":{get:{responses:{"default":{description:"getProviderInfo"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"updateProviderInfos"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/features":{get:{responses:{"default":{description:"getProviderFeatures"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"addProviderFeature"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/features/{featureId}":{"delete":{responses:{"default":{description:"deleteProviderFeature"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"},{name:"featureId",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/plans":{get:{responses:{"default":{description:"getProviderPlans"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"addProviderPlan"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/plans/{planId}":{"delete":{responses:{"default":{description:"deleteProviderPlan"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"planId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getProviderPlan"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"planId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"editProviderPlan"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"planId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/plans/{planId}/features/{featureName}":{"delete":{responses:{"default":{description:"deleteProviderPlanFeature"}},parameters:[{name:"featureName",required:!0,"in":"path",type:"string"},{name:"providerId",required:!0,"in":"path",type:"string"},{name:"planId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"editProviderPlanFeature"}},parameters:[{name:"featureName",required:!0,"in":"path",type:"string"},{name:"providerId",required:!0,"in":"path",type:"string"},{name:"planId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/tags":{get:{responses:{"default":{description:"getProviderTags"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addonproviders/{providerId}/testers":{post:{responses:{"default":{description:"addBetaTester"}},parameters:[{name:"providerId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addons":{get:{responses:{"default":{description:"getAddons"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"provisionAddon"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}":{"delete":{responses:{"default":{description:"deprovisionAddon"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getAddon"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"updateAddonInfo"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/applications":{get:{responses:{"default":{description:"getApplicationsLinkedToAddon"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/env":{get:{responses:{"default":{description:"getAddonEnv"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/payment-method":{put:{responses:{"default":{description:"changePaymentMethod"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/plan":{put:{responses:{"default":{description:"changePlan"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/sso":{get:{responses:{"default":{description:"getSSOData"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/tags":{get:{responses:{"default":{description:"getAddonTags"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/addons/{addonId}/tags/{tag}":{"delete":{responses:{"default":{description:"deleteAddonTag"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"tag",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"addAddonTag"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"tag",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications":{get:{responses:{"default":{description:"getAllApplications"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"addApplication"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}":{"delete":{responses:{"default":{description:"deleteApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"editApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/addons":{get:{responses:{"default":{description:"getAddonsLinkedToApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"linkAddonToApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/addons/env":{get:{responses:{"default":{description:"getEnvOfAddonsLinkedToApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/addons/{addonId}":{"delete":{responses:{"default":{description:"unlinkAddonFromApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/dependencies":{get:{responses:{"default":{description:"getApplicationDependencies"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/dependencies/{dependencyId}":{"delete":{responses:{"default":{description:"deleteApplicationDependency"}},parameters:[{name:"dependencyId",required:!0,"in":"path",type:"string"},{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"addApplicationDependency"}},parameters:[{name:"dependencyId",required:!0,"in":"path",type:"string"},{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/dependents":{get:{responses:{"default":{description:"getApplicationDependents"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/deployments":{get:{responses:{"default":{description:"getApplicationDeploymentsForOrga"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"},{name:"limit",required:!1,"in":"query",type:"string"},{name:"offset",required:!1,"in":"query",type:"string"},{name:"action",required:!1,"in":"query",type:"string"}]}},"/organisations/{id}/applications/{appId}/deployments/{deploymentId}/instances":{"delete":{responses:{"default":{description:"getApplicationDeploymentsForOrga"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"deploymentId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/env":{get:{responses:{"default":{description:"getApplicationEnv"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"editApplicationEnvironment"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/env/{envName}":{"delete":{responses:{"default":{description:"removeApplicationEnv"}},parameters:[{name:"envName",required:!0,"in":"path",type:"string"},{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"editApplicationEnv"}},parameters:[{name:"envName",required:!0,"in":"path",type:"string"},{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/exposed_env":{get:{responses:{"default":{description:"getExposedEnv"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"updateExposedEnv"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/instance":{put:{responses:{"default":{description:"changeApplicationType"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"},{name:"type",required:!1,"in":"query",type:"string"},{name:"version",required:!1,"in":"query",type:"integer"},{name:"variant",required:!1,"in":"query",type:"string"}]}},"/organisations/{id}/applications/{appId}/instances":{"delete":{responses:{"default":{description:"undeployApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getApplicationInstances"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"redeployApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"},{name:"commit",required:!1,"in":"query",type:"string"}]}},"/organisations/{id}/applications/{appId}/tags":{get:{responses:{"default":{description:"getApplicationTags"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/tags/{tag}":{"delete":{responses:{"default":{description:"deleteApplicationTag"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"},{name:"tag",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"addApplicationTag"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"},{name:"tag",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/vhosts":{get:{responses:{"default":{description:"getVhosts"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/vhosts/favourite":{"delete":{responses:{"default":{description:"unmarkFavouriteVhost"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getFavouriteVhost"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"markFavouriteVhost"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/applications/{appId}/vhosts/{domain}":{"delete":{responses:{"default":{description:"removeVhost"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"domain",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"addVhost"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"domain",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/avatar":{put:{responses:{"default":{description:"setOrgaAvatar\nsetOrgaAvatarFromSource"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/consumers":{get:{responses:{"default":{description:"getConsumers"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"createConsumer"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/consumers/{key}":{"delete":{responses:{"default":{description:"deleteConsumer"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"key",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getConsumer"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"key",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"updateConsumer"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"key",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/consumers/{key}/secret":{get:{responses:{"default":{description:"getConsumerSecret"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"key",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/consumptions":{get:{responses:{"default":{description:"getAmount"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"appId",required:!1,"in":"query",type:"string"},{name:"from",required:!1,"in":"query",type:"string"},{name:"to",required:!1,"in":"query",type:"string"}]}},"/organisations/{id}/credits":{get:{responses:{"default":{description:"getAmount"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/instances":{get:{responses:{"default":{description:"getInstancesForAllApps"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/members":{get:{responses:{"default":{description:"getOrganisationMembers"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"addOrganisationMember"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"invitationKey",required:!1,"in":"query",type:"string"}]}},"/organisations/{id}/members/{userId}":{"delete":{responses:{"default":{description:"removeOrganisationMember"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"userId",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"editOrganisationMember"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"userId",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/payment-info":{get:{responses:{"default":{description:"getPaymentInfo"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/payments/billings":{get:{responses:{"default":{description:"getInvoices"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"buyDrops"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/payments/billings/{bid}":{"delete":{responses:{"default":{description:"deletePurchaseOrder"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"bid",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getInvoice"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"bid",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"choosePaymentProvider"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"bid",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/payments/billings/{bid}.pdf":{get:{responses:{"default":{description:"getPdfInvoice"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"},{name:"bid",required:!0,"in":"path",type:"string"},{name:"token",required:!1,"in":"query",type:"string"}]}},"/organisations/{id}/payments/fullprice/{price}":{get:{responses:{"default":{description:"priceWithTax"}},parameters:[{name:"price",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/organisations/{id}/payments/recurring":{"delete":{responses:{"default":{description:"deleteRecurrentPayment"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getRecurrentPayment"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"createRecurrentPayment"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/password_forgotten":{get:{responses:{"default":{description:"getPasswordForgottenForm"}}},post:{responses:{"default":{description:"askForPasswordResetViaForm"}},parameters:[{name:"TesterPass",required:!1,"in":"header",type:"string"},{name:"login",required:!1,"in":"query",type:"string"},{name:"drop_tokens",required:!1,"in":"query",type:"string"}]}},"/password_forgotten/{key}":{get:{responses:{"default":{description:"confirmPasswordResetRequest"}},parameters:[{name:"key",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"resetPasswordForgotten"}},parameters:[{name:"key",required:!0,"in":"path",type:"string"},{name:"pass",required:!1,"in":"query",type:"string"},{name:"pass2",required:!1,"in":"query",type:"string"}]}},"/payments/coupons/{name}":{get:{responses:{"default":{description:"getCoupon"}},parameters:[{name:"name",required:!0,"in":"path",type:"string"}]}},"/payments/providers":{get:{responses:{"default":{description:"getAvailablePaymentProviders"}}}},"/payments/tokens/bt":{get:{responses:{"default":{description:"getBraintreeToken"}}}},"/payments/webhooks/bt":{get:{responses:{"default":{description:"subscriptionEventPing"}},parameters:[{name:"bt_challenge",required:!1,"in":"query",type:"string"}]},post:{responses:{"default":{description:"subscriptionEvent"}},parameters:[{name:"bt_signature",required:!1,"in":"query",type:"string"},{name:"bt_payload",required:!1,"in":"query",type:"string"}]}},"/payments/{bid}/end/bt":{post:{responses:{"default":{description:"endPaymentWithBraintree"}},parameters:[{name:"bid", | ||
required:!0,"in":"path",type:"string"}]}},"/ping":{get:{responses:{"default":{description:"ping"}}}},"/ping/stats":{get:{responses:{"default":{description:"stats"}}}},"/products/addonproviders":{get:{responses:{"default":{description:"getAddonProviders"}}}},"/products/addonproviders/{provider_id}":{get:{responses:{"default":{description:"getAddonProvider"}},parameters:[{name:"provider_id",required:!0,"in":"path",type:"string"}]}},"/products/countries":{get:{responses:{"default":{description:"getCountries"}}}},"/products/countrycodes":{get:{responses:{"default":{description:"getCountryCodes"}}}},"/products/instances":{get:{responses:{"default":{description:"getAvailableInstances"}},parameters:[{name:"for",required:!1,"in":"query",type:"string"}]}},"/products/instances/{type}-{version}":{get:{responses:{"default":{description:"getAvailableInstance"}},parameters:[{name:"type",required:!0,"in":"path",type:"string"},{name:"version",required:!0,"in":"path",type:"integer"},{name:"for",required:!1,"in":"query",type:"string"},{name:"app",required:!1,"in":"query",type:"string"}]}},"/products/packages":{get:{responses:{"default":{description:"getAvailablePackages"}},parameters:[{name:"coupon",required:!1,"in":"query",type:"string"},{name:"orgaId",required:!1,"in":"query",type:"string"},{name:"currency",required:!1,"in":"query",type:"string"}]}},"/products/prices":{get:{responses:{"default":{description:"getExcahngeRates"}}}},"/products/zones":{get:{responses:{"default":{description:"getZones"}}}},"/self":{"delete":{responses:{"default":{description:"deleteUser"}}},get:{responses:{"default":{description:"getUser"}}},put:{responses:{"default":{description:"editUser"}}}},"/self/addons":{get:{responses:{"default":{description:"getAddons"}}},post:{responses:{"default":{description:"provisionAddon"}}}},"/self/addons/{addonId}":{"delete":{responses:{"default":{description:"deprovisionAddon"}},parameters:[{name:"addonId",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getAddon"}},parameters:[{name:"addonId",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"renameAddon"}},parameters:[{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/self/addons/{addonId}/applications":{get:{responses:{"default":{description:"getApplicationsLinkedToAddon"}},parameters:[{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/self/addons/{addonId}/env":{get:{responses:{"default":{description:"getAddonEnv"}},parameters:[{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/self/addons/{addonId}/payment-method":{put:{responses:{"default":{description:"changePaymentMethod"}},parameters:[{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/self/addons/{addonId}/plan":{put:{responses:{"default":{description:"changePlan"}},parameters:[{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/self/addons/{addonId}/sso":{get:{responses:{"default":{description:"getSSOData"}},parameters:[{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/self/addons/{addonId}/tags":{get:{responses:{"default":{description:"getAddonTags"}},parameters:[{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/self/addons/{addonId}/tags/{tag}":{"delete":{responses:{"default":{description:"deleteAddonTag"}},parameters:[{name:"tag",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"addAddonTag"}},parameters:[{name:"tag",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/self/applications":{get:{responses:{"default":{description:"getApplications"}}},post:{responses:{"default":{description:"addApplication"}}}},"/self/applications/{appId}":{"delete":{responses:{"default":{description:"deleteApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"editApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/addons":{get:{responses:{"default":{description:"getAddonsLinkedToApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"linkAddonToApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/addons/env":{get:{responses:{"default":{description:"getEnvOfAddonsLinkedToApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/addons/{addonId}":{"delete":{responses:{"default":{description:"unlinkAddonFromApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/dependencies":{get:{responses:{"default":{description:"getApplicationDependencies"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/dependencies/{dependencyId}":{"delete":{responses:{"default":{description:"deleteApplicationDependency"}},parameters:[{name:"dependencyId",required:!0,"in":"path",type:"string"},{name:"appId",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"addApplicationDependency"}},parameters:[{name:"dependencyId",required:!0,"in":"path",type:"string"},{name:"appId",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/dependents":{get:{responses:{"default":{description:"getApplicationDependents"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/deployments":{get:{responses:{"default":{description:"getApplicationDeployments"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"limit",required:!1,"in":"query",type:"string"},{name:"offset",required:!1,"in":"query",type:"string"},{name:"action",required:!1,"in":"query",type:"string"}]}},"/self/applications/{appId}/deployments/{deploymentId}/instances":{"delete":{responses:{"default":{description:"cancelDeploy"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"deploymentId",required:!0,"in":"path",type:"string"},{name:"id",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/env":{get:{responses:{"default":{description:"editApplicationEnv"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"editApplicationEnvironment"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/env/{envName}":{"delete":{responses:{"default":{description:"removeApplicationEnv"}},parameters:[{name:"envName",required:!0,"in":"path",type:"string"},{name:"appId",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"editApplicationEnv"}},parameters:[{name:"envName",required:!0,"in":"path",type:"string"},{name:"appId",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/exposed_env":{get:{responses:{"default":{description:"getExposedEnv"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"updateExposedEnv"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/instance":{put:{responses:{"default":{description:"changeApplicationType"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"type",required:!1,"in":"query",type:"string"},{name:"version",required:!1,"in":"query",type:"integer"},{name:"variant",required:!1,"in":"query",type:"string"}]}},"/self/applications/{appId}/instances":{"delete":{responses:{"default":{description:"undeployApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getApplicationInstances"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]},post:{responses:{"default":{description:"redeployApplication"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"commit",required:!1,"in":"query",type:"string"}]}},"/self/applications/{appId}/tags":{get:{responses:{"default":{description:"getApplicationTags"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/tags/{tag}":{"delete":{responses:{"default":{description:"deleteApplicationTag"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"tag",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"addApplicationTag"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"tag",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/vhosts":{get:{responses:{"default":{description:"getVhosts"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/vhosts/favourite":{"delete":{responses:{"default":{description:"unmarkFavouriteVhost"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getFavouriteVhost"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"markFavouriteVhost"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"}]}},"/self/applications/{appId}/vhosts/{domain}":{"delete":{responses:{"default":{description:"removeVhost"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"domain",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"addVhost"}},parameters:[{name:"appId",required:!0,"in":"path",type:"string"},{name:"domain",required:!0,"in":"path",type:"string"}]}},"/self/avatar":{put:{responses:{"default":{description:"setUserAvatar\nsetUserAvatarFromSource"}}}},"/self/change_password":{put:{responses:{"default":{description:"changeUserPassword"}}}},"/self/confirmation_email":{get:{responses:{"default":{description:"getConfirmationEmail"}}}},"/self/consumers":{get:{responses:{"default":{description:"getConsumers"}}},post:{responses:{"default":{description:"createConsumer"}}}},"/self/consumers/{key}":{"delete":{responses:{"default":{description:"deleteConsumer"}},parameters:[{name:"key",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getConsumer"}},parameters:[{name:"key",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"updateConsumer"}},parameters:[{name:"key",required:!0,"in":"path",type:"string"}]}},"/self/consumers/{key}/secret":{get:{responses:{"default":{description:"getConsumerSecret"}},parameters:[{name:"key",required:!0,"in":"path",type:"string"}]}},"/self/consumptions":{get:{responses:{"default":{description:"getConsumptions"}},parameters:[{name:"appId",required:!1,"in":"query",type:"string"},{name:"from",required:!1,"in":"query",type:"string"},{name:"to",required:!1,"in":"query",type:"string"}]}},"/self/credits":{get:{responses:{"default":{description:"getAmount"}}}},"/self/emails":{get:{responses:{"default":{description:"getEmailAddresses"}}}},"/self/emails/{email}":{"delete":{responses:{"default":{description:"removeEmailAddress"}},parameters:[{name:"email",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"addEmailAddress"}},parameters:[{name:"email",required:!0,"in":"path",type:"string"}]}},"/self/id":{get:{responses:{"default":{description:"getId"}}}},"/self/instances":{get:{responses:{"default":{description:"getInstancesForAllApps"}}}},"/self/keys":{get:{responses:{"default":{description:"getSshKeys"}}}},"/self/keys/{key}":{"delete":{responses:{"default":{description:"removeSshKey"}},parameters:[{name:"key",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"addSshKey"}},parameters:[{name:"key",required:!0,"in":"path",type:"string"}]}},"/self/payment-info":{get:{responses:{"default":{description:"getPaymentInfo"}}}},"/self/payments/billings":{get:{responses:{"default":{description:"getInvoices"}}},post:{responses:{"default":{description:"buyDrops"}}}},"/self/payments/billings/{bid}":{"delete":{responses:{"default":{description:"deletePurchaseOrder"}},parameters:[{name:"bid",required:!0,"in":"path",type:"string"}]},get:{responses:{"default":{description:"getInvoice"}},parameters:[{name:"bid",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"choosePaymentProvider"}},parameters:[{name:"bid",required:!0,"in":"path",type:"string"}]}},"/self/payments/billings/{bid}.pdf":{get:{responses:{"default":{description:"getPdfInvoice"}},parameters:[{name:"bid",required:!0,"in":"path",type:"string"},{name:"token",required:!1,"in":"query",type:"string"}]}},"/self/payments/fullprice/{price}":{get:{responses:{"default":{description:"priceWithTax"}},parameters:[{name:"price",required:!0,"in":"path",type:"string"}]}},"/self/payments/methods":{get:{responses:{"default":{description:"getUserPaymentMethods"}}},post:{responses:{"default":{description:"addUserMethod"}}}},"/self/payments/methods/{mId}":{"delete":{responses:{"default":{description:"deleteUserCard"}},parameters:[{name:"mId",required:!0,"in":"path",type:"string"}]}},"/self/payments/recurring":{"delete":{responses:{"default":{description:"deleteRecurrentPayment"}}},get:{responses:{"default":{description:"getRecurrentPayment"}}},put:{responses:{"default":{description:"createRecurrentPayment"}}}},"/self/tokens":{"delete":{responses:{"default":{description:"revokeAllTokens"}}},get:{responses:{"default":{description:"getSelfTokens"}}}},"/self/tokens/{token}":{"delete":{responses:{"default":{description:"revokeToken"}},parameters:[{name:"token",required:!0,"in":"path",type:"string"}]}},"/self/validate_email":{get:{responses:{"default":{description:"validateEmail"}},parameters:[{name:"validationKey",required:!1,"in":"query",type:"string"}]}},"/session/login":{get:{responses:{"default":{description:"getLoginForm"}},parameters:[{name:"secondaryEmailKey",required:!1,"in":"query",type:"string"},{name:"deletionKey",required:!1,"in":"query",type:"string"},{name:"fromAuthorize",required:!1,"in":"query",type:"string"}]},post:{responses:{"default":{description:"login"}},parameters:[{name:"email",required:!1,"in":"query",type:"string"},{name:"pass",required:!1,"in":"query",type:"string"},{name:"from_authorize",required:!1,"in":"query",type:"string"}]}},"/session/signup":{get:{responses:{"default":{description:"getSignupForm"}},parameters:[{name:"invitationKey",required:!1,"in":"query",type:"string"},{name:"url_next",required:!1,"in":"query",type:"string"}]}},"/summary":{get:{responses:{"default":{description:"getSummary"}}}},"/users":{post:{responses:{"default":{description:"createUser\ncreateUserFromForm"}},parameters:[{name:"invitationKey",required:!1,"in":"query",type:"string"},{name:"addonBetaInvitationKey",required:!1,"in":"query",type:"string"},{name:"email",required:!1,"in":"query",type:"string"},{name:"pass",required:!1,"in":"query",type:"string"},{name:"url_next",required:!1,"in":"query",type:"string"},{name:"terms",required:!1,"in":"query",type:"string"}]}},"/users/{id}":{get:{responses:{"default":{description:"getUser"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/users/{id}/applications":{get:{responses:{"default":{description:"getApplications"}},parameters:[{name:"id",required:!0,"in":"path",type:"string"}]}},"/users/{userId}/git-info":{get:{responses:{"default":{description:"getGitInfo"}},parameters:[{name:"userId",required:!0,"in":"path",type:"string"}]}},"/validation/vat/{key}":{get:{responses:{"default":{description:"validate"}},parameters:[{name:"key",required:!0,"in":"path",type:"string"},{name:"action",required:!1,"in":"query",type:"string"}]}},"/vat_check":{get:{responses:{"default":{description:"checkVat"}},parameters:[{name:"country",required:!1,"in":"query",type:"string"},{name:"vat",required:!1,"in":"query",type:"string"}]}},"/vendor/apps":{get:{responses:{"default":{description:"listApps"}},parameters:[{name:"offset",required:!1,"in":"query",type:"integer"}]}},"/vendor/apps/{addonId}":{get:{responses:{"default":{description:"getApplicationInfo"}},parameters:[{name:"addonId",required:!0,"in":"path",type:"string"}]},put:{responses:{"default":{description:"editApplicationConfiguration"}},parameters:[{name:"addonId",required:!0,"in":"path",type:"string"}]}},"/vendor/billing/{ownerId}":{post:{responses:{"default":{description:"billOwner"}},parameters:[{name:"ownerId",required:!0,"in":"path",type:"string"}]}}},info:{title:"",version:"",description:""}},Owner=function(){var a=function(a,b){var c=function(b){return b&&0==b.indexOf("orga_")?a.organisations._:a.self};return c};return a}(),Session=function(a,b,c){var d=function(d,e){var f={};return f.getOAuthParams=function(a){return{oauth_consumer_key:e.API_CONSUMER_KEY,oauth_signature_method:"PLAINTEXT",oauth_signature:e.API_CONSUMER_SECRET+"&"+(a||""),oauth_timestamp:Math.floor(Date.now()/1e3),oauth_nonce:Math.floor(1e6*Math.random())}},f.login="undefined"==typeof window?function(){}:function(){var c=a.extend(f.getOAuthParams(),{oauth_callback:window.location.href}),g=d.oauth.request_token.post().withHeaders({"Content-Type":"application/x-www-form-urlencoded",Authorization:""}).send(b.encode(c));g.onValue(function(a){var c=b.decode(a);"undefined"!=typeof localStorage&&(localStorage.consumer_oauth_token=c.oauth_token,localStorage.consumer_oauth_token_secret=c.oauth_token_secret),window.location=e.API_HOST+"/oauth/authorize?oauth_token="+encodeURIComponent(c.oauth_token)})},f.getAccessTokenFromQueryString="undefined"==typeof window?function(){}:function(){var a=b.decode(window.location.search.slice(1));return a.consumer_oauth_token="undefined"!=typeof localStorage?localStorage.consumer_oauth_token:"",a.consumer_oauth_token_secret="undefined"!=typeof localStorage?localStorage.consumer_oauth_token_secret:"",f.getAccessToken(a)},f.getAccessToken=function(c){var e=a.extend(f.getOAuthParams(c.consumer_oauth_token_secret),{oauth_token:c.oauth_token,oauth_verifier:c.oauth_verifier}),g=d.oauth.access_token.post().withHeaders({"Content-Type":"application/x-www-form-urlencoded"}).send(b.encode(e)),h=g.map(function(a){return b.decode(a)});return h.onValue(function(a){"undefined"!=typeof localStorage&&(localStorage.user_oauth_token=a.oauth_token,localStorage.user_oauth_token_secret=a.oauth_token_secret)}),h},f.getAuthorization=function(b){if(b.user_oauth_token&&b.user_oauth_token_secret){var c=a.extend(f.getOAuthParams(b.user_oauth_token_secret),{oauth_token:b.user_oauth_token});return['OAuth realm="'+e.API_HOST+'/oauth"','oauth_consumer_key="'+c.oauth_consumer_key+'"','oauth_token="'+c.oauth_token+'"','oauth_signature_method="'+c.oauth_signature_method+'"','oauth_signature="'+c.oauth_signature+'"','oauth_timestamp="'+c.oauth_timestamp+'"','oauth_nonce="'+c.oauth_nonce+'"'].join(", ")}return""},f.getHMACAuthorization=function(b,d,g,h){if(h.user_oauth_token&&h.user_oauth_token_secret){var i=a.extend({},g,f.getOAuthParams(h.user_oauth_token_secret),{oauth_signature_method:"HMAC-SHA1",oauth_token:h.user_oauth_token}),j=c.sign("HMAC-SHA1",b,d,a.omit(i,"oauth_signature"),e.API_CONSUMER_SECRET,h.user_oauth_token_secret);return['OAuth realm="'+e.API_HOST+'/oauth"','oauth_consumer_key="'+i.oauth_consumer_key+'"','oauth_token="'+i.oauth_token+'"','oauth_signature_method="'+i.oauth_signature_method+'"','oauth_signature="'+j+'"','oauth_timestamp="'+i.oauth_timestamp+'"','oauth_nonce="'+i.oauth_nonce+'"'].join(", ")}return""},f.remove=function(){"undefined"!=typeof localStorage&&(localStorage.removeItem("consumer_oauth_token"),localStorage.removeItem("consumer_oauth_token_secret"),localStorage.removeItem("user_oauth_token"),localStorage.removeItem("user_oauth_token_secret"))},f};return d}("function"==typeof require&&require("lodash")?require("lodash"):_,"function"==typeof require&&require("querystring")?require("querystring"):querystring,"function"==typeof require&&require("oauth-sign")?require("oauth-sign"):oauthSignature),CleverAPI=function(a,b){var c=function(c){a.defaults(c,{API_HOST:"https://ccapi-preprod.cleverapps.io/v2",hooks:{}});var d=c.API_AUTHORIZATION?{Authorization:c.API_AUTHORIZATION}:{},e=c.API_OAUTH_TOKEN&&c.API_OAUTH_TOKEN_SECRET&&function(b){return a.has(b.headers,"Authorization")||(b.headers.Authorization=f.session.getHMACAuthorization(b.method,b.uri,b.qs,{user_oauth_token:c.API_OAUTH_TOKEN,user_oauth_token_secret:c.API_OAUTH_TOKEN_SECRET})),b},f=b.buildClient(methods,{host:c.API_HOST,headers:a.extend({},d,{"Content-Type":"application/json"}),logger:c.logger,hooks:a.defaults(c.hooks,{beforeSend:e}),parse:!0});return f.owner=Owner(f,c),f.session=Session(f,c),f};return"undefined"!=typeof module&&module.exports&&(module.exports=c),c}("function"==typeof require&&require("lodash")?require("lodash"):_,"function"==typeof require&&require("wadl-client")?require("wadl-client"):WadlClient); |
{ | ||
"name": "clever-client", | ||
"version": "0.2.15", | ||
"version": "0.2.16", | ||
"description": "Javascript models for Clever-Cloud API", | ||
@@ -5,0 +5,0 @@ "main": "dist/clever-client.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
196730
5813