PageSourceSearch

https://docs-spectrocloud.netlify.app/assets/js/641010d3.1a68dd50.js

js docs-spectrocloud.netlify.app collected 2026-10-03 10:43:16 UTC 13,773 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkspectro_cloud_docs=self.webpackChunkspectro_cloud_docs||[]).push([["15071"],{871629:function(e,t,s){s.r(t),s.d(t,{frontMatter:()=>x,toc:()=>y,default:()=>b,metadata:()=>a,assets:()=>g,contentTitle:()=>j});var a=JSON.parse('{"id":"v1/v-1-system-free-credit-add","title":"Add system free credit","description":"Add system free credit","source":"@site/docs/api-content/api-docs/v1/v-1-system-free-credit-add.api.mdx","sourceDirName":"v1","slug":"/v1/v-1-system-free-credit-add","permalink":"/api/v1/v-1-system-free-credit-add","draft":false,"unlisted":false,"editUrl":null,"tags":[],"version":"current","frontMatter":{"id":"v-1-system-free-credit-add","title":"Add system free credit","description":"Add system free credit","sidebar_label":"Add system free credit","hide_title":true,"hide_table_of_contents":true,"api":"eJzdVt9v2zYQ/lcO9yzbcZCunR4GeMGGpV1Xo3FRbIYfaPFksZZIlqScaIL+9+FI/0jsJdjz/GBQvOPx7rvvO6lHY8mJoIy+k5jjbnrf+UDNr47o1pFUYSYlZujoe0s+/Gxkh3mPhdGBdOClsLZWRYww+eaN5j1fVNQIXknyhVOWrZjjvBYahJRQOiIoYnxorRSBgHRQocMMreOUgiIfb4pOL4RKGe6PQmkcxxSBJvuY+6wvg9r21jj6zbQuPpfGNSJgjkqHH24ww9BZwhx126zJYYaPI9OoQI0NHealqD0NGdKjVa67TG2hGgLlQcCDE9aSA+FMqyUE1dA4Wh8qVVTgW2uNCx4K4xwVARrhfCVqpTcQDPw5+/g7CC3h/f2nP8YAX1M0D8IRWGd2SpKMVTdCd2BKCBVBKYpgXAcNhcpID6ESIRr4drCi2IoNgSlLcn6M2al2RmzETqf6fXBKb3DIUIuGuNILgw/C/Ut7/o8YpI0eSbcN5kuct479ZnVtOlxdHBiSapQjyd7Ruhrijy3eGu0THa+vppcI3kYmS/BtUZD3ZVvXrI6KhKTE2lkrVfii5OXZaIFWJWS48JMSTto8z3fI/ruun+upTUm8DgA7nVAy629UBNzD4aloHcs/X/Y4s+oD8XI1ZFxlqIxTf4tU23I1cBCx8RzTx2HFYc8AkBKS7emowQwTIzBHa9JcEKHCHCe76ST5T2wt9KQ8jj9GjNwuQr7ssXU15liFYH0+mQirxt5SEZwpatPKcWEa5PwO9dwzYAmjQ1UXvZrfwZY6EE/rhIeKHMHBVggNa4INaZ7VTHhnGpiLmkIgKIz2piZotSQHc2dKVRP8BB+7GOADdR4zVHxZYg8e9HxI6tgVkZ6H7Bz286zff11AMFvSZ3mbdRBKk4TWs4IZV3aIfzymCx7LwqoXE3p27UVeQ4bMxc+nt9Evj6KxNT1/VTyf71enUY3XV9c3o6u3o+sfF9M3+Ztpfv1ufPV2+tcpgz17j5PttSP77OIg4NyULk0Uggp1NOw7NJvfeRjBzfgdZshcSiDupow0M7EREeMDCC+x91kPjnoL9BiYtkpzuMjQfk/sJd+RHWSSIZOb592J3qsMK5ZCvsS+XwtPX1w9DLz9vSUXVZjhTjgl1lwSa/LQNNbDlimNt2lsjBacELvXbera2QhhPacTs6IgG171XT1R6/zT/QIzXO8/Pxoj+YwTD/xpIh4wR8zQRGCi2OJej7XQm1Zs2DfF5CYxFZ+gJ6zaRgnsF1zVwaS7JxketZIq2EadvODb94mxw3D0T6YXTxyFkLy5l/yy+Ac3sUzJ","sidebar_class_name":"post api-method","info_path":"api/v1/palette-apis-4-8","custom_edit_url":null,"hide_send_button":true},"sidebar":"apiSidebar","previous":{"title":"Updates the specified Plan\'s credit data","permalink":"/api/v1/v-1-system-credits-uid-update"},"next":{"title":"Updates the specified system plan\'s limit","permalink":"/api/v1/v-1-system-plan-limit-update"}}'),i=s(474848),n=s(884429),r=s(871174),o=s.n(r),c=s(789850),d=s.n(c),l=s(692176),p=s.n(l),u=s(733210),h=s.n(u);s(337779),s(256314);var m=s(299528),f=s(845056);let x={id:"v-1-system-free-credit-add",title:"Add system free credit",description:"Add system free credit",sidebar_label:"Add system free credit",hide_title:!0,hide_table_of_contents:!0,api:"eJzdVt9v2zYQ/lcO9yzbcZCunR4GeMGGpV1Xo3FRbIYfaPFksZZIlqScaIL+9+FI/0jsJdjz/GBQvOPx7rvvO6lHY8mJoIy+k5jjbnrf+UDNr47o1pFUYSYlZujoe0s+/Gxkh3mPhdGBdOClsLZWRYww+eaN5j1fVNQIXknyhVOWrZjjvBYahJRQOiIoYnxorRSBgHRQocMMreOUgiIfb4pOL4RKGe6PQmkcxxSBJvuY+6wvg9r21jj6zbQuPpfGNSJgjkqHH24ww9BZwhx126zJYYaPI9OoQI0NHealqD0NGdKjVa67TG2hGgLlQcCDE9aSA+FMqyUE1dA4Wh8qVVTgW2uNCx4K4xwVARrhfCVqpTcQDPw5+/g7CC3h/f2nP8YAX1M0D8IRWGd2SpKMVTdCd2BKCBVBKYpgXAcNhcpID6ESIRr4drCi2IoNgSlLcn6M2al2RmzETqf6fXBKb3DIUIuGuNILgw/C/Ut7/o8YpI0eSbcN5kuct479ZnVtOlxdHBiSapQjyd7Ruhrijy3eGu0THa+vppcI3kYmS/BtUZD3ZVvXrI6KhKTE2lkrVfii5OXZaIFWJWS48JMSTto8z3fI/ruun+upTUm8DgA7nVAy629UBNzD4aloHcs/X/Y4s+oD8XI1ZFxlqIxTf4tU23I1cBCx8RzTx2HFYc8AkBKS7emowQwTIzBHa9JcEKHCHCe76ST5T2wt9KQ8jj9GjNwuQr7ssXU15liFYH0+mQirxt5SEZwpatPKcWEa5PwO9dwzYAmjQ1UXvZrfwZY6EE/rhIeKHMHBVggNa4INaZ7VTHhnGpiLmkIgKIz2piZotSQHc2dKVRP8BB+7GOADdR4zVHxZYg8e9HxI6tgVkZ6H7Bz286zff11AMFvSZ3mbdRBKk4TWs4IZV3aIfzymCx7LwqoXE3p27UVeQ4bMxc+nt9Evj6KxNT1/VTyf71enUY3XV9c3o6u3o+sfF9M3+Ztpfv1ufPV2+tcpgz17j5PttSP77OIg4NyULk0Uggp1NOw7NJvfeRjBzfgdZshcSiDupow0M7EREeMDCC+x91kPjnoL9BiYtkpzuMjQfk/sJd+RHWSSIZOb592J3qsMK5ZCvsS+XwtPX1w9DLz9vSUXVZjhTjgl1lwSa/LQNNbDlimNt2lsjBacELvXbera2QhhPacTs6IgG171XT1R6/zT/QIzXO8/Pxoj+YwTD/xpIh4wR8zQRGCi2OJej7XQm1Zs2DfF5CYxFZ+gJ6zaRgnsF1zVwaS7JxketZIq2EadvODb94mxw3D0T6YXTxyFkLy5l/yy+Ac3sUzJ",sidebar_class_name:"post api-method",info_path:"api/v1/palette-apis-4-8",custom_edit_url:null,hide_send_button:!0},j,g={},y=[];function N(e){let t={p:"p",...(0,n.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(m.default,{as:"h1",className:"openapi__heading",children:"Add system free credit"}),"\n",(0,i.jsx)(o(),{method:"post",path:"/v1/system/plan/freeCredit",context:"endpoint"}),"\n",(0,i.jsx)(t.p,{children:"Add system free credit"}),"\n",(0,i.jsx)(m.default,{id:"request",as:"h2",className:"openapi-tabs__heading",children:(0,i.jsx)(f.default,{id:"theme.openapi.request.title",children:"Request"})}),"\n",(0,i.jsx)(d(),{parameters:void 0}),"\n",(0,i.jsx)(p(),{...s(84409)}),"\n",(0,i.jsx)(h(),{...s(159695)})]})}function b(e={}){let{wrapper:t}={...(0,n.R)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(N,{...e})}):N(e)}},374901:function(e,t,s){s.d(t,{A:()=>u});var a=s(513907);s(296540);var i=s(39836),n=s(845056),r=s(491085),o=s(81178),c=s(256292),d=s(474848);let l={icon:(0,d.jsx)(function(){return(0,d.jsx)(o.gc,{icon:c.s6x})},{}),title:(0,d.jsx)(n.default,{id:"theme.admonition.review",description:"The default label used for the Tech Preview admonition (:::preview)",children:"tech preview"}),defaultText:"This is a Tech Preview feature and is subject to change. Do not use this feature in production workloads."},p={icon:(0,d.jsx)(function(){return(0,d.jsx)(o.gc,{icon:c.eST})},{}),title:(0,d.jsx)(n.default,{id:"theme.admonition.review",description:"The default label used for the Further Guidance admonition (:::further)",children:"further guidance"}),defaultText:""},u={...a.A,preview:function(e){let t=e.children||l.defaultText;return(0,d.jsx)(r.A,{...l,className:(0,i.A)("alert admonition-tech-preview",e.className),children:t})},further:function(e){let t=e.children||p.defaultText;return(0,d.jsx)(r.A,{...p,className:(0,i.A)("alert admonition-further-guidance",e.className),children:t})}}},961168:function(e,t,s){s.d(t,{A:()=>n}),s(296540);var a=s(97376),i=s(474848);function n(e){return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(a.A,{...e})})}},769048:function(e,t,s){s.r(t),s.d(t,{default:()=>k});var a=s(296540),i=s(955031),n=s(39836),r=s(886626),o=s(816575),c=s(599099),d=s(474848);function l({as:e,...t}){let s=(0,r.A)(),a=(0,c.M$)(s);return(0,d.jsx)(e,{...t,style:a,className:(0,n.A)(t.className,"codeBlockContainer_APcc",o.G.common.codeBlock)})}let p={codeBlockContent:"codeBlockContent_m3Ux",codeBlockTitle:"codeBlockTitle_P25_",codeBlock:"codeBlock_qGQc",codeBlockStandalone:"codeBlockStandalone_zC50",codeBlockLines:"codeBlockLines_p187",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_OFgW",buttonGroup:"buttonGroup_6DOT"};function u({children:e,className:t}){return(0,d.jsx)(l,{as:"pre",tabIndex:0,className:(0,n.A)(p.codeBlockStandalone,"thin-scrollbar",t),children:(0,d.jsx)("code",{className:p.codeBlockLines,children:e})})}var h=s(388478),m=s(838588),f=s(58317);function x({line:e,classNames:t,showLineNumbers:s,getLineProps:a,getTokenProps:i}){1===e.length&&"\n"===e[0].content&&(e[0].content="");let r=a({line:e,className:(0,n.A)(t,s&&"codeLine_iPqp")}),o=e.map((e,t)=>(0,d.jsx)("span",{...i({token:e,key:t})},t));return(0,d.jsxs)("span",{...r,children:[s?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("span",{className:"codeLineNumber_F4P7"}),(0,d.jsx)("span",{className:"codeLineContent_pOih",children:o})]}):o,(0,d.jsx)("br",{})]})}var j=s(23028),g=s(845056),y=s(529945),N=s(73451);let b={copyButtonCopied:"copyButtonCopied__QnY",copyButtonIcons:"copyButtonIcons_FhaS",copyButtonIcon:"copyButtonIcon_phi_",copyButtonSuccessIcon:"copyButtonSuccessIcon_FfTR"};function B({code:e,className:t}){let[s,i]=(0,a.useState)(!1),r=(0,a.useRef)(void 0),o=(0,a.useCallback)(()=>{(0,j.default)(e),i(!0),r.current=window.setTimeout(()=>{i(!1)},1e3)},[e]);return(0,a.useEffect)(()=>()=>window.clearTimeout(r.current),[]),(0,d.jsx)("button",{type:"button","aria-label":s?(0,g.translate)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,g.translate)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,g.translate)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,n.A)("clean-btn",t,b.copyButton,s&&b.copyButtonCopied),onClick:o,children:(0,d.jsxs)("span",{className:b.copyButtonIcons,"aria-hidden":"true",children:[(0,d.jsx)(y.A,{className:b.copyButtonIcon}),(0,d.jsx)(N.A,{className:b.copyButtonSuccessIcon})]})})}var v=s(113824);function I({className:e,onClick:t,isEnabled:s}){let a=(0,g.translate)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,d.jsx)("button",{type:"button",onClick:t,className:(0,n.A)("clean-btn",e,s&&"wordWrapButtonEnabled_gY8A"),"aria-label":a,title:a,children:(0,d.jsx)(v.A,{className:"wordWrapButtonIcon_iowe","aria-hidden":"true"})})}function w({children:e,className:t="",metastring:s,title:a,showLineNumbers:i,language:o,hideClipboard:u=!1}){var j;let{prism:{defaultLanguage:g,magicComments:y}}=(0,h.p)(),N=(j=o??(0,c.DX)(t)??g,j?.toLowerCase()),b=(0,r.A)(),v=(0,m.f)(),w=(0,c.wt)(s)||a,{lineClassNames:k,code:T}=(0,c.Li)(e,{metastring:s,language:N,magicComments:y}),A=i??(0,c._u)(s);return u=s&&s.includes("hideClipboard"),(0,d.jsxs)(l,{as:"div",className:(0,n.A)(t,N&&!t.includes(`language-${N}`)&&`language-${N}`),children:[w&&(0,d.jsx)("div",{className:p.codeBlockTitle,children:w}),(0,d.jsxs)("div",{className:p.codeBlockContent,children:[(0,d.jsx)(f.Highlight,{theme:b,code:T,language:N??"text",children:({className:e,style:t,tokens:s,getLineProps:a,getTokenProps:i})=>(0,d.jsx)("pre",{tabIndex:0,ref:v.codeBlockRef,className:(0,n.A)(e,p.codeBlock,"thin-scrollbar"),style:t,children:(0,d.jsx)("code",{className:(0,n.A)(p.codeBlockLines,A&&p.co
1deBlockLinesWithNumbering),children:s.map((e,t)=>(0,d.jsx)(x,{line:e,getLineProps:a,getTokenProps:i,classNames:k[t],showLineNumbers:A},t))})})}),(0,d.jsxs)("div",{className:p.buttonGroup,children:[(v.isEnabled||v.isCodeScrollable)&&(0,d.jsx)(I,{className:p.codeButton,onClick:()=>v.toggle(),isEnabled:v.isEnabled}),!u&&(0,d.jsx)(B,{className:p.codeButton,code:T})]})]})]})}function k({children:e,...t}){let s=(0,i.default)(),n=a.Children.toArray(e).some(e=>(0,a.isValidElement)(e))?e:Array.isArray(e)?e.join(""):e;return(0,d.jsx)("string"==typeof n?w:u,{...t,children:n},String(s))}},178766:function(e,t,s){s.r(t),s.d(t,{default:()=>l}),s(296540);var a=s(769048),i=s(39836),n=s(829515),r=s(494528),o=s(952242),c=s(169764),d=s(474848);let l=function({children:e,collapsible:t,name:s,qualifierMessage:l,required:p,schemaName:u,schema:h}){let m,f,x,j;h&&(m=h.deprecated,f=h.description,x=h.default,j=h.nullable);let g=(0,r.guard)(Array.isArray(p)?p.includes(s):p,()=>(0,d.jsx)("span",{className:"openapi-schema__required",children:"required"})),y=(0,r.guard)(m,()=>(0,d.jsx)("span",{className:"openapi-schema__deprecated",children:"deprecated"})),N=(0,r.guard)(j,()=>(0,d.jsx)("span",{className:"openapi-schema__nullable",children:"nullable"})),b=(0,r.guard)(f,e=>(0,d.jsx)("div",{children:(0,d.jsx)(o.oz,{children:(0,n.createDescription)(e),components:{pre:"div",code({node:e,inline:t,className:s,children:i,...n}){let r=/language-(\w+)/.exec(s||"");return t?(0,d.jsx)("code",{children:i}):t||null==r?(0,d.jsx)(a.default,{children:i}):(0,d.jsx)(a.default,{className:s,children:i})}},rehypePlugins:[c.A]})})),B=(0,r.guard)(l,e=>(0,d.jsx)("div",{children:(0,d.jsx)(o.oz,{children:(0,n.createDescription)(e),rehypePlugins:[c.A]})})),v=(0,r.guard)("boolean"==typeof x?x.toString():x,e=>(0,d.jsx)("div",{className:"",children:(0,d.jsx)(o.oz,{children:`**Default value:** \`${e}\``})})),I=(0,d.jsxs)("div",{children:[(0,d.jsxs)("span",{className:"openapi-schema__container",children:[(0,d.jsx)("strong",{className:(0,i.A)("openapi-schema__property",{"openapi-schema__strikethrough":m}),children:s}),(0,d.jsx)("span",{className:"openapi-schema__name",children:"object"==typeof u?JSON.stringify(u):u}),(j||p||m)&&(0,d.jsx)("span",{className:"openapi-schema__divider"}),N,!m&&g,y]}),B,v,b,e??e]});return(0,d.jsx)("div",{className:"openapi-schema__list-item",children:t?e:I})}},84409:function(e){e.exports=JSON.parse('{"title":"Body","body":{"content":{"application/json":{"schema":{"description":"Plan add free credit update entity","properties":{"credit":{"description":"Plan Credit entity for create/update request","properties":{"cpuCoreHours":{"format":"int64","type":"number","x-omitempty":false},"expiry":{"description":"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON.  Wrappers are provided for many of the factory methods that the time package offers.","format":"date-time","type":"string"},"name":{"type":"string"},"start":{"description":"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON.  Wrappers are provided for many of the factory methods that the time package offers.","format":"date-time","type":"string"},"type":{"enum":["Pure","Alloy"],"type":"string"}},"required":["type"]}}}}}}}')},159695:function(e){e.exports=JSON.parse('{"responses":{"201":{"description":"Created successfully","headers":{"AuditUid":{"description":"Audit uid for the request","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"properties":{"uid":{"type":"string"}},"required":["uid"],"type":"object"}}}}}}')}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.