PageSourceSearch

https://docs-spectrocloud.netlify.app/assets/js/355ab6d0.ddd9be3a.js

js docs-spectrocloud.netlify.app collected 2026-10-03 10:40:06 UTC 16,422 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkspectro_cloud_docs=self.webpackChunkspectro_cloud_docs||[]).push([["10594"],{377639:function(e,t,a){a.r(t),a.d(t,{frontMatter:()=>f,toc:()=>x,default:()=>j,metadata:()=>n,assets:()=>b,contentTitle:()=>g});var n=JSON.parse('{"id":"v1/v-1-system-theme-active-get","title":"Returns the active theme","description":"Returns the active theme","source":"@site/docs/api-content/api-docs/v1/v-1-system-theme-active-get.api.mdx","sourceDirName":"v1","slug":"/v1/v-1-system-theme-active-get","permalink":"/api/v1/v-1-system-theme-active-get","draft":false,"unlisted":false,"editUrl":null,"tags":[],"version":"current","frontMatter":{"id":"v-1-system-theme-active-get","title":"Returns the active theme","description":"Returns the active theme","sidebar_label":"Returns the active theme","hide_title":true,"hide_table_of_contents":true,"api":"eJzlV02PGzcM/SuEemmBWTspeih8KLBIi2CTbrJINgiKzR5oDcejrEZSJMrJ1PB/LyjNeD+8KdDmmIvtGUnk4+MjKe+UDxSRjXdnrVqp7dO3Y2IaLnsa6FSz2dJzYtWoSCl4lyip1U79/OSJfLWUdDRBDquVev1SNUp7x+RYVjEEa3QxvfyYZMtOJd3TgMdniztokRHIseFRNSpEgcamuhyIUdYf8bv+SJrPiRFMgnkfcI8MaC0EiskkphYiJZ+jpgRDTgw9bqmBz73RPRinbW4plRO+WEyQE8Vpr46ETIsjWOic5xJjfWxbIw9oL+5t4zGQWqnE0biN2jcPQji9tSIxoIPsEsesOUdq4YZG2KLNBAMGSOzl5WfDPeAhphrvgCOsCRIxrEegL0zRoQX23iZgX88COuGCo6EtAca14YhxPFC3gMueRsBI4DzDp0xxxLWt51Lvs23FSYiUKG4FSk8OBt+abjRuM9O3gHNxZlznV9Azh9VyeZPXFB0xpYXxy9brtBSSTzbZtLS8S2Yzc1atCWclB8a7SzNQYhz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CZ3YDBfBXQPbdHuPZyrPPljmHYytLMwunFWYIT+GXxq2qU5KsC3T6VaIJPPGCJY3L0LwK5F+nhMsP0hZfBonGlpYoOdpN4rsRLM2uxUVVAqpmr6rpRvU8sG3e7NSZ6F+1+L6/LDV403agtRiN3+Sr7mRjR3I3IRp1qTUEEW6q5cPLgX5wI7yDu539cCoAs+HZ3aLwp6Z5+iPV5yY13bB90UX3fFE18Ze9uV7Oz3x/216Wvnjgkve4WRq/3+/0/orNNzw==","sidebar_class_name":"get api-method","info_path":"api/v1/palette-apis-4-8","custom_edit_url":null,"hide_send_button":true},"sidebar":"apiSidebar","previous":{"title":"Stores the theme json fields like logo, name at system level.","permalink":"/api/v1/v-1-system-theme-create"},"next":{"title":"Returns the metadata of all the themes","permalink":"/api/v1/v-1-system-themes-metadata-get"}}'),s=a(474848),i=a(884429),o=a(871174),r=a.n(o),c=a(789850),l=a.n(c),d=a(692176),p=a.n(d),u=a(733210),m=a.n(u);a(337779),a(256314);var h=a(299528);a(845056);let f={id:"v-1-system-theme-active-get",title:"Returns the active theme",description:"Returns the active theme",sidebar_label:"Returns the active theme",hide_title:!0,hide_table_of_contents:!0,api:"eJzlV02PGzcM/SuEemmBWTspeih8KLBIi2CTbrJINgiKzR5oDcejrEZSJMrJ1PB/LyjNeD+8KdDmmIvtGUnk4+MjKe+UDxSRjXdnrVqp7dO3Y2IaLnsa6FSz2dJzYtWoSCl4lyip1U79/OSJfLWUdDRBDquVev1SNUp7x+RYVjEEa3QxvfyYZMtOJd3TgMdniztokRHIseFRNSpEgcamuhyIUdYf8bv+SJrPiRFMgnkfcI8MaC0EiskkphYiJZ+jpgRDTgw9bqmBz73RPRinbW4plRO+WEyQE8Vpr46ETIsjWOic5xJjfWxbIw9oL+5t4zGQWqnE0biN2jcPQji9tSIxoIPsEsesOUdq4YZG2KLNBAMGSOzl5WfDPeAhphrvgCOsCRIxrEegL0zRoQX23iZgX88COuGCo6EtAca14YhxPFC3gMueRsBI4DzDp0xxxLW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11kU/wAVaYiZpMMlbKeOWIlxE3xlL8Bucj8XASxpFzUac9YQtRTW35hnUISlYn/fNQ9Yfon7x/hLY35B7gNuvReHUQk6ibmFVNpQPKTCZ3YDBfBXQPbdHuPZyrPPljmHYytLMwunFWYIT+GXxq2qU5KsC3T6VaIJPPGCJY3L0LwK5F+nhMsP0hZfBonGlpYoOdpN4rsRLM2uxUVVAqpmr6rpRvU8sG3e7NSZ6F+1+L6/LDV403agtRiN3+Sr7mRjR3I3IRp1qTUEEW6q5cPLgX5wI7yDu539cCoAs+HZ3aLwp6Z5+iPV5yY13bB90UX3fFE18Ze9uV7Oz3x/216Wvnjgkve4WRq/3+/0/orNNzw==",sidebar_class_name:"get api-method",info_path:"api/v1/palette-apis-4-8",custom_edit_url:null,hide_send_button:!0},g,b={},x=[];function y(e){let t={p:"p",...(0,i.R)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(h.default,{as:"h1",className:"openapi__heading",children:"Returns the active theme"}),"\n",(0,s.jsx)(r(),{method:"get",path:"/v1/system/themes/active",context:"endpoint"}),"\n",(0,s.jsx)(t.p,{children:"Returns the active theme"}),"\n",(0,s.jsx)(l(),{parameters:void 0}),"\n",(0,s.jsx)(p(),{...a(767382)}),"\n",(0,s.jsx)(m(),{...a(690460)})]})}function j(e={}){let{wrapper:t}={...(0,i.R)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(y,{...e})}):y(e)}},374901:function(e,t,a){a.d(t,{A:()=>u});var n=a(513907);a(296540);var s=a(39836),i=a(845056),o=a(491085),r=a(81178),c=a(256292),l=a(474848);let d={icon:(0,l.jsx)(function(){return(0,l.jsx)(r.gc,{icon:c.s6x})},{}),title:(0,l.jsx)(i.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,l.jsx)(function(){return(0,l.jsx)(r.gc,{icon:c.eST})},{}),title:(0,l.jsx)(i.default,{id:"theme.admonition.review",description:"The default label used for the Further Guidance admonition (:::further)",children:"further guidance"}),defaultText:""},u={...n.A,preview:function(e){let t=e.children||d.defaultText;return(0,l.jsx)(o.A,{...d,className:(0,s.A)("alert admonition-tech-preview",e.className),children:t})},further:function(e){let t=e.children||p.defaultText;return(0,l.jsx)(o.A,{...p,className:(0,s.A)("alert admonition-further-guidance",e.className),children:t})}}},961168:function(e,t,a){a.d(t,{A:()=>i}),a(296540);var n=a(97376),s=a(474848);function i(e){return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(n.A,{...e})})}},769048:function(e,t,a){a.r(t),a.d(t,{default:()=>S});var n=a(296540),s=a(955031),i=a(39836),o=a(886626),r=a(816575),c=a(599099),l=a(474848);function d({as:e,...t}){let a=(0,o.A)(),n=(0,c.M$)(a);return(0,l.jsx)(e,{...t,style:n,className:(0,i.A)(t.className,"codeBlockContainer_APcc",r.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,l.jsx)(d,{as:"pre",tabIndex:0,className:(0,i.A)(p.codeBlockStandalone,"thin-scrollbar",t),children:(0,l.jsx)("code",{className:p.codeBlockLines,children:e})})}var m=a(388478),h=a(838588),f=a(58317);function g({line:e,classNames:t,showLineNumbers:a,getLineProps:n,getTokenProps:s}){1===e.length&&"\n"===e[0].content&&(e[0].content="");let o=n({line:e,className:(0,i.A)(t,a&&"codeLine_iPqp")}),r=e.map((e,t)=>(0,l.jsx)("span",{...s({token:e,key:t})},t));return(0,l.jsxs)("span",{...o,children:[a?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"codeLineNumber_F4P7"}),(0,l.jsx)("span",{className:"codeLineContent_pOih",children:r})]}):r,(0,l.jsx)("br",{})]})}var b=a(23028),x=a(845056),y=a(529945),j=a(73451);let v={copyButtonCopied:"copyButtonCopied__QnY",copyButtonIcons:"copyButtonIcons_FhaS",copyButtonIcon:"copyButtonIcon_phi_",copyButtonSuccessIcon:"copyButtonSuccessIcon_FfTR"};function N({code:e,className:t}
1){let[a,s]=(0,n.useState)(!1),o=(0,n.useRef)(void 0),r=(0,n.useCallback)(()=>{(0,b.default)(e),s(!0),o.current=window.setTimeout(()=>{s(!1)},1e3)},[e]);return(0,n.useEffect)(()=>()=>window.clearTimeout(o.current),[]),(0,l.jsx)("button",{type:"button","aria-label":a?(0,x.translate)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,x.translate)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,x.translate)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,i.A)("clean-btn",t,v.copyButton,a&&v.copyButtonCopied),onClick:r,children:(0,l.jsxs)("span",{className:v.copyButtonIcons,"aria-hidden":"true",children:[(0,l.jsx)(y.A,{className:v.copyButtonIcon}),(0,l.jsx)(j.A,{className:v.copyButtonSuccessIcon})]})})}var B=a(113824);function I({className:e,onClick:t,isEnabled:a}){let n=(0,x.translate)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,l.jsx)("button",{type:"button",onClick:t,className:(0,i.A)("clean-btn",e,a&&"wordWrapButtonEnabled_gY8A"),"aria-label":n,title:n,children:(0,l.jsx)(B.A,{className:"wordWrapButtonIcon_iowe","aria-hidden":"true"})})}function R({children:e,className:t="",metastring:a,title:n,showLineNumbers:s,language:r,hideClipboard:u=!1}){var b;let{prism:{defaultLanguage:x,magicComments:y}}=(0,m.p)(),j=(b=r??(0,c.DX)(t)??x,b?.toLowerCase()),v=(0,o.A)(),B=(0,h.f)(),R=(0,c.wt)(a)||n,{lineClassNames:S,code:k}=(0,c.Li)(e,{metastring:a,language:j,magicComments:y}),Y=s??(0,c._u)(a);return u=a&&a.includes("hideClipboard"),(0,l.jsxs)(d,{as:"div",className:(0,i.A)(t,j&&!t.includes(`language-${j}`)&&`language-${j}`),children:[R&&(0,l.jsx)("div",{className:p.codeBlockTitle,children:R}),(0,l.jsxs)("div",{className:p.codeBlockContent,children:[(0,l.jsx)(f.Highlight,{theme:v,code:k,language:j??"text",children:({className:e,style:t,tokens:a,getLineProps:n,getTokenProps:s})=>(0,l.jsx)("pre",{tabIndex:0,ref:B.codeBlockRef,className:(0,i.A)(e,p.codeBlock,"thin-scrollbar"),style:t,children:(0,l.jsx)("code",{className:(0,i.A)(p.codeBlockLines,Y&&p.codeBlockLinesWithNumbering),children:a.map((e,t)=>(0,l.jsx)(g,{line:e,getLineProps:n,getTokenProps:s,classNames:S[t],showLineNumbers:Y},t))})})}),(0,l.jsxs)("div",{className:p.buttonGroup,children:[(B.isEnabled||B.isCodeScrollable)&&(0,l.jsx)(I,{className:p.codeButton,onClick:()=>B.toggle(),isEnabled:B.isEnabled}),!u&&(0,l.jsx)(N,{className:p.codeButton,code:k})]})]})]})}function S({children:e,...t}){let a=(0,s.default)(),i=n.Children.toArray(e).some(e=>(0,n.isValidElement)(e))?e:Array.isArray(e)?e.join(""):e;return(0,l.jsx)("string"==typeof i?R:u,{...t,children:i},String(a))}},178766:function(e,t,a){a.r(t),a.d(t,{default:()=>d}),a(296540);var n=a(769048),s=a(39836),i=a(829515),o=a(494528),r=a(952242),c=a(169764),l=a(474848);let d=function({children:e,collapsible:t,name:a,qualifierMessage:d,required:p,schemaName:u,schema:m}){let h,f,g,b;m&&(h=m.deprecated,f=m.description,g=m.default,b=m.nullable);let x=(0,o.guard)(Array.isArray(p)?p.includes(a):p,()=>(0,l.jsx)("span",{className:"openapi-schema__required",children:"required"})),y=(0,o.guard)(h,()=>(0,l.jsx)("span",{className:"openapi-schema__deprecated",children:"deprecated"})),j=(0,o.guard)(b,()=>(0,l.jsx)("span",{className:"openapi-schema__nullable",children:"nullable"})),v=(0,o.guard)(f,e=>(0,l.jsx)("div",{children:(0,l.jsx)(r.oz,{children:(0,i.createDescription)(e),components:{pre:"div",code({node:e,inline:t,className:a,children:s,...i}){let o=/language-(\w+)/.exec(a||"");return t?(0,l.jsx)("code",{children:s}):t||null==o?(0,l.jsx)(n.default,{children:s}):(0,l.jsx)(n.default,{className:a,children:s})}},rehypePlugins:[c.A]})})),N=(0,o.guard)(d,e=>(0,l.jsx)("div",{children:(0,l.jsx)(r.oz,{children:(0,i.createDescription)(e),rehypePlugins:[c.A]})})),B=(0,o.guard)("boolean"==typeof g?g.toString():g,e=>(0,l.jsx)("div",{className:"",children:(0,l.jsx)(r.oz,{children:`**Default value:** \`${e}\``})})),I=(0,l.jsxs)("div",{children:[(0,l.jsxs)("span",{className:"openapi-schema__container",children:[(0,l.jsx)("strong",{className:(0,s.A)("openapi-schema__property",{"openapi-schema__strikethrough":h}),children:a}),(0,l.jsx)("span",{className:"openapi-schema__name",children:"object"==typeof u?JSON.stringify(u):u}),(b||p||h)&&(0,l.jsx)("span",{className:"openapi-schema__divider"}),j,!h&&x,y]}),N,B,v,e??e]});return(0,l.jsx)("div",{className:"openapi-schema__list-item",children:t?e:I})}},767382:function(e){e.exports={title:"Body"}},690460:function(e){e.exports=JSON.parse('{"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"description":"Theme data entity","properties":{"metadata":{"description":"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.","properties":{"annotations":{"additionalProperties":{"type":"string"},"description":"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations","type":"object"},"creationTimestamp":{"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"},"deletionTimestamp":{"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"},"labels":{"additionalProperties":{"type":"string"},"description":"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels","type":"object"},"lastModifiedTimestamp":{"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":{"description":"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names","type":"string"}
1,"uid":{"description":"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\\n\\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids","type":"string"}},"type":"object"},"spec":{"properties":{"values":{"description":"Contains the string value of custom properties like logo, name etc.","type":"string","x-omitempty":false}},"required":["values"]},"status":{"properties":{"active":{"description":"Specifies if the theme is active or not","type":"boolean","x-omitempty":false}}}},"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.