\n
Your Docusaurus site did not load properly.
\n
A very common reason is a wrong site baseUrl configuration.
\n
Current configured baseUrl = ${e} ${"/"===e?" (default value)":""}
\n
We suggest trying baseUrl =
\n
\n`}(e)).replace(/{let{route:t}=e;return!0===t.exact})))return j.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return j.set(e.pathname,t),{...e,pathname:t}}((0,d.zy)());return(0,f.jsx)(L,{location:e,children:W})}function H(){return(0,f.jsx)(B.A,{children:(0,f.jsx)(T.l,{children:(0,f.jsxs)(C.x,{children:[(0,f.jsxs)(m,{children:[(0,f.jsx)(z,{}),(0,f.jsx)(A,{}),(0,f.jsx)(M,{}),(0,f.jsx)(Q,{})]}),(0,f.jsx)(q,{})]})})})}var V=n(84054);const K=function(e){try{return document.createElement("link").relList.supports(e)}catch{return!1}}("prefetch")?function(e){return new Promise(((t,n)=>{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var G=n(86921);const Y=new Set,J=new Set,Z=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,X={prefetch:e=>{if(!(e=>!Z()&&!J.has(e)&&!Y.has(e))(e))return!1;Y.add(e);const t=(0,p.u)(u.A,e).flatMap((e=>{return t=e.route.path,Object.entries(V).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,G.A)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?K(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!Z()&&!J.has(e))(e)&&(J.add(e),O(e))},ee=Object.freeze(X);function te(e){let{children:t}=e;return"hash"===s.default.future.experimental_router?(0,f.jsx)(i.I9,{children:t}):(0,f.jsx)(i.Kd,{children:t})}const ne=Boolean(!0);if(c.default.canUseDOM){window.docusaurus=ee;const e=document.getElementById("__docusaurus"),t=(0,f.jsx)(o.vd,{children:(0,f.jsx)(te,{children:(0,f.jsx)(H,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},i=()=>{if(window.docusaurusRoot)window.docusaurusRoot.render(t);else if(ne)window.docusaurusRoot=a.hydrateRoot(e,t,{onRecoverableError:n});else{const r=a.createRoot(e,{onRecoverableError:n});r.render(t),window.docusaurusRoot=r}};O(window.location.pathname).then((()=>{(0,r.startTransition)(i)}))}},26988:(e,t,n)=>{"use strict";n.d(t,{o:()=>d,l:()=>p});var r=n(96540),a=n(4784);const o=JSON.parse('{"docusaurus-plugin-content-docs":{"default":{"path":"/daikoku/docs","versions":[{"name":"current","label":"Next","isLast":true,"path":"/daikoku/docs","mainDocId":"getstarted/index","docs":[{"id":"cli/apis-to-business-website/add-dynamic-content","path":"/daikoku/docs/cli/apis-to-business-website/add-dynamic-content","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/add-personal-assets","path":"/daikoku/docs/cli/apis-to-business-website/add-personal-assets","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/build-your-first-layout","path":"/daikoku/docs/cli/apis-to-business-website/build-your-first-layout","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/configure-custom-emails","path":"/daikoku/docs/cli/apis-to-business-website/configure-custom-emails","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/create-react-component","path":"/daikoku/docs/cli/apis-to-business-website/create-react-component","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/create-your-first-page copy","path":"/daikoku/docs/cli/apis-to-business-website/create-your-first-page copy","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/create-your-first-project","path":"/daikoku/docs/cli/apis-to-business-website/create-your-first-project","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/define-and-use-a-variable","path":"/daikoku/docs/cli/apis-to-business-website/define-and-use-a-variable","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/deploy-your-website copy","path":"/daikoku/docs/cli/apis-to-business-website/deploy-your-website copy","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/dev-mode","path":"/daikoku/docs/cli/apis-to-business-website/dev-mode","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/edit-your-home-page","path":"/daikoku/docs/cli/apis-to-business-website/edit-your-home-page","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/index","path":"/daikoku/docs/cli/apis-to-business-website/","sidebar":"tutorialSidebar"},{"id":"cli/apis-to-business-website/style-your-apis-page","path":"/daikoku/docs/cli/apis-to-business-website/style-your-apis-page","sidebar":"tutorialSidebar"},{"id":"cli/index","path":"/daikoku/docs/cli/","sidebar":"tutorialSidebar"},{"id":"cli/informations/index","path":"/daikoku/docs/cli/informations/","sidebar":"tutorialSidebar"},{"id":"getstarted/about","path":"/daikoku/docs/getstarted/about","sidebar":"tutorialSidebar"},{"id":"getstarted/firstrun/configfile","path":"/daikoku/docs/getstarted/firstrun/configfile","sidebar":"tutorialSidebar"},{"id":"getstarted/firstrun/datastore","path":"/daikoku/docs/getstarted/firstrun/datastore","sidebar":"tutorialSidebar"},{"id":"getstarted/firstrun/env","path":"/daikoku/docs/getstarted/firstrun/env","sidebar":"tutorialSidebar"},{"id":"getstarted/firstrun/index","path":"/daikoku/docs/getstarted/firstrun/","sidebar":"tutorialSidebar"},{"id":"getstarted/firstrun/initialstate","path":"/daikoku/docs/getstarted/firstrun/initialstate","sidebar":"tutorialSidebar"},{"id":"getstarted/firstrun/run","path":"/daikoku/docs/getstarted/firstrun/run","sidebar":"tutorialSidebar"},{"id":"getstarted/getdaikoku/index","path":"/daikoku/docs/getstarted/getdaikoku/","sidebar":"tutorialSidebar"},{"id":"getstarted/index","path":"/daikoku/docs/getstarted/","sidebar":"tutorialSidebar"},{"id":"getstarted/quickstart","path":"/daikoku/docs/getstarted/quickstart","sidebar":"tutorialSidebar"},{"id":"getstarted/setup/admin","path":"/daikoku/docs/getstarted/setup/admin","sidebar":"tutorialSidebar"},{"id":"getstarted/setup/index","path":"/daikoku/docs/getstarted/setup/","sidebar":"tutorialSidebar"},{"id":"getstarted/setup/reporting","path":"/daikoku/docs/getstarted/setup/reporting","sidebar":"tutorialSidebar"},{"id":"guides/apis","path":"/daikoku/docs/guides/apis","sidebar":"tutorialSidebar"},{"id":"guides/archi","path":"/daikoku/docs/guides/archi","sidebar":"tutorialSidebar"},{"id":"guides/authentication","path":"/daikoku/docs/guides/authentication","sidebar":"tutorialSidebar"},{"id":"guides/deploy","path":"/daikoku/docs/guides/deploy","sidebar":"tutorialSidebar"},{"id":"guides/index","path":"/daikoku/docs/guides/","sidebar":"tutorialSidebar"},{"id":"guides/integrations","path":"/daikoku/docs/guides/integrations","sidebar":"tutorialSidebar"},{"id":"usages/adminusage/importexport","path":"/daikoku/docs/usages/adminusage/importexport","sidebar":"tutorialSidebar"},{"id":"usages/adminusage/index","path":"/daikoku/docs/usages/adminusage/","sidebar":"tutorialSidebar"},{"id":"usages/adminusage/sessions","path":"/daikoku/docs/usages/adminusage/sessions","sidebar":"tutorialSidebar"},{"id":"usages/adminusage/tenants","path":"/daikoku/docs/usages/adminusage/tenants","sidebar":"tutorialSidebar"},{"id":"usages/adminusage/users","path":"/daikoku/docs/usages/adminusage/users","sidebar":"tutorialSidebar"},{"id":"usages/consumerusage/aggregation-of-apikeys","path":"/daikoku/docs/usages/consumerusage/aggregation-of-apikeys","sidebar":"tutorialSidebar"},{"id":"usages/consumerusage/apikeys","path":"/daikoku/docs/usages/consumerusage/apikeys","sidebar":"tutorialSidebar"},{"id":"usages/consumerusage/billing","path":"/daikoku/docs/usages/consumerusage/billing","sidebar":"tutorialSidebar"},{"id":"usages/consumerusage/fastmode","path":"/daikoku/docs/usages/consumerusage/fastmode","sidebar":"tutorialSidebar"},{"id":"usages/consumerusage/index","path":"/daikoku/docs/usages/consumerusage/","sidebar":"tutorialSidebar"},{"id":"usages/consumerusage/subscribe","path":"/daikoku/docs/usages/consumerusage/subscribe","sidebar":"tutorialSidebar"},{"id":"usages/index","path":"/daikoku/docs/usages/","sidebar":"tutorialSidebar"},{"id":"usages/producerusage/apis","path":"/daikoku/docs/usages/producerusage/apis","sidebar":"tutorialSidebar"},{"id":"usages/producerusage/assets","path":"/daikoku/docs/usages/producerusage/assets","sidebar":"tutorialSidebar"},{"id":"usages/producerusage/income","path":"/daikoku/docs/usages/producerusage/income","sidebar":"tutorialSidebar"},{"id":"usages/producerusage/index","path":"/daikoku/docs/usages/producerusage/","sidebar":"tutorialSidebar"},{"id":"usages/producerusage/members","path":"/daikoku/docs/usages/producerusage/members","sidebar":"tutorialSidebar"},{"id":"usages/producerusage/subscriptions","path":"/daikoku/docs/usages/producerusage/subscriptions","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/1.5-initialize","path":"/daikoku/docs/usages/tenantusage/1.5-initialize","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/5.5-display","path":"/daikoku/docs/usages/tenantusage/5.5-display","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/assets","path":"/daikoku/docs/usages/tenantusage/assets","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/cms","path":"/daikoku/docs/usages/tenantusage/cms","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/index","path":"/daikoku/docs/usages/tenantusage/","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/messages","path":"/daikoku/docs/usages/tenantusage/messages","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/otoroshi","path":"/daikoku/docs/usages/tenantusage/otoroshi","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/teams","path":"/daikoku/docs/usages/tenantusage/teams","sidebar":"tutorialSidebar"},{"id":"usages/tenantusage/translations","path":"/daikoku/docs/usages/tenantusage/translations","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/daikoku/docs/getstarted/","label":"Get started"}}}}],"breadcrumbs":true}},"docusaurus-plugin-redoc":{"plugin-redoc-0":{"url":"redocusaurus/plugin-redoc-0.yaml","themeId":"theme-redoc","isSpecFile":true,"spec":{"openapi":"3.0.2","externalDocs":{"description":"Find out more about Daikoku","url":"https://maif.github.io/daikoku/"},"info":{"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"},"contact":{"name":"MAIF open source team","email":"oss@maif.fr"},"description":"Admin API of Daikoku","title":"Daikoku Admin API","version":"16.3.0"},"tags":[],"components":{"schemas":{"Tenant":{"description":"Tenant","properties":{"_id":{"type":"string"},"enabled":{"type":"boolean"},"_deleted":{"type":"boolean","nullable":true},"name":{"type":"string"},"domain":{"type":"string","nullable":true},"contact":{"type":"string"},"style":{"$ref":"#/components/schemas/DaikokuStyle","nullable":true},"defaultLanguage":{"type":"string","nullable":true},"otoroshiSettings":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/OtoroshiSettings"}},"mailerSettings":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/MailerSettings.ConsoleMailerSettings"},{"$ref":"#/components/schemas/MailerSettings.MailgunSettings"},{"$ref":"#/components/schemas/MailerSettings.MailjetSettings"},{"$ref":"#/components/schemas/MailerSettings.SimpleSMTPSettings"},{"$ref":"#/components/schemas/MailerSettings.SendgridSettings"}]},"bucketSettings":{"nullable":true,"$ref":"#/components/schemas/S3Configuration"},"authProvider":{"nullable":true,"type":"string","enum":["local","otoroshi","ldap","oauth2"]},"authProviderSettings":{"type":"object"},"auditTrailConfig":{"nullable":false,"$ref":"#/components/schemas/AuditTrailConfig"},"isPrivate":{"type":"boolean","nullable":true},"adminApi":{"type":"string"},"adminSubscriptions":{"type":"array","items":{"type":"string"}},"creationSecurity":{"type":"boolean","nullable":true},"subscriptionSecurity":{"type":"boolean","nullable":true},"apiReferenceHideForGuest":{"type":"boolean","nullable":true},"defaultMessage":{"type":"string","nullable":true},"tenantMode":{"type":"string","enum":["default","maintenance","construction","translation"],"nullable":true},"aggregationApiKeysSecurity":{"type":"boolean","nullable":true},"robotTxt":{"type":"string","nullable":true},"thirdPartyPaymentSettings":{"type":"array","nullable":true,"items":{"oneOf":[{"$ref":"#/components/schemas/ThirdPartyPaymentSettings.StripeSettings"}]}},"display":{"nullable":true,"type":"string","enum":["default","environment"]},"environments":{"type":"array","nullable":true,"items":{"type":"string"}}},"required":["_id","enabled","name","contact","adminApi"]},"object":{"type":"object"},"done":{"description":"task is done","properties":{"done":{"type":"boolean"}}},"error":{"description":"error response","properties":{"error":{"type":"string"}}},"GraphQLQuery":{"type":"object","properties":{"query":{"type":"string"}}},"GraphQLResponse":{"type":"object","properties":{"data":{"type":"object"}}},"GraphQLSchema":{"type":"object"},"patch":{"description":"A set of changes described in JSON Patch format: http://jsonpatch.com/ (RFC 6902)","type":"array","items":{"type":"object","required":["op","path"],"properties":{"op":{"type":"string","enum":["add","replace","remove","copy","test"]},"path":{"type":"string"},"value":{}}}},"DaikokuStyle":{"description":"DaikokuStyle","properties":{"js":{"type":"string","nullable":true},"css":{"type":"string","nullable":true},"colorTheme":{"type":"string","nullable":true},"jsUrl":{"type":"string","nullable":true},"cssUrl":{"type":"string","nullable":true},"faviconUrl":{"type":"string","nullable":true},"fontFamilyUrl":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"unloggedHome":{"type":"string","nullable":true},"homePageVisible":{"type":"boolean","nullable":true},"homeCmsPage":{"type":"string","nullable":true},"notFoundCmsPage":{"type":"string","nullable":true},"authenticatedCmsPage":{"type":"string","nullable":true},"cacheTTL":{"type":"integer","format":"int32","nullable":true},"logo":{"type":"string","nullable":true},"footer":{"type":"string","nullable":true}}},"ThirdPartyPaymentSettings.StripeSettings":{"description":"Stripe settings","properties":{"_id":{"type":"string"},"name":{"type":"string"},"publicKey":{"type":"string"},"secretKey":{"type":"string"}},"required":["_id","name","publicKey","secretKey"]},"OtoroshiSettings":{"description":"OtoroshiSettings","properties":{"id":{"type":"string"},"url":{"type":"string"},"host":{"type":"string"},"clientId":{"type":"string","nullable":true},"clientSecret":{"type":"string","nullable":true}},"required":["id","url","host"]},"MailerSettings.ConsoleMailerSettings":{"description":"MailerSettings","properties":{"type":{"type":"string","enum":["console"]},"template":{"type":"string","nullable":true}},"required":["type"]},"MailerSettings.MailgunSettings":{"description":"MailgunSettings","properties":{"type":{"type":"string","enum":["mailgun"]},"template":{"type":"string","nullable":true},"domain":{"type":"string"},"eu":{"type":"boolean","nullable":true},"key":{"type":"string"},"fromTitle":{"type":"string"},"fromEmail":{"type":"string"}},"required":["type","domain","key","fromTitle","fromEmail"]},"MailerSettings.MailjetSettings":{"description":"MailgunSettings","properties":{"type":{"type":"string","enum":["mailjet"]},"template":{"type":"string","nullable":true},"apiKeyPublic":{"type":"string"},"apiKeyPrivate":{"type":"string"},"fromTitle":{"type":"string"},"fromEmail":{"type":"string"}},"required":["type","apiKeyPublic","apiKeyPrivate","fromTitle","fromEmail"]},"MailerSettings.SendgridSettings":{"description":"SendgridSettings","properties":{"type":{"type":"string","enum":["sendgrid"]},"template":{"type":"string","nullable":true},"apikey":{"type":"string"},"fromTitle":{"type":"string"},"fromEmail":{"type":"string"}},"required":["type","apikey","fromEmail","fromTitle"]},"MailerSettings.SimpleSMTPSettings":{"description":"SimpleSMTPSettings","properties":{"type":{"type":"string","enum":["smtpClient"]},"template":{"type":"string","nullable":true},"host":{"type":"string"},"port":{"type":"string","additionalProperties":{"oneOf":[{"type":"integer"}]}},"fromTitle":{"type":"string"},"fromEmail":{"type":"string"}},"required":["type","host","port","fromEmail","fromTitle"]},"S3Configuration":{"description":"S3Configuration","properties":{"bucket":{"type":"string"},"endpoint":{"type":"string"},"region":{"type":"string"},"access":{"type":"string"},"secret":{"type":"string"},"chunkSize":{"type":"integer","format":"int32","nullable":true},"v4auth":{"type":"boolean","nullable":true}},"required":["bucket","endpoint","region","access","secret"]},"AuditTrailConfig":{"description":"AuditTrailConfig","properties":{"elasticConfigs":{"$ref":"#/components/schemas/ElasticAnalyticsConfig","nullable":true},"auditWebhooks":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/Webhook"}},"alertsEmails":{"type":"array","nullable":true,"items":{"type":"string"}},"kafkaConfig":{"$ref":"#/components/schemas/KafkaConfig","nullable":true}}},"Webhook":{"description":"Webhook","properties":{"url":{"type":"string"},"headers":{"type":"object","nullable":true}},"required":["url"]},"ElasticAnalyticsConfig":{"description":"ElasticAnalyticsConfig","properties":{"clusterUri":{"type":"string"},"index":{"type":"string","nullable":true},"type":{"type":"string","nullable":true},"user":{"type":"string","nullable":true},"password":{"type":"string","nullable":true},"headers":{"type":"object","nullable":true}},"required":["clusterUri"]},"KafkaConfig":{"description":"KafkaConfig","properties":{"servers":{"type":"array","nullable":true,"items":{"type":"string"}},"keyPass":{"type":"string","nullable":true},"keystore":{"type":"string","nullable":true},"truststore":{"type":"string","nullable":true},"auditTopic":{"type":"string","nullable":true},"hostValidation":{"type":"boolean","nullable":true}}},"User":{"description":"User","properties":{"_id":{"type":"string"},"_deleted":{"type":"boolean"},"tenants":{"type":"array","nullable":true,"items":{"type":"string"}},"origins":{"type":"array","nullable":true,"items":{"type":"string","enum":["local","otoroshi","ldap","oauth2"]}},"name":{"type":"string"},"email":{"type":"string"},"picture":{"type":"string","nullable":true},"pictureFromProvider":{"type":"boolean","nullable":true},"personalToken":{"type":"string","nullable":true},"isDaikokuAdmin":{"type":"boolean","nullable":true},"password":{"type":"string","nullable":true,"description":"optionnal value but required in case of tenant has a Local AuthProvider"},"hardwareKeyRegistrations":{"type":"array","nullable":true,"items":{"type":"object"}},"lastTenant":{"type":"string","nullable":true},"metadata":{"type":"object","nullable":true},"defaultLanguage":{"type":"string","nullable":true},"starredApis":{"type":"array","nullable":true,"items":{"type":"string"}},"twoFactorAuthentication":{"$ref":"#/components/schemas/TwoFactorAuthentication","nullable":true},"invitation":{"$ref":"#/components/schemas/UserInvitation","nullable":true}},"required":["_id","name","email"]},"UserInvitation":{"description":"UserInvitation","properties":{"token":{"type":"string"},"createdAt":{"type":"integer","format":"timestamp","nullable":true},"team":{"type":"string"},"notificationId":{"type":"string","nullable":true},"registered":{"type":"boolean","nullable":true}},"required":["token"]},"TwoFactorAuthentication":{"description":"TwoFactorAuthentication","properties":{"enabled":{"type":"boolean"},"secret":{"type":"string"},"token":{"type":"string"},"backupCodes":{"type":"string"}},"required":["enabled","secret","token","backupCodes"]},"Team":{"description":"Team","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"type":{"type":"string","enum":["Personal","Organization","Admin"]},"name":{"type":"string"},"description":{"type":"string","nullable":true},"contact":{"type":"string"},"avatar":{"type":"string","nullable":true},"users":{"type":"array","items":{"$ref":"#/components/schemas/UserWithPermission"}},"authorizedEntities":{"type":"array","nullable":true,"items":{"properties":{"otoroshiSettingsId":{"type":"string"},"authorizedEntities":{"$ref":"#/components/schemas/AuthorizedEntities"}}}},"apiKeyVisibility":{"type":"string","enum":["administrator","apiEditor","user"]},"metadata":{"type":"object","nullable":true},"apisCreationPermission":{"type":"boolean","nullable":true},"verified":{"type":"boolean"}},"required":["_id","_tenant","type","contact","verified"]},"UserWithPermission":{"description":"UserWithPermission","properties":{"userId":{"type":"string"},"teamPermission":{"type":"string","enum":["Administrator","ApiEditor","User"]}},"required":["userId","teamPermission"]},"Api":{"description":"Api","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"team":{"type":"string"},"name":{"type":"string"},"lastUpdate":{"type":"integer","format":"timestamp"},"description":{"type":"string","nullable":true},"smallDescription":{"type":"string","nullable":true},"header":{"type":"string","nullable":true},"image":{"type":"string","nullable":true},"currentVersion":{"type":"string"},"supportedVersions":{"type":"array","items":{"type":"string"}},"isDefault":{"type":"boolean","nullable":true},"testing":{"$ref":"#/components/schemas/Testing","nullable":true},"documentation":{"$ref":"#/components/schemas/ApiDocumentation"},"swagger":{"$ref":"#/components/schemas/SwaggerAccess","nullable":true},"tags":{"type":"array","nullable":true,"items":{"type":"string"}},"categories":{"type":"array","nullable":true,"items":{"type":"string"}},"visibility":{"type":"string","enum":["Public","Private","PublicWithAuthorizations","AdminOnly"]},"possibleUsagePlans":{"type":"array","items":{"type":"string"}},"defaultUsagePlan":{"type":"string","nullable":true},"authorizedTeams":{"type":"array","nullable":true,"items":{"type":"string"}},"posts":{"type":"array","nullable":true,"items":{"type":"string"}},"issues":{"type":"array","nullable":true,"items":{"type":"string"}},"issuesTags":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/ApiIssueTag"}},"stars":{"type":"integer","format":"int32"},"parent":{"type":"string"},"apis":{"type":"array","items":{"type":"string"}},"state":{"type":"string","enum":["created","published","blocked","deprecated"]}},"required":["_id","_tenant","team","name","lastUpdate","currentVersion","documentation","visibility","possibleUsagePlans","state"]},"ApiIssueTag":{"description":"ApiIssueTag","properties":{"id":{"type":"string","nullable":true},"name":{"type":"string"},"color":{"type":"string"}},"required":["name","color"]},"Testing":{"description":"Testing","properties":{"enabled":{"type":"boolean","nullable":true},"auth":{"type":"string","enum":["ApiKey","Basic"],"nullable":true},"name":{"type":"string","nullable":true},"username":{"type":"string","nullable":true},"password":{"type":"string","nullable":true},"config":{"$ref":"#/components/schemas/TestingConfig","nullable":true}}},"ApiDocumentation":{"description":"ApiDocumentation","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"pages":{"type":"array","nullable":true,"items":{"$ref":"#/components/schemas/ApiDocumentationDetailPage"}},"lastModificationAt":{"type":"integer","format":"timestamp"}},"required":["_id","_tenant","lastModificationAt"]},"ApiState":{"description":"ApiState","properties":{},"required":["headers","content","value","url"]},"SwaggerAccess":{"description":"SwaggerAccess","properties":{"url":{"type":"string","nullable":true},"content":{"type":"string","nullable":true},"headers":{"type":"object","nullable":true}}},"Version":{"description":"Version","properties":{"value":{"type":"string"}},"required":["headers","content","value","url"]},"ApiVisibility":{"description":"ApiVisibility","properties":{},"required":["headers","content","url"]},"TestingConfig":{"description":"TestingConfig","properties":{"otoroshiSettings":{"type":"string"},"authorizedEntities":{"$ref":"#/components/schemas/AuthorizedEntities"},"clientName":{"type":"string"},"tag":{"type":"string"},"customMetadata":{"type":"object","nullable":true},"customMaxPerSecond":{"type":"integer","format":"int64","nullable":true},"customMaxPerDay":{"type":"integer","format":"int64","nullable":true},"customMaxPerMonth":{"type":"integer","format":"int64","nullable":true},"customReadOnly":{"type":"boolean","nullable":true}},"required":["otoroshiSettings","authorizedEntities","clientName","tag"]},"ApiDocumentationDetailPage":{"description":"ApiDocumentationDetailPage","properties":{"id":{"type":"string"},"title":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/components/schemas/ApiDocumentationDetailPage"}}},"required":["id","title","children"]},"AuthorizedEntities":{"description":"AuthorizedEntities","properties":{"services":{"type":"array","items":{"type":"string"}},"groups":{"type":"array","items":{"type":"string"}},"routes":{"type":"array","items":{"type":"string"}}},"required":["routes","groups","services"]},"ApiSubscription":{"description":"ApiSubscription","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"apiKey":{"$ref":"#/components/schemas/OtoroshiApiKey"},"plan":{"type":"string"},"team":{"type":"string"},"api":{"type":"string"},"createdAt":{"type":"integer","format":"timestamp"},"by":{"type":"string"},"customName":{"type":"string","nullable":true},"adminCustomName":{"type":"string","nullable":true},"enabled":{"type":"boolean","nullable":true},"rotation":{"$ref":"#/components/schemas/ApiSubscriptionRotation"},"integrationToken":{"type":"string"},"customMetadata":{"type":"object"},"metadata":{"type":"object","nullable":true},"tags":{"type":"array","items":{"type":"string"}},"customMaxPerSecond":{"type":"integer","format":"int64","nullable":true},"customMaxPerDay":{"type":"integer","format":"int64","nullable":true},"customMaxPerMonth":{"type":"integer","format":"int64","nullable":true},"customReadOnly":{"type":"boolean","nullable":true},"parent":{"type":"string","nullable":true},"thirdPartySubscriptionInformations":{"oneOf":[{"$ref":"#/components/schemas/ThirdPartySubscriptionInformations.Stripe"}]}},"required":["_id","_tenant","apiKey","plan","team","api","createdAt","by","integrationToken"]},"ThirdPartySubscriptionInformations.Stripe":{"description":"ThirdPartySubscriptionInformations","properties":{"subscriptionId":{"type":"string"},"primaryElementId":{"type":"string","nullable":true},"meteredElementId":{"type":"string","nullable":true}}},"OtoroshiApiKey":{"description":"OtoroshiApiKey","properties":{"clientName":{"type":"string"},"clientId":{"type":"string"},"clientSecret":{"type":"string"}},"required":["clientName","clientId","clientSecret"]},"ApiSubscriptionRotation":{"description":"ApiSubscriptionRotation","properties":{"enabled":{"type":"boolean"},"rotationEvery":{"type":"integer","format":"int64"},"gracePeriod":{"type":"integer","format":"int64"},"pendingRotation":{"type":"boolean"}},"required":["enabled","rotationEvery","gracePeriod","pendingRotation"]},"ApiDocumentationPage":{"description":"ApiDocumentationPage","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"title":{"type":"string"},"lastModificationAt":{"type":"integer","format":"timestamp"},"content":{"type":"string","nullable":true},"contentType":{"type":"string","nullable":true},"remoteContentEnabled":{"type":"boolean","nullable":true},"remoteContentUrl":{"type":"string","nullable":true},"remoteContentHeaders":{"type":"object","nullable":true}},"required":["_id","_tenant","title","lastModificationAt"]},"Notification":{"description":"Notification","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"team":{"type":"string"},"sender":{"$ref":"#/components/schemas/NotificationSender"},"date":{"type":"integer","format":"timestamp","nullable":true},"notificationType":{"type":"string","enum":["AcceptOrReject","AcceptOnly"]},"status":{"oneOf":[{"$ref":"#/components/schemas/NotificationStatus.Accepted"},{"$ref":"#/components/schemas/NotificationStatus.Rejected"},{"$ref":"#/components/schemas/NotificationStatus.Pending"}]},"action":{"oneOf":[{"$ref":"#/components/schemas/NotificationAction.ApiAccess"},{"$ref":"#/components/schemas/NotificationAction.TeamAccess"},{"$ref":"#/components/schemas/NotificationAction.ApiSubscription"},{"$ref":"#/components/schemas/NotificationAction.ApiSubscriptionReject"},{"$ref":"#/components/schemas/NotificationAction.ApiSubscriptionAccept"},{"$ref":"#/components/schemas/NotificationAction.OtoroshiSyncSubscriptionError"},{"$ref":"#/components/schemas/NotificationAction.OtoroshiSyncApiError"},{"$ref":"#/components/schemas/NotificationAction.ApiKeyDeletionInformation"},{"$ref":"#/components/schemas/NotificationAction.ApiKeyRotationInProgress"},{"$ref":"#/components/schemas/NotificationAction.ApiKeyRotationEnded"},{"$ref":"#/components/schemas/NotificationAction.TeamInvitation"},{"$ref":"#/components/schemas/NotificationAction.ApiKeyRefresh"},{"$ref":"#/components/schemas/NotificationAction.NewPostPublished"},{"$ref":"#/components/schemas/NotificationAction.NewIssueOpen"},{"$ref":"#/components/schemas/NotificationAction.NewCommentOnIssue"},{"$ref":"#/components/schemas/NotificationAction.TransferApiOwnership"},{"$ref":"#/components/schemas/NotificationAction.CheckoutForSubscription"}]}},"required":["_id","_tenant","sender","status","action"]},"NotificationAction.ApiAccess":{"description":"NotificationAction apiAccess","properties":{"api":{"type":"string"},"team":{"type":"string"}},"required":["api","team","sender"]},"NotificationAction.TeamAccess":{"description":"NotificationAction teamAccess","properties":{"team":{"type":"string"}},"required":["team"]},"NotificationAction.ApiSubscription":{"description":"NotificationAction teamAccess","properties":{"api":{"type":"string"},"plan":{"type":"string"},"team":{"type":"string"},"demand":{"type":"string"},"step":{"type":"string"},"parentSubscriptionId":{"type":"string","nullable":true},"motivation":{"type":"string","nullable":true}},"required":["api","plan","team","demand","step"]},"NotificationAction.ApiSubscriptionReject":{"description":"NotificationAction ApiSubscriptionReject","properties":{"api":{"type":"string"},"plan":{"type":"string"},"team":{"type":"string"},"message":{"type":"string","nullable":true}},"required":["api","plan","team"]},"NotificationAction.ApiSubscriptionAccept":{"description":"NotificationAction ApiSubscriptionAccept","properties":{"api":{"type":"string"},"plan":{"type":"string"},"team":{"type":"string"}},"required":["api","plan","team"]},"NotificationAction.OtoroshiSyncSubscriptionError":{"description":"NotificationAction OtoroshiSyncSubscriptionError","properties":{"subscription":{"type":"string"},"message":{"type":"string"}},"required":["subscription","message"]},"NotificationAction.OtoroshiSyncApiError":{"description":"NotificationAction OtoroshiSyncApiError","properties":{"api":{"type":"string"},"message":{"type":"string"}},"required":["api","message"]},"NotificationAction.ApiKeyDeletionInformation":{"description":"NotificationAction ApiKeyDeletionInformation","properties":{"api":{"type":"string"},"clientId":{"type":"string"}},"required":["api","clientId"]},"NotificationAction.ApiKeyRotationInProgress":{"description":"NotificationAction ApiKeyRotationInProgress","properties":{"clientId":{"type":"string"},"api":{"type":"string"},"plan":{"type":"string"}},"required":["clientId","api","plan"]},"NotificationAction.ApiKeyRotationEnded":{"description":"NotificationAction ApiKeyRotationEnded","properties":{"clientId":{"type":"string"},"api":{"type":"string"},"plan":{"type":"string"}},"required":["clientId","api","plan"]},"NotificationAction.TeamInvitation":{"description":"NotificationAction teamAccess","properties":{"team":{"type":"string"},"user":{"type":"string"}},"required":["team","user"]},"NotificationAction.ApiKeyRefresh":{"description":"NotificationAction ApiKeyRefresh","properties":{"subscription":{"type":"string"},"api":{"type":"string"},"plan":{"type":"string"}},"required":["subscription","api","plan"]},"NotificationAction.NewPostPublished":{"description":"NotificationAction NewPostPublished","properties":{"apiName":{"type":"string","nullable":true},"teamId":{"type":"string"}},"required":["teamId"]},"NotificationAction.NewIssueOpen":{"description":"NotificationAction NewIssueOpen","properties":{"apiName":{"type":"string"},"teamId":{"type":"string"},"linkTo":{"type":"string"}},"required":["apiName","teamId","linkTo"]},"NotificationAction.NewCommentOnIssue":{"description":"NotificationAction NewCommentOnIssue","properties":{"apiName":{"type":"string"},"teamId":{"type":"string"},"linkTo":{"type":"string"}},"required":["apiName","teamId","linkTo"]},"NotificationAction.TransferApiOwnership":{"description":"NotificationAction TransferApiOwnership","properties":{"api":{"type":"string"},"team":{"type":"string"}},"required":["api","team"]},"NotificationAction.CheckoutForSubscription":{"description":"NotificationAction teamAccess","properties":{"demand":{"type":"string"},"api":{"type":"string"},"plan":{"type":"string"},"step":{"type":"string"}},"required":["demand","api","plan","step"]},"NotificationStatus.Pending":{"description":"NotificationStatus pending","properties":{"status":{"type":"string","enum":["Pending"]}},"required":["status"]},"NotificationStatus.Accepted":{"description":"NotificationStatus pending","properties":{"status":{"type":"string","enum":["Accepted"]},"date":{"type":"integer","format":"timestamp"}},"required":["status","date"]},"NotificationStatus.Rejected":{"description":"NotificationStatus pending","properties":{"status":{"type":"string","enum":["Rejected"]},"date":{"type":"integer","format":"timestamp"}},"required":["status","date"]},"NotificationSender":{"description":"NotificationSender","properties":{"name":{"type":"string"},"email":{"type":"string"},"id":{"type":"string","description":"user id","nullable":true}},"required":["email","name"]},"UserSession":{"description":"UserSession","properties":{"_id":{"type":"string"},"sessionId":{"type":"string"},"userId":{"type":"string"},"userName":{"type":"string"},"userEmail":{"type":"string"},"impersonatorId":{"type":"string","nullable":true},"impersonatorName":{"type":"string","nullable":true},"impersonatorEmail":{"type":"string","nullable":true},"impersonatorSessionId":{"type":"string","nullable":true},"created":{"type":"integer","format":"timestamp","nullable":true},"ttl":{"type":"integer","format":"int64","nullable":true},"expires":{"type":"integer","format":"timestamp","nullable":true}},"required":["_id","sessionId","userId","userName","userEmail"]},"ApiKeyConsumption":{"description":"ApiKeyConsumption","properties":{"_id":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"_tenant":{"type":"string"},"team":{"type":"string"},"api":{"type":"string"},"plan":{"type":"string"},"clientId":{"type":"string"},"hits":{"type":"integer","format":"int32"},"globalInformations":{"$ref":"#/components/schemas/ApiKeyGlobalConsumptionInformations"},"quotas":{"$ref":"#/components/schemas/ApiKeyQuotas"},"billing":{"$ref":"#/components/schemas/ApiKeyBilling"},"from":{"type":"integer","format":"timestamp"},"to":{"type":"integer","format":"timestamp"},"state":{"type":"string","enum":["completed","inProgress"]}},"required":["_id","_tenant","team","api","plan","clientId","hits","globalInformations","quotas","billing","to","from","state"]},"ApiKeyBilling":{"description":"ApiKeyBilling","properties":{"hits":{"type":"integer","format":"int64"},"total":{"type":"number","format":"float64"}},"required":["hits","total"]},"ApiKeyQuotas":{"description":"ApiKeyQuotas","properties":{"authorizedCallsPerSec":{"type":"integer","format":"int64"},"currentCallsPerSec":{"type":"integer","format":"int64"},"remainingCallsPerSec":{"type":"integer","format":"int64"},"authorizedCallsPerDay":{"type":"integer","format":"int64"},"currentCallsPerDay":{"type":"integer","format":"int64"},"remainingCallsPerDay":{"type":"integer","format":"int64"},"authorizedCallsPerMonth":{"type":"integer","format":"int64"},"currentCallsPerMonth":{"type":"integer","format":"int64"},"remainingCallsPerMonth":{"type":"integer","format":"int64"}},"required":["authorizedCallsPerSec","currentCallsPerSec","remainingCallsPerSec","authorizedCallsPerDay","currentCallsPerDay","remainingCallsPerDay","authorizedCallsPerMonth","currentCallsPerMonth","remainingCallsPerMonth"]},"ApiKeyGlobalConsumptionInformations":{"description":"ApiKeyGlobalConsumptionInformations","properties":{"hits":{"type":"integer","format":"int64"},"dataIn":{"type":"integer","format":"int64"},"dataOut":{"type":"integer","format":"int64"},"avgDuration":{"type":"number","format":"float64","nullable":true},"avgOverhead":{"type":"number","format":"float64","nullable":true}},"required":["hits","dataIn","dataOut"]},"Message":{"description":"Message","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"messageType":{"oneOf":[{"$ref":"#/components/schemas/MessageType.Tenant"}]},"chat":{"type":"string","description":"user id"},"participants":{"type":"array","items":{"type":"string","description":"user ids of the tenant admins"}},"readBy":{"type":"array","items":{"type":"string","description":"user ids"}},"date":{"type":"integer","format":"timestamp"},"sender":{"type":"string","description":"user id"},"message":{"type":"string"},"closed":{"type":"integer","format":"timestamp","nullable":true},"send":{"type":"boolean","nullable":true}},"required":["_id","_tenant","chat","readBy","participants","message","messageType","date","sender"]},"MessageType.Tenant":{"description":"MessageType for Tenant administrators","properties":{"type":{"type":"string","enum":["tenant"]},"value":{"type":"string","description":"the id of the tenant"}}},"ApiIssue":{"description":"ApiIssue","properties":{"_id":{"type":"string"},"seqId":{"type":"integer","format":"int32","nullable":true},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"title":{"type":"string"},"tags":{"type":"array","nullable":true,"items":{"type":"string"}},"open":{"type":"boolean","nullable":true},"createdAt":{"type":"integer","format":"timestamp","nullable":true},"closedAt":{"type":"integer","format":"timestamp","nullable":true},"by":{"type":"string"},"comments":{"type":"array","items":{"$ref":"#/components/schemas/ApiIssueComment"}},"lastModificationAt":{"type":"integer","format":"timestamp","nullable":true},"apiVersion":{"type":"string","nullable":true}},"required":["_id","_tenant","title","by"]},"ApiIssueComment":{"description":"ApiIssueComment","properties":{"by":{"type":"string"},"createdAt":{"type":"integer","format":"timestamp","nullable":true},"lastModificationAt":{"type":"integer","format":"timestamp","nullable":true},"content":{"type":"string"}},"required":["content","by"]},"ApiPost":{"description":"ApiPost","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"title":{"type":"string"},"lastModificationAt":{"type":"integer","format":"timestamp"},"content":{"type":"string","nullable":true}},"required":["_id","_tenant","title","lastModificationAt"]},"Translation":{"description":"Translation","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"language":{"type":"string"},"key":{"type":"string"},"value":{"type":"string"},"lastModificationAt":{"type":"integer","format":"timestamp","nullable":true}},"required":["_id","_tenant","key","value","language"]},"UsagePlan.Admin":{"description":"UsagePlan","properties":{"type":{"type":"string","enum":["Admin"]},"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"otoroshiTarget":{"$ref":"#/components/schemas/OtoroshiTarget","nullable":true},"aggregationApiKeysSecurity":{"type":"boolean","nullable":false}},"required":["_id","_tenant"]},"UsagePlan.FreeWithoutQuotas":{"description":"UsagePlan","properties":{"type":{"type":"string","enum":["FreeWithoutQuotas"]},"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"currency":{"$ref":"#/components/schemas/Currency"},"customName":{"type":"string","nullable":true},"customDescription":{"type":"string","nullable":true},"otoroshiTarget":{"$ref":"#/components/schemas/OtoroshiTarget","nullable":true},"billingDuration":{"$ref":"#/components/schemas/BillingDuration"},"allowMultipleKeys":{"type":"boolean","nullable":true},"visibility":{"type":"string","enum":["Public","Private"]},"authorizedTeams":{"type":"array","items":{"type":"string"}},"autoRotation":{"type":"boolean","nullable":true},"subscriptionProcess":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionDemandStep.Email"},{"$ref":"#/components/schemas/SubscriptionDemandStep.TeamAdmin"},{"$ref":"#/components/schemas/SubscriptionDemandStep.Payment"},{"$ref":"#/components/schemas/SubscriptionDemandStep.HttpRequest"}]}},"integrationProcess":{"type":"string","enum":["Automatic","ApiKey"]},"aggregationApiKeysSecurity":{"type":"boolean","nullable":true},"swagger":{"nullable":true,"$ref":"#/components/schemas/SwaggerAccess"},"testing":{"nullable":true,"$ref":"#/components/schemas/Testing"},"documentation":{"nullable":true,"$ref":"#/components/schemas/ApiDocumentation"}},"required":["_id","_tenant","currency","billingDuration","subscriptionProcess","integrationProcess"]},"UsagePlan.FreeWithQuotas":{"description":"UsagePlan","properties":{"type":{"type":"string","enum":["FreeWithoutQuotas"]},"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"maxPerSecond":{"type":"integer","format":"int64"},"maxPerDay":{"type":"integer","format":"int64"},"maxPerMonth":{"type":"integer","format":"int64"},"currency":{"$ref":"#/components/schemas/Currency"},"customName":{"type":"string","nullable":true},"customDescription":{"type":"string","nullable":true},"otoroshiTarget":{"$ref":"#/components/schemas/OtoroshiTarget","nullable":true},"billingDuration":{"$ref":"#/components/schemas/BillingDuration"},"allowMultipleKeys":{"type":"boolean","nullable":true},"visibility":{"type":"string","enum":["Public","Private"]},"authorizedTeams":{"type":"array","items":{"type":"string"}},"autoRotation":{"type":"boolean","nullable":true},"subscriptionProcess":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionDemandStep.Email"},{"$ref":"#/components/schemas/SubscriptionDemandStep.TeamAdmin"},{"$ref":"#/components/schemas/SubscriptionDemandStep.Payment"},{"$ref":"#/components/schemas/SubscriptionDemandStep.HttpRequest"}]}},"integrationProcess":{"type":"string","enum":["Automatic","ApiKey"]},"aggregationApiKeysSecurity":{"type":"boolean","nullable":false},"swagger":{"nullable":true,"$ref":"#/components/schemas/SwaggerAccess"},"testing":{"nullable":true,"$ref":"#/components/schemas/Testing"},"documentation":{"nullable":true,"$ref":"#/components/schemas/ApiDocumentation"}},"required":["_id","_tenant","maxPerSecond","maxPerDay","maxPerMonth","currency","billingDuration","subscriptionProcess","integrationProcess"]},"UsagePlan.QuotasWithLimits":{"description":"UsagePlan","properties":{"type":{"type":"string","enum":["FreeWithoutQuotas"]},"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"maxPerSecond":{"type":"integer","format":"int64"},"maxPerDay":{"type":"integer","format":"int64"},"maxPerMonth":{"type":"integer","format":"int64"},"costPerMonth":{"type":"integer","format":"float64"},"trialPeriod":{"$ref":"#/components/schemas/BillingDuration"},"currency":{"$ref":"#/components/schemas/Currency"},"customName":{"type":"string","nullable":true},"customDescription":{"type":"string","nullable":true},"otoroshiTarget":{"$ref":"#/components/schemas/OtoroshiTarget","nullable":true},"billingDuration":{"$ref":"#/components/schemas/BillingDuration"},"allowMultipleKeys":{"type":"boolean","nullable":true},"visibility":{"type":"string","enum":["Public","Private"]},"authorizedTeams":{"type":"array","items":{"type":"string"}},"autoRotation":{"type":"boolean","nullable":true},"subscriptionProcess":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionDemandStep.Email"},{"$ref":"#/components/schemas/SubscriptionDemandStep.TeamAdmin"},{"$ref":"#/components/schemas/SubscriptionDemandStep.Payment"},{"$ref":"#/components/schemas/SubscriptionDemandStep.HttpRequest"}]}},"integrationProcess":{"type":"string","enum":["Automatic","ApiKey"]},"aggregationApiKeysSecurity":{"type":"boolean","nullable":false},"swagger":{"nullable":true,"$ref":"#/components/schemas/SwaggerAccess"},"testing":{"nullable":true,"$ref":"#/components/schemas/Testing"},"documentation":{"nullable":true,"$ref":"#/components/schemas/ApiDocumentation"}},"required":["_id","_tenant","maxPerSecond","maxPerDay","maxPerMonth","costPerMonth","trialPeriod","currency","billingDuration","subscriptionProcess","integrationProcess"]},"UsagePlan.QuotasWithoutLimits":{"description":"UsagePlan","properties":{"type":{"type":"string","enum":["FreeWithoutQuotas"]},"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"maxPerSecond":{"type":"integer","format":"int64"},"maxPerDay":{"type":"integer","format":"int64"},"maxPerMonth":{"type":"integer","format":"int64"},"costPerMonth":{"type":"integer","format":"float64"},"costPerAdditionalRequest":{"type":"integer","format":"float64"},"trialPeriod":{"$ref":"#/components/schemas/BillingDuration"},"currency":{"$ref":"#/components/schemas/Currency"},"customName":{"type":"string","nullable":true},"customDescription":{"type":"string","nullable":true},"otoroshiTarget":{"$ref":"#/components/schemas/OtoroshiTarget","nullable":true},"billingDuration":{"$ref":"#/components/schemas/BillingDuration"},"allowMultipleKeys":{"type":"boolean","nullable":true},"visibility":{"type":"string","enum":["Public","Private"]},"authorizedTeams":{"type":"array","items":{"type":"string"}},"autoRotation":{"type":"boolean","nullable":true},"subscriptionProcess":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionDemandStep.Email"},{"$ref":"#/components/schemas/SubscriptionDemandStep.TeamAdmin"},{"$ref":"#/components/schemas/SubscriptionDemandStep.Payment"},{"$ref":"#/components/schemas/SubscriptionDemandStep.HttpRequest"}]}},"integrationProcess":{"type":"string","enum":["Automatic","ApiKey"]},"aggregationApiKeysSecurity":{"type":"boolean","nullable":false},"swagger":{"nullable":true,"$ref":"#/components/schemas/SwaggerAccess"},"testing":{"nullable":true,"$ref":"#/components/schemas/Testing"},"documentation":{"nullable":true,"$ref":"#/components/schemas/ApiDocumentation"},"paymentSettings":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/PaymentSettings.Stripe"}]}},"required":["_id","_tenant","maxPerSecond","maxPerDay","maxPerMonth","costPerMonth","trialPeriod","costPerAdditionalRequest","currency","billingDuration","subscriptionProcess","integrationProcess"]},"UsagePlan.PayPerUse":{"description":"UsagePlan","properties":{"type":{"type":"string","enum":["FreeWithoutQuotas"]},"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean","nullable":true},"costPerMonth":{"type":"integer","format":"float64"},"costPerRequest":{"type":"integer","format":"float64"},"trialPeriod":{"$ref":"#/components/schemas/BillingDuration"},"billingDuration":{"$ref":"#/components/schemas/BillingDuration"},"currency":{"$ref":"#/components/schemas/Currency"},"customName":{"type":"string","nullable":true},"customDescription":{"type":"string","nullable":true},"otoroshiTarget":{"$ref":"#/components/schemas/OtoroshiTarget","nullable":true},"allowMultipleKeys":{"type":"boolean","nullable":true},"visibility":{"type":"string","enum":["Public","Private"]},"authorizedTeams":{"type":"array","items":{"type":"string"}},"autoRotation":{"type":"boolean","nullable":true},"subscriptionProcess":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionDemandStep.Email"},{"$ref":"#/components/schemas/SubscriptionDemandStep.TeamAdmin"},{"$ref":"#/components/schemas/SubscriptionDemandStep.Payment"},{"$ref":"#/components/schemas/SubscriptionDemandStep.HttpRequest"}]}},"integrationProcess":{"type":"string","enum":["Automatic","ApiKey"]},"aggregationApiKeysSecurity":{"type":"boolean","nullable":false},"swagger":{"nullable":true,"$ref":"#/components/schemas/SwaggerAccess"},"testing":{"nullable":true,"$ref":"#/components/schemas/Testing"},"documentation":{"nullable":true,"$ref":"#/components/schemas/ApiDocumentation"},"paymentSettings":{"nullable":true,"oneOf":[{"$ref":"#/components/schemas/PaymentSettings.Stripe"}]}},"required":["_id","_tenant","costPerMonth","trialPeriod","costPerRequest","currency","billingDuration","subscriptionProcess","integrationProcess"]},"Currency":{"description":"Currency","properties":{"code":{"type":"string"}},"required":["code"]},"BillingDuration":{"description":"BillingDuration","properties":{"value":{"type":"integer","format":"int64"},"unit":{"type":"string","enum":["hour","hours","day","days","month","months","year","years"]}}},"OtoroshiTarget":{"description":"Otoroshi target","properties":{"otoroshiSettings":{"type":"string"},"authorizedEntities":{"$ref":"#/components/schemas/AuthorizedEntities"},"apikeyCustomization":{"$ref":"#/components/schemas/ApikeyCustomization"}},"required":["otoroshiSettings","authorizedEntities","apikeyCustomization"]},"PaymentSettings.Stripe":{"description":"PaymentSettings.Stripe","properties":{"thirdPartyPaymentSettingsId":{"type":"string"},"productId":{"type":"string"},"priceIds":{"$ref":"#/components/schemas/StripePriceIds"}},"required":["thirdPartyPaymentSettings","productId","priceIds"]},"StripePriceIds":{"description":"StripePriceIds","properties":{"basePriceId":{"type":"string"},"additionalPriceId":{"type":"string","nullable":true}},"required":["basePriceId"]},"ApikeyCustomization":{"description":"Apikey customization","properties":{"clientIdOnly":{"type":"boolean","nullable":true},"readOnly":{"type":"boolean","nullable":true},"constrainedServicesOnly":{"type":"boolean","nullable":true},"metadata":{"type":"object","nullable":true},"customMetadata":{"type":"object","nullable":true},"tags":{"type":"array","items":{"type":"string"},"nullable":true},"restrictions":{"$ref":"#/components/schemas/ApiKeyRestrictions"}},"required":["restrictions"]},"ApiKeyRestrictions":{"description":"ApiKey Restrictions","properties":{"enabled":{"type":"boolean","nullable":true},"allowlast":{"type":"boolean","nullable":true},"allowed":{"type":"array","items":{"$ref":"#/components/schemas/ApiKeyRestrictionPath"}},"forbidden":{"type":"array","items":{"$ref":"#/components/schemas/ApiKeyRestrictionPath"}},"notFound":{"type":"array","items":{"$ref":"#/components/schemas/ApiKeyRestrictionPath"}}}},"ApiKeyRestrictionPath":{"description":"ApiKeyRestriction Path","properties":{"method":{"type":"string"},"path":{"type":"string"}},"required":["method","path"]},"SubscriptionDemand":{"description":"SubscriptionDemand","properties":{"_id":{"type":"string"},"_tenant":{"type":"string"},"_deleted":{"type":"boolean"},"api":{"type":"string"},"plan":{"type":"string"},"steps":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/SubscriptionDemandStep.Email"},{"$ref":"#/components/schemas/SubscriptionDemandStep.TeamAdmin"},{"$ref":"#/components/schemas/SubscriptionDemandStep.Payment"},{"$ref":"#/components/schemas/SubscriptionDemandStep.HttpRequest"}]}},"state":{"$ref":"#/components/schemas/SubscriptionDemandState"},"team":{"type":"string"},"from":{"type":"string"},"date":{"type":"integer","format":"timestamp"},"motivation":{"type":"string","nullable":true},"parentSubscriptionId":{"type":"string","nullable":true},"customReadOnly":{"type":"boolean","nullable":true},"customMetadata":{"type":"object"},"customMaxPerSecond":{"type":"integer","format":"int64","nullable":true},"customMaxPerDay":{"type":"integer","format":"int64","nullable":true},"customMaxPerMonth":{"type":"integer","format":"int64","nullable":true},"adminCustomName":{"type":"string","nullable":true}},"required":["_id","_tenant","api","plan","team","steps","state","from","date"]},"SubscriptionDemandState":{"description":"SubscriptionDemandStep","properties":{"id":{"type":"string"},"state":{"type":"string","enum":["waiting","inProgress","canceled","accepted","refused","blocked"]},"step":{"$ref":"#/components/schemas/ValidationStep"},"metadata":{"type":"object"}},"required":["id","step","state","metadata"]},"SubscriptionDemandStep.Email":{"description":"SubscriptionDemandState by Email","properties":{"type":{"type":"string","enum":["email"]},"id":{"type":"string"},"emails":{"type":"array","items":{"type":"string","format":"email"}},"title":{"type":"string"},"message":{"type":"string","nullable":true}},"required":["type","id","emails","title"]},"SubscriptionDemandStep.TeamAdmin":{"description":"SubscriptionDemandState by team admin","properties":{"type":{"type":"string","enum":["teamAdmin"]},"id":{"type":"string"},"schema":{"type":"object","nullable":true},"formatter":{"type":"string","nullable":true},"title":{"type":"string"}},"required":["type","id","title"]},"SubscriptionDemandStep.Payment":{"description":"SubscriptionDemandState by payment","properties":{"type":{"type":"string","enum":["payment"]},"id":{"type":"string"},"thirdPartyPaymentSettingsId":{"type":"string"},"title":{"type":"string"}},"required":["type","id","thirdPartyPaymentSettingsId","title"]},"SubscriptionDemandStep.HttpRequest":{"description":"SubscriptionDemandState by Http request","properties":{"type":{"type":"string","enum":["httpRequest"]},"id":{"type":"string"},"url":{"type":"string"},"headers":{"type":"object","nullable":true}},"required":["type","id","url","title"]},"ValidationStep":{"description":"ValidationStep","properties":{}}}},"paths":{"/admin-api/tenants/{id}":{"delete":{"summary":"delete a tenant","operationId":"tenants.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","description":"The ID of the tenant to delete","required":true}],"tags":["tenant"]},"patch":{"summary":"update a tenant with JSON patch or by merging JSON object","operationId":"tenants.patch","requestBody":{"description":"the patch to update the tenant or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/Tenant"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","description":"The tenant ID to update","required":true}],"tags":["tenant"]},"put":{"summary":"update a tenant","operationId":"tenants.update","requestBody":{"description":"the ID of the tenant to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tenant"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","description":"The ID of the tenant to update","required":true}],"tags":["tenant"]},"get":{"summary":"read a tenant","operationId":"tenants.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/Tenant"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","description":"The ID of the tenant to retrieve","required":true}],"tags":["tenant"]}},"/admin-api/tenants":{"get":{"summary":"read all tenant","operationId":"tenants.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Tenant"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["tenant"]},"post":{"summary":"create a tenant","requestBody":{"description":"the tenant to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tenant"}}}},"operationId":"tenants.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tenant"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["tenant"]}},"/admin-api/users/{id}":{"delete":{"summary":"delete a user","operationId":"users.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user"]},"patch":{"summary":"update a user with JSON patch or by merging JSON object","operationId":"users.patch","requestBody":{"description":"the patch to update the user or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/User"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user"]},"put":{"summary":"update a user","operationId":"users.update","requestBody":{"description":"the user to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user"]},"get":{"summary":"read a user","operationId":"users.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/User"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user"]}},"/admin-api/users":{"get":{"summary":"read all user","operationId":"users.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/User"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["user"]},"post":{"summary":"creates a user","requestBody":{"description":"the user to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"operationId":"users.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["user"]}},"/admin-api/teams/{id}":{"delete":{"summary":"delete a team","operationId":"teams.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["team"]},"patch":{"summary":"update a team with JSON patch or by merging JSON object","operationId":"teams.patch","requestBody":{"description":"the patch to update the team or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/Team"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["team"]},"put":{"summary":"update a team","operationId":"teams.update","requestBody":{"description":"the team to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Team"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["team"]},"get":{"summary":"read a team","operationId":"teams.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/Team"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["team"]}},"/admin-api/teams":{"get":{"summary":"read all team","operationId":"teams.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Team"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["team"]},"post":{"summary":"creates a team","requestBody":{"description":"the team to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Team"}}}},"operationId":"teams.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Team"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["team"]}},"/admin-api/apis/{id}":{"delete":{"summary":"delete a api","operationId":"apis.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api"]},"patch":{"summary":"update a api with JSON patch or by merging JSON object","operationId":"apis.patch","requestBody":{"description":"the patch to update the api or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/Api"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api"]},"put":{"summary":"update a api","operationId":"apis.update","requestBody":{"description":"the api to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api"]},"get":{"summary":"read a api","operationId":"apis.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/Api"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api"]}},"/admin-api/apis":{"get":{"summary":"read all api","operationId":"apis.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Api"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api"]},"post":{"summary":"creates a api","requestBody":{"description":"the api to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"operationId":"apis.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api"]}},"/admin-api/subscriptions/{id}":{"delete":{"summary":"delete a api-subscription","operationId":"api-subscriptions.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-subscription"]},"patch":{"summary":"update a api-subscription with JSON patch or by merging JSON object","operationId":"api-subscriptions.patch","requestBody":{"description":"the patch to update the api-subscription or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/ApiSubscription"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-subscription"]},"put":{"summary":"update a api-subscription","operationId":"api-subscriptions.update","requestBody":{"description":"the api-subscription to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiSubscription"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-subscription"]},"get":{"summary":"read a api-subscription","operationId":"api-subscriptions.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/ApiSubscription"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-subscription"]}},"/admin-api/subscriptions":{"get":{"summary":"read all api-subscription","operationId":"api-subscriptions.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiSubscription"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api-subscription"]},"post":{"summary":"creates a api-subscription","requestBody":{"description":"the api-subscription to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiSubscription"}}}},"operationId":"api-subscriptions.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiSubscription"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api-subscription"]}},"/admin-api/pages/{id}":{"delete":{"summary":"delete a api-documentation-page","operationId":"api-documentation-pages.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-documentation-page"]},"patch":{"summary":"update a api-documentation-page with JSON patch or by merging JSON object","operationId":"api-documentation-pages.patch","requestBody":{"description":"the patch to update the api-documentation-page or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/ApiDocumentationPage"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-documentation-page"]},"put":{"summary":"update a api-documentation-page","operationId":"api-documentation-pages.update","requestBody":{"description":"the api-documentation-page to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiDocumentationPage"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-documentation-page"]},"get":{"summary":"read a api-documentation-page","operationId":"api-documentation-pages.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/ApiDocumentationPage"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-documentation-page"]}},"/admin-api/pages":{"get":{"summary":"read all api-documentation-page","operationId":"api-documentation-pages.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiDocumentationPage"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api-documentation-page"]},"post":{"summary":"creates a api-documentation-page","requestBody":{"description":"the api-documentation-page to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiDocumentationPage"}}}},"operationId":"api-documentation-pages.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiDocumentationPage"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api-documentation-page"]}},"/admin-api/notifications/{id}":{"delete":{"summary":"delete a notification","operationId":"notifications.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["notification"]},"patch":{"summary":"update a notification with JSON patch or by merging JSON object","operationId":"notifications.patch","requestBody":{"description":"the patch to update the notification or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/Notification"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["notification"]},"put":{"summary":"update a notification","operationId":"notifications.update","requestBody":{"description":"the notification to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Notification"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["notification"]},"get":{"summary":"read a notification","operationId":"notifications.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/Notification"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["notification"]}},"/admin-api/notifications":{"get":{"summary":"read all notification","operationId":"notifications.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Notification"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["notification"]},"post":{"summary":"creates a notification","requestBody":{"description":"the notification to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Notification"}}}},"operationId":"notifications.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Notification"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["notification"]}},"/admin-api/sessions/{id}":{"delete":{"summary":"delete a user-session","operationId":"user-sessions.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user-session"]},"patch":{"summary":"update a user-session with JSON patch or by merging JSON object","operationId":"user-sessions.patch","requestBody":{"description":"the patch to update the user-session or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/UserSession"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user-session"]},"put":{"summary":"update a user-session","operationId":"user-sessions.update","requestBody":{"description":"the user-session to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSession"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user-session"]},"get":{"summary":"read a user-session","operationId":"user-sessions.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/UserSession"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["user-session"]}},"/admin-api/sessions":{"get":{"summary":"read all user-session","operationId":"user-sessions.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/UserSession"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["user-session"]},"post":{"summary":"creates a user-session","requestBody":{"description":"the user-session to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSession"}}}},"operationId":"user-sessions.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserSession"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["user-session"]}},"/admin-api/consumptions/{id}":{"delete":{"summary":"delete a api-key-consumption","operationId":"api-key-consumptions.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-key-consumption"]},"patch":{"summary":"update a api-key-consumption with JSON patch or by merging JSON object","operationId":"api-key-consumptions.patch","requestBody":{"description":"the patch to update the api-key-consumption or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/ApiKeyConsumption"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-key-consumption"]},"put":{"summary":"update a api-key-consumption","operationId":"api-key-consumptions.update","requestBody":{"description":"the api-key-consumption to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyConsumption"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-key-consumption"]},"get":{"summary":"read a api-key-consumption","operationId":"api-key-consumptions.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/ApiKeyConsumption"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["api-key-consumption"]}},"/admin-api/consumptions":{"get":{"summary":"read all api-key-consumption","operationId":"api-key-consumptions.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiKeyConsumption"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api-key-consumption"]},"post":{"summary":"creates a api-key-consumption","requestBody":{"description":"the api-key-consumption to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyConsumption"}}}},"operationId":"api-key-consumptions.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKeyConsumption"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["api-key-consumption"]}},"/admin-api/audit-events/{id}":{"delete":{"summary":"delete a audit-event","operationId":"audit-events.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["audit-event"]},"patch":{"summary":"update a audit-event with JSON patch or by merging JSON object","operationId":"audit-events.patch","requestBody":{"description":"the patch to update the audit-event or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/object"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["audit-event"]},"put":{"summary":"update a audit-event","operationId":"audit-events.update","requestBody":{"description":"the audit-event to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/object"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["audit-event"]},"get":{"summary":"read a audit-event","operationId":"audit-events.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/object"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["audit-event"]}},"/admin-api/audit-events":{"get":{"summary":"read all audit-event","operationId":"audit-events.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/object"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["audit-event"]},"post":{"summary":"creates a audit-event","requestBody":{"description":"the audit-event to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/object"}}}},"operationId":"audit-events.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/object"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["audit-event"]}},"/admin-api/messages/{id}":{"delete":{"summary":"delete a message","operationId":"messages.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["message"]},"patch":{"summary":"update a message with JSON patch or by merging JSON object","operationId":"messages.patch","requestBody":{"description":"the patch to update the message or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/Message"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["message"]},"put":{"summary":"update a message","operationId":"messages.update","requestBody":{"description":"the message to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["message"]},"get":{"summary":"read a message","operationId":"messages.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/Message"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["message"]}},"/admin-api/messages":{"get":{"summary":"read all message","operationId":"messages.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Message"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["message"]},"post":{"summary":"creates a message","requestBody":{"description":"the message to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"operationId":"messages.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Message"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["message"]}},"/admin-api/issues/{id}":{"delete":{"summary":"delete a issue","operationId":"issues.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["issue"]},"patch":{"summary":"update a issue with JSON patch or by merging JSON object","operationId":"issues.patch","requestBody":{"description":"the patch to update the issue or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/ApiIssue"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["issue"]},"put":{"summary":"update a issue","operationId":"issues.update","requestBody":{"description":"the issue to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiIssue"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["issue"]},"get":{"summary":"read a issue","operationId":"issues.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/ApiIssue"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["issue"]}},"/admin-api/issues":{"get":{"summary":"read all issue","operationId":"issues.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiIssue"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["issue"]},"post":{"summary":"creates a issue","requestBody":{"description":"the issue to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiIssue"}}}},"operationId":"issues.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiIssue"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["issue"]}},"/admin-api/posts/{id}":{"delete":{"summary":"delete a post","operationId":"posts.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["post"]},"patch":{"summary":"update a post with JSON patch or by merging JSON object","operationId":"posts.patch","requestBody":{"description":"the patch to update the post or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/ApiPost"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["post"]},"put":{"summary":"update a post","operationId":"posts.update","requestBody":{"description":"the post to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiPost"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["post"]},"get":{"summary":"read a post","operationId":"posts.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/ApiPost"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["post"]}},"/admin-api/posts":{"get":{"summary":"read all post","operationId":"posts.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiPost"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["post"]},"post":{"summary":"creates a post","requestBody":{"description":"the post to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiPost"}}}},"operationId":"posts.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiPost"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["post"]}},"/admin-api/translations/{id}":{"delete":{"summary":"delete a translation","operationId":"translations.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["translation"]},"patch":{"summary":"update a translation with JSON patch or by merging JSON object","operationId":"translations.patch","requestBody":{"description":"the patch to update the translation or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/Translation"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["translation"]},"put":{"summary":"update a translation","operationId":"translations.update","requestBody":{"description":"the translation to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Translation"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["translation"]},"get":{"summary":"read a translation","operationId":"translations.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/Translation"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["translation"]}},"/admin-api/translations":{"get":{"summary":"read all translation","operationId":"translations.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Translation"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["translation"]},"post":{"summary":"creates a translation","requestBody":{"description":"the translation to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Translation"}}}},"operationId":"translations.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Translation"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["translation"]}},"/admin-api/usage-plans/{id}":{"delete":{"summary":"delete a usage-plan","operationId":"usage-plans.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["usage-plan"]},"patch":{"summary":"update a usage-plan with JSON patch or by merging JSON object","operationId":"usage-plans.patch","requestBody":{"description":"the patch to update the usage-plan or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/UsagePlan.Admin"},{"$ref":"#/components/schemas/UsagePlan.FreeWithoutQuotas"},{"$ref":"#/components/schemas/UsagePlan.FreeWithQuotas"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithLimits"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithoutLimits"},{"$ref":"#/components/schemas/UsagePlan.PayPerUse"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["usage-plan"]},"put":{"summary":"update a usage-plan","operationId":"usage-plans.update","requestBody":{"description":"the usage-plan to update","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UsagePlan.Admin"},{"$ref":"#/components/schemas/UsagePlan.FreeWithoutQuotas"},{"$ref":"#/components/schemas/UsagePlan.FreeWithQuotas"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithLimits"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithoutLimits"},{"$ref":"#/components/schemas/UsagePlan.PayPerUse"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["usage-plan"]},"get":{"summary":"read a usage-plan","operationId":"usage-plans.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"oneOf":[{"$ref":"#/components/schemas/UsagePlan.Admin"},{"$ref":"#/components/schemas/UsagePlan.FreeWithoutQuotas"},{"$ref":"#/components/schemas/UsagePlan.FreeWithQuotas"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithLimits"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithoutLimits"},{"$ref":"#/components/schemas/UsagePlan.PayPerUse"}]}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["usage-plan"]}},"/admin-api/usage-plans":{"get":{"summary":"read all usage-plan","operationId":"usage-plans.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/UsagePlan.Admin"},{"$ref":"#/components/schemas/UsagePlan.FreeWithoutQuotas"},{"$ref":"#/components/schemas/UsagePlan.FreeWithQuotas"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithLimits"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithoutLimits"},{"$ref":"#/components/schemas/UsagePlan.PayPerUse"}]}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["usage-plan"]},"post":{"summary":"creates a usage-plan","requestBody":{"description":"the usage-plan to create","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UsagePlan.Admin"},{"$ref":"#/components/schemas/UsagePlan.FreeWithoutQuotas"},{"$ref":"#/components/schemas/UsagePlan.FreeWithQuotas"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithLimits"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithoutLimits"},{"$ref":"#/components/schemas/UsagePlan.PayPerUse"}]}}}},"operationId":"usage-plans.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/UsagePlan.Admin"},{"$ref":"#/components/schemas/UsagePlan.FreeWithoutQuotas"},{"$ref":"#/components/schemas/UsagePlan.FreeWithQuotas"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithLimits"},{"$ref":"#/components/schemas/UsagePlan.QuotasWithoutLimits"},{"$ref":"#/components/schemas/UsagePlan.PayPerUse"}]}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["usage-plan"]}},"/admin-api/subscription-demands/{id}":{"delete":{"summary":"delete a subscription-demand","operationId":"subscription-demands.delete","responses":{"200":{"description":"entity deleted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/done"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["subscription-demand"]},"patch":{"summary":"update a subscription-demand with JSON patch or by merging JSON object","operationId":"subscription-demands.patch","requestBody":{"description":"the patch to update the subscription-demand or a JSON object","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/patch"},{"$ref":"#/components/schemas/SubscriptionDemand"}]}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["subscription-demand"]},"put":{"summary":"update a subscription-demand","operationId":"subscription-demands.update","requestBody":{"description":"the subscription-demand to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionDemand"}}}},"responses":{"204":{"description":"No Content"},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["subscription-demand"]},"get":{"summary":"read a subscription-demand","operationId":"subscription-demands.findById","responses":{"200":{"description":"found entity","content":{"application/json":{"schema":{"type":"object","items":{"$ref":"#/components/schemas/SubscriptionDemand"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"path","name":"id","required":true}],"tags":["subscription-demand"]}},"/admin-api/subscription-demands":{"get":{"summary":"read all subscription-demand","operationId":"subscription-demands.findAll","responses":{"200":{"description":"success","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SubscriptionDemand"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["subscription-demand"]},"post":{"summary":"creates a subscription-demand","requestBody":{"description":"the subscription-demand to create","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionDemand"}}}},"operationId":"subscription-demands.create","responses":{"201":{"description":"entity created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionDemand"}}}},"400":{"description":"bad entity format","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"tags":["subscription-demand"]}},"/integration-api/apis":{"get":{"summary":"get all public apis for integration","operationId":"integration-api.findallapis","responses":{"200":{"description":"List of public APIs","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Api"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true}],"tags":["integration-apis"]}},"/integration-api/{teamId}":{"get":{"summary":"get all teams for integration","operationId":"integration-api.findallateams","responses":{"200":{"description":"List of teams","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Team"}}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true},{"schema":{"type":"string"},"in":"path","name":"teamId","required":true}],"tags":["integration-apis"]}},"/integration-api/{teamId}/{apiId}/complete":{"get":{"summary":"get complete API for integration","operationId":"integration-api.findcompleteapi","responses":{"200":{"description":"Complete API","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Team"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true},{"schema":{"type":"string"},"in":"path","name":"teamId","required":true},{"schema":{"type":"string"},"in":"path","name":"apiId","required":true}],"tags":["integration-apis"]}},"/integration-api/{teamId}/{apiId}/description":{"get":{"summary":"get API description","operationId":"integration-api.findapidescription","responses":{"200":{"description":"API description","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true},{"schema":{"type":"string"},"in":"path","name":"teamId","required":true},{"schema":{"type":"string"},"in":"path","name":"apiId","required":true}],"tags":["integration-apis"]}},"/integration-api/{teamId}/{apiId}/plans":{"get":{"summary":"get API plans","operationId":"integration-api.findapiplans","responses":{"200":{"description":"API plans","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true},{"schema":{"type":"string"},"in":"path","name":"teamId","required":true},{"schema":{"type":"string"},"in":"path","name":"apiId","required":true}],"tags":["integration-apis"]}},"/integration-api/{teamId}/{apiId}/documentation":{"get":{"summary":"get API documentation","operationId":"integration-api.findapidocumentation","responses":{"200":{"description":"API documentation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true},{"schema":{"type":"string"},"in":"path","name":"teamId","required":true},{"schema":{"type":"string"},"in":"path","name":"apiId","required":true}],"tags":["integration-apis"]}},"/integration-api/{teamId}/{apiId}/apidoc":{"get":{"summary":"get API description","operationId":"integration-api.findapidoc","responses":{"200":{"description":"API doc (swagger)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true},{"schema":{"type":"string"},"in":"path","name":"teamId","required":true},{"schema":{"type":"string"},"in":"path","name":"apiId","required":true}],"tags":["integration-apis"]}},"/integration-api/{teamId}/{apiId}":{"get":{"summary":"get API","operationId":"integration-api.findapi","responses":{"200":{"description":"API","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Api"}}}},"401":{"description":"unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}},"404":{"description":"entity not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/error"}}}}},"parameters":[{"schema":{"type":"string"},"in":"header","name":"X-Personal-Token","required":true},{"schema":{"type":"string"},"in":"path","name":"teamId","required":true},{"schema":{"type":"string"},"in":"path","name":"apiId","required":true}],"tags":["integration-apis"]}},"/admin-api/search":{"post":{"summary":"search with GraphQL","operationId":"GraphQL.search","requestBody":{"description":"GraphQL query","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/GraphQLQuery"}]}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphQLResponse"}}}}},"tags":["GraphQL"]}},"/admin-api/schema":{"post":{"summary":"search with GraphQL","operationId":"GraphQL.schema","requestBody":{"description":"get GraphQL schema","required":true,"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/GraphQLQuery"}]}}}},"responses":{"200":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphQLSchema"}}}}},"tags":["GraphQL"]}},"/admin-api/credentials/{token}/plans":{"get":{"summary":"get apikey from integration token","tags":["Integration ApiKey"],"parameters":[{"in":"path","name":"token","schema":{"type":"string"},"required":true,"description":"integration token"}],"responses":{"200":{"description":"success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OtoroshiApiKey"}}}}}}}}}}},"docusaurus-theme-redoc":{"theme-redoc":{"lightTheme":{"typography":{"fontFamily":"var(--ifm-font-family-base)","fontSize":"var(--ifm-font-size-base)","lineHeight":"var(--ifm-line-height-base)","fontWeightLight":"var(--ifm-font-weight-light)","fontWeightRegular":"var(--ifm-font-weight-base)","fontWeightBold":"var(--ifm-font-weight-bold)","headings":{"fontFamily":"var(--ifm-heading-font-family)","fontWeight":"var(--ifm-heading-font-weight)","lineHeight":"var(--ifm-heading-line-height)"},"code":{"fontFamily":"var(--ifm-font-family-monospace)","lineHeight":"var(--ifm-pre-line-height)"}},"sidebar":{"width":"300px","backgroundColor":"#ffffff"},"rightPanel":{"backgroundColor":"#303846"},"colors":{"primary":{"main":"#25c2a0"}},"theme":{"prism":{"additionalLanguages":["scala"]}}},"darkTheme":{"typography":{"fontFamily":"var(--ifm-font-family-base)","fontSize":"var(--ifm-font-size-base)","lineHeight":"var(--ifm-line-height-base)","fontWeightLight":"var(--ifm-font-weight-light)","fontWeightRegular":"var(--ifm-font-weight-base)","fontWeightBold":"var(--ifm-font-weight-bold)","headings":{"fontFamily":"var(--ifm-heading-font-family)","fontWeight":"var(--ifm-heading-font-weight)","lineHeight":"var(--ifm-heading-line-height)"},"code":{"fontFamily":"var(--ifm-font-family-monospace)","lineHeight":"var(--ifm-pre-line-height)"}},"sidebar":{"width":"300px","backgroundColor":"rgb(24, 25, 26)","textColor":"#f5f6f7","arrow":{"color":"#f5f6f7"}},"colors":{"text":{"primary":"#f5f6f7","secondary":"rgba(255, 255, 255, 1)"},"gray":{"50":"#FAFAFA","100":"#F5F5F5"},"border":{"dark":"#ffffff","light":"rgba(0,0,0, 0.1)"},"primary":{"main":"#25c2a0"}},"schema":{"nestedBackground":"rgb(24, 25, 26)","typeNameColor":"rgba(255, 255, 255, 1)","typeTitleColor":"rgba(255, 255, 255, 1)"},"theme":{"prism":{"additionalLanguages":["scala"]}}},"options":{"scrollYOffset":"nav.navbar","expandSingleSchemaField":true,"menuToggle":true,"suppressWarnings":true}}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var s=n(22654);const c=JSON.parse('{"docusaurusVersion":"3.6.2","siteVersion":"17.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.6.2"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.6.2"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.6.2"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.6.2"},"docusaurus-plugin-redoc":{"type":"package","name":"docusaurus-plugin-redoc","version":"2.1.1"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.6.2"},"docusaurus-theme-redoc":{"type":"package","name":"docusaurus-theme-redoc","version":"2.2.0"},"@easyops-cn/docusaurus-search-local":{"type":"package","name":"@easyops-cn/docusaurus-search-local","version":"0.37.5"}}}');var l=n(74848);const u={siteConfig:a.default,siteMetadata:c,globalData:o,i18n:i,codeTranslations:s},d=r.createContext(u);function p(e){let{children:t}=e;return(0,l.jsx)(d.Provider,{value:u,children:t})}},67489:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var r=n(96540),a=n(38193),o=n(5260),i=n(70440),s=n(2258),c=n(53102),l=n(74848);function u(e){let{error:t,tryAgain:n}=e;return(0,l.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,l.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,l.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,l.jsx)(d,{error:t})]})}function d(e){let{error:t}=e;const n=(0,i.rA)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,l.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function p(e){let{children:t}=e;return(0,l.jsx)(c.W,{value:{plugin:{name:"docusaurus-core-error-boundary",id:"default"}},children:t})}function f(e){let{error:t,tryAgain:n}=e;return(0,l.jsx)(p,{children:(0,l.jsxs)(h,{fallback:()=>(0,l.jsx)(u,{error:t,tryAgain:n}),children:[(0,l.jsx)(o.A,{children:(0,l.jsx)("title",{children:"Page Error"})}),(0,l.jsx)(s.A,{children:(0,l.jsx)(u,{error:t,tryAgain:n})})]})})}const m=e=>(0,l.jsx)(f,{...e});class h extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){a.default.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??m)(e)}return e??null}}},38193:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5260:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(96540);var r=n(80545),a=n(74848);function o(e){return(0,a.jsx)(r.mg,{...e})}},28774:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(96540),a=n(54625),o=n(70440),i=n(44586),s=n(16654),c=n(38193),l=n(63427),u=n(86025),d=n(74848);function p(e,t){let{isNavLink:n,to:p,href:f,activeClassName:m,isActive:h,"data-noBrokenLinkCheck":g,autoAddBaseUrl:y=!0,...b}=e;const{siteConfig:v}=(0,i.A)(),{trailingSlash:k,baseUrl:w}=v,S=v.future.experimental_router,{withBaseUrl:x}=(0,u.hH)(),_=(0,l.A)(),E=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>E.current));const A=p||f;const j=(0,s.A)(A),C=A?.replace("pathname://","");let T=void 0!==C?(P=C,y&&(e=>e.startsWith("/"))(P)?x(P):P):void 0;var P;"hash"===S&&T?.startsWith("./")&&(T=T?.slice(1)),T&&j&&(T=(0,o.Ks)(T,{trailingSlash:k,baseUrl:w}));const I=(0,r.useRef)(!1),N=n?a.k2:a.N_,O=c.default.canUseIntersectionObserver,$=(0,r.useRef)(),L=()=>{I.current||null==T||(window.docusaurus.preload(T),I.current=!0)};(0,r.useEffect)((()=>(!O&&j&&c.default.canUseDOM&&null!=T&&window.docusaurus.prefetch(T),()=>{O&&$.current&&$.current.disconnect()})),[$,T,O,j]);const R=T?.startsWith("#")??!1,D=!b.target||"_self"===b.target,F=!T||!j||!D||R&&"hash"!==S;g||!R&&F||_.collectLink(T),b.id&&_.collectAnchor(b.id);const M={};return F?(0,d.jsx)("a",{ref:E,href:T,...A&&!j&&{target:"_blank",rel:"noopener noreferrer"},...b,...M}):(0,d.jsx)(N,{...b,onMouseEnter:L,onTouchStart:L,innerRef:e=>{E.current=e,O&&e&&j&&($.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&($.current.unobserve(e),$.current.disconnect(),null!=T&&window.docusaurus.prefetch(T))}))})),$.current.observe(e))},to:T,...n&&{isActive:h,activeClassName:m},...M})}const f=r.forwardRef(p)},21312:(e,t,n)=>{"use strict";n.d(t,{A:()=>l,T:()=>c});var r=n(96540),a=n(74848);function o(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(22654);function s(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function c(e,t){let{message:n,id:r}=e;return o(s({message:n,id:r}),t)}function l(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal