PageSourceSearch

https://docs-spectrocloud.netlify.app/assets/js/142f4ba2.dbec991c.js

js docs-spectrocloud.netlify.app collected 2026-10-03 10:39:55 UTC 12,694 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkspectro_cloud_docs=self.webpackChunkspectro_cloud_docs||[]).push([["1040"],{234192:function(e,s,t){t.r(s),t.d(s,{frontMatter:()=>x,toc:()=>g,default:()=>y,metadata:()=>i,assets:()=>j,contentTitle:()=>b});var i=JSON.parse('{"id":"v1/v-1-permissions-list","title":"Retrieves a list of permissions","description":"Retrieves a list of permissions","source":"@site/docs/api-content/api-docs/v1/v-1-permissions-list.api.mdx","sourceDirName":"v1","slug":"/v1/v-1-permissions-list","permalink":"/api/v1/v-1-permissions-list","draft":false,"unlisted":false,"editUrl":null,"tags":[],"version":"current","frontMatter":{"id":"v-1-permissions-list","title":"Retrieves a list of permissions","description":"Retrieves a list of permissions","sidebar_label":"Retrieves a list of permissions","hide_title":true,"hide_table_of_contents":true,"api":"eJzFVMFu2zAM/RWBZ7VZhx0GHwYE2DB03YBga7FDkYNiM4kaW1IlOptn+N8HSrGT2M2wnZaDY4sUyUe+xxasQ69IW3NbQAb7mwX6SoegrQmfdSCQ4JRXFRL6ANljC9pABs81+gYkGFUhZBBy6xAkhHyLlYKsBWpcNJDXZgMS0NQVZI8QmkBYgQRCo0wM7+0T5vzmMdja5wjLrpMtFBhyrx3XBhnMxcFRPNy+FzoIj8+19liItfW97SoWUog+UhDKFCJsbV0WYoXCVpoIC/Fji0aQ8hskbTYi1TK5DDKB3aIq0B/RLlKyB138AXLXLSMiZ03AwPbXr17x3wiWEcp71Qi7Fu7YepCQW0NoiK8o50qdxynNngLfa0/yjgK+HE0TVmHqfZy20GZtfRWTpKk49KRT6Qn4BKKE0yRZe8wycTwcRKz8nRiTtf9IDDnp8nBiV9F7kot/EgLmtdfURArPnb5Dfl0yz+Y1ba3XvxJ0PuQ0asN0PwO4lKPufUXyGvdMM1HqQNO2V0hby8LaYJISbSGD2f5mdu4X0O97gdW+ZNIRuZDNZsrp6+AwJ2/z0tbFdW4r4Ap7RN+YCGlMPa4JJxa3YoeNUKdIWQQeRW/LlWGFbNDwPmBZeVuJhSqRCEVuTbAlitoU6MXC27UuUbwTX5oY4A6bi2o5FHUcS/ru5Ljx46o/fb8XZHdoRnXbFSltsBB1YPFyM9khPtAQCwWFcvpiQWdpJ3V1fG1tI4s1lVHwhy7MF7dBXIk3129BAs8rFbq/iVKwgSpljnL5C3qcAR5UQ/iTZq5U2nDcSIf2QJ1HTibHrNzaQGxr25UK+ODLruPjtKSZUoUOalViAdlalQEl7Jgmw9req7LmxJFXe+U1Oyd59N17Mcqo/GFj/adl/WL7EtKzlX2EK9uDfZ7n6OjENlm53JpBzR8/3IMEJtzJ2JTTu0j0wwu3rDeZ5iT2oIiUexfVcMG3bRMvu27wT6aLNwa6J2/uwrLrut+sq7yx","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":"Permissions","permalink":"/api/v1/permissions"},"next":{"title":"Plans","permalink":"/api/v1/plans"}}'),n=t(474848),o=t(884429),a=t(871174),r=t.n(a),c=t(789850),l=t.n(c),d=t(692176),p=t.n(d),u=t(733210),m=t.n(u);t(337779),t(256314);var h=t(299528),f=t(845056);let x={id:"v-1-permissions-list",title:"Retrieves a list of permissions",description:"Retrieves a list of permissions",sidebar_label:"Retrieves a list of permissions",hide_title:!0,hide_table_of_contents:!0,api:"eJzFVMFu2zAM/RWBZ7VZhx0GHwYE2DB03YBga7FDkYNiM4kaW1IlOptn+N8HSrGT2M2wnZaDY4sUyUe+xxasQ69IW3NbQAb7mwX6SoegrQmfdSCQ4JRXFRL6ANljC9pABs81+gYkGFUhZBBy6xAkhHyLlYKsBWpcNJDXZgMS0NQVZI8QmkBYgQRCo0wM7+0T5vzmMdja5wjLrpMtFBhyrx3XBhnMxcFRPNy+FzoIj8+19liItfW97SoWUog+UhDKFCJsbV0WYoXCVpoIC/Fji0aQ8hskbTYi1TK5DDKB3aIq0B/RLlKyB138AXLXLSMiZ03AwPbXr17x3wiWEcp71Qi7Fu7YepCQW0NoiK8o50qdxynNngLfa0/yjgK+HE0TVmHqfZy20GZtfRWTpKk49KRT6Qn4BKKE0yRZe8wycTwcRKz8nRiTtf9IDDnp8nBiV9F7kot/EgLmtdfURArPnb5Dfl0yz+Y1ba3XvxJ0PuQ0asN0PwO4lKPufUXyGvdMM1HqQNO2V0hby8LaYJISbSGD2f5mdu4X0O97gdW+ZNIRuZDNZsrp6+AwJ2/z0tbFdW4r4Ap7RN+YCGlMPa4JJxa3YoeNUKdIWQQeRW/LlWGFbNDwPmBZeVuJhSqRCEVuTbAlitoU6MXC27UuUbwTX5oY4A6bi2o5FHUcS/ru5Ljx46o/fb8XZHdoRnXbFSltsBB1YPFyM9khPtAQCwWFcvpiQWdpJ3V1fG1tI4s1lVHwhy7MF7dBXIk3129BAs8rFbq/iVKwgSpljnL5C3qcAR5UQ/iTZq5U2nDcSIf2QJ1HTibHrNzaQGxr25UK+ODLruPjtKSZUoUOalViAdlalQEl7Jgmw9req7LmxJFXe+U1Oyd59N17Mcqo/GFj/adl/WL7EtKzlX2EK9uDfZ7n6OjENlm53JpBzR8/3IMEJtzJ2JTTu0j0wwu3rDeZ5iT2oIiUexfVcMG3bRMvu27wT6aLNwa6J2/uwrLrut+sq7yx",sidebar_class_name:"get api-method",info_path:"api/v1/palette-apis-4-8",custom_edit_url:null,hide_send_button:!0},b,j={},g=[];function N(e){let s={p:"p",...(0,o.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(h.default,{as:"h1",className:"openapi__heading",children:"Retrieves a list of permissions"}),"\n",(0,n.jsx)(r(),{method:"get",path:"/v1/permissions",context:"endpoint"}),"\n",(0,n.jsx)(s.p,{children:"Retrieves a list of permissions"}),"\n",(0,n.jsx)(h.default,{id:"request",as:"h2",className:"openapi-tabs__heading",children:(0,n.jsx)(f.default,{id:"theme.openapi.request.title",children:"Request"})}),"\n",(0,n.jsx)(l(),{...t(21086)}),"\n",(0,n.jsx)(p(),{...t(129420)}),"\n",(0,n.jsx)(m(),{...t(644630)})]})}function y(e={}){let{wrapper:s}={...(0,o.R)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(N,{...e})}):N(e)}},374901:function(e,s,t){t.d(s,{A:()=>u});var i=t(513907);t(296540);var n=t(39836),o=t(845056),a=t(491085),r=t(81178),c=t(256292),l=t(474848);let d={icon:(0,l.jsx)(function(){return(0,l.jsx)(r.gc,{icon:c.s6x})},{}),title:(0,l.jsx)(o.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)(o.default,{id:"theme.admonition.review",description:"The default label used for the Further Guidance admonition (:::further)",children:"further guidance"}),defaultText:""},u={...i.A,preview:function(e){let s=e.children||d.defaultText;return(0,l.jsx)(a.A,{...d,className:(0,n.A)("alert admonition-tech-preview",e.className),children:s})},further:function(e){let s=e.children||p.defaultText;return(0,l.jsx)(a.A,{...p,className:(0,n.A)("alert admonition-further-guidance",e.className),children:s})}}},961168:function(e,s,t){t.d(s,{A:()=>o}),t(296540);var i=t(97376),n=t(474848);function o(e){return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(i.A,{...e})})}},769048:function(e,s,t){t.r(s),t.d(s,{default:()=>A});var i=t(296540),n=t(955031),o=t(39836),a=t(886626),r=t(816575),c=t(599099),l=t(474848);function d({as:e,...s}){let t=(0,a.A)(),i=(0,c.M$)(t);return(0,l.jsx)(e,{...s,style:i,className:(0,o.A)(s.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:s}){return(0,l.jsx)(d,{as:"pre",tabIndex:0,className:(0,o.A)(p.codeBlockStandalone,"thin-scrollbar",s),children:(0,l.jsx)("code",{className:p.codeBlockLines,children:e})})}var m=t(388478),h=t(838588),f=t(58317);function x({line:e,classNames:s,showLineNumbers:t,getLineProps:i,getTokenProps:n}){1===e.length&&"\n"===e[0].content&&(e[0].content="");let a=i({line:e,className:(0,o.A)(s,t&&"codeLine_iPqp")}),r=e.map((e,s)=>(0,l.jsx)("span",{...n({token:e,key:s})}
1,s));return(0,l.jsxs)("span",{...a,children:[t?(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=t(23028),j=t(845056),g=t(529945),N=t(73451);let y={copyButtonCopied:"copyButtonCopied__QnY",copyButtonIcons:"copyButtonIcons_FhaS",copyButtonIcon:"copyButtonIcon_phi_",copyButtonSuccessIcon:"copyButtonSuccessIcon_FfTR"};function B({code:e,className:s}){let[t,n]=(0,i.useState)(!1),a=(0,i.useRef)(void 0),r=(0,i.useCallback)(()=>{(0,b.default)(e),n(!0),a.current=window.setTimeout(()=>{n(!1)},1e3)},[e]);return(0,i.useEffect)(()=>()=>window.clearTimeout(a.current),[]),(0,l.jsx)("button",{type:"button","aria-label":t?(0,j.translate)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,j.translate)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,j.translate)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,o.A)("clean-btn",s,y.copyButton,t&&y.copyButtonCopied),onClick:r,children:(0,l.jsxs)("span",{className:y.copyButtonIcons,"aria-hidden":"true",children:[(0,l.jsx)(g.A,{className:y.copyButtonIcon}),(0,l.jsx)(N.A,{className:y.copyButtonSuccessIcon})]})})}var w=t(113824);function _({className:e,onClick:s,isEnabled:t}){let i=(0,j.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:s,className:(0,o.A)("clean-btn",e,t&&"wordWrapButtonEnabled_gY8A"),"aria-label":i,title:i,children:(0,l.jsx)(w.A,{className:"wordWrapButtonIcon_iowe","aria-hidden":"true"})})}function v({children:e,className:s="",metastring:t,title:i,showLineNumbers:n,language:r,hideClipboard:u=!1}){var b;let{prism:{defaultLanguage:j,magicComments:g}}=(0,m.p)(),N=(b=r??(0,c.DX)(s)??j,b?.toLowerCase()),y=(0,a.A)(),w=(0,h.f)(),v=(0,c.wt)(t)||i,{lineClassNames:A,code:k}=(0,c.Li)(e,{metastring:t,language:N,magicComments:g}),T=n??(0,c._u)(t);return u=t&&t.includes("hideClipboard"),(0,l.jsxs)(d,{as:"div",className:(0,o.A)(s,N&&!s.includes(`language-${N}`)&&`language-${N}`),children:[v&&(0,l.jsx)("div",{className:p.codeBlockTitle,children:v}),(0,l.jsxs)("div",{className:p.codeBlockContent,children:[(0,l.jsx)(f.Highlight,{theme:y,code:k,language:N??"text",children:({className:e,style:s,tokens:t,getLineProps:i,getTokenProps:n})=>(0,l.jsx)("pre",{tabIndex:0,ref:w.codeBlockRef,className:(0,o.A)(e,p.codeBlock,"thin-scrollbar"),style:s,children:(0,l.jsx)("code",{className:(0,o.A)(p.codeBlockLines,T&&p.codeBlockLinesWithNumbering),children:t.map((e,s)=>(0,l.jsx)(x,{line:e,getLineProps:i,getTokenProps:n,classNames:A[s],showLineNumbers:T},s))})})}),(0,l.jsxs)("div",{className:p.buttonGroup,children:[(w.isEnabled||w.isCodeScrollable)&&(0,l.jsx)(_,{className:p.codeButton,onClick:()=>w.toggle(),isEnabled:w.isEnabled}),!u&&(0,l.jsx)(B,{className:p.codeButton,code:k})]})]})]})}function A({children:e,...s}){let t=(0,n.default)(),o=i.Children.toArray(e).some(e=>(0,i.isValidElement)(e))?e:Array.isArray(e)?e.join(""):e;return(0,l.jsx)("string"==typeof o?v:u,{...s,children:o},String(t))}},178766:function(e,s,t){t.r(s),t.d(s,{default:()=>d}),t(296540);var i=t(769048),n=t(39836),o=t(829515),a=t(494528),r=t(952242),c=t(169764),l=t(474848);let d=function({children:e,collapsible:s,name:t,qualifierMessage:d,required:p,schemaName:u,schema:m}){let h,f,x,b;m&&(h=m.deprecated,f=m.description,x=m.default,b=m.nullable);let j=(0,a.guard)(Array.isArray(p)?p.includes(t):p,()=>(0,l.jsx)("span",{className:"openapi-schema__required",children:"required"})),g=(0,a.guard)(h,()=>(0,l.jsx)("span",{className:"openapi-schema__deprecated",children:"deprecated"})),N=(0,a.guard)(b,()=>(0,l.jsx)("span",{className:"openapi-schema__nullable",children:"nullable"})),y=(0,a.guard)(f,e=>(0,l.jsx)("div",{children:(0,l.jsx)(r.oz,{children:(0,o.createDescription)(e),components:{pre:"div",code({node:e,inline:s,className:t,children:n,...o}){let a=/language-(\w+)/.exec(t||"");return s?(0,l.jsx)("code",{children:n}):s||null==a?(0,l.jsx)(i.default,{children:n}):(0,l.jsx)(i.default,{className:t,children:n})}},rehypePlugins:[c.A]})})),B=(0,a.guard)(d,e=>(0,l.jsx)("div",{children:(0,l.jsx)(r.oz,{children:(0,o.createDescription)(e),rehypePlugins:[c.A]})})),w=(0,a.guard)("boolean"==typeof x?x.toString():x,e=>(0,l.jsx)("div",{className:"",children:(0,l.jsx)(r.oz,{children:`**Default value:** \`${e}\``})})),_=(0,l.jsxs)("div",{children:[(0,l.jsxs)("span",{className:"openapi-schema__container",children:[(0,l.jsx)("strong",{className:(0,n.A)("openapi-schema__property",{"openapi-schema__strikethrough":h}),children:t}),(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"}),N,!h&&j,g]}),B,w,y,e??e]});return(0,l.jsx)("div",{className:"openapi-schema__list-item",children:s?e:_})}},21086:function(e){e.exports=JSON.parse('{"parameters":[{"in":"query","name":"scope","schema":{"type":"string","enum":["system","tenant","project","resource"]}},{"description":"A project UID is required for project-scoped resources and should be omitted when targeting tenant-scoped resources","in":"header","name":"ProjectUid","schema":{"type":"string"}}]}')},129420:function(e){e.exports={title:"Body"}},644630:function(e){e.exports=JSON.parse('{"responses":{"200":{"description":"An array of permissions","content":{"application/json":{"schema":{"description":"Array of permissions","items":{"description":"Permission information","properties":{"name":{"type":"string"},"permissions":{"items":{"type":"string"},"type":"array"},"scope":{"enum":["system","tenant","project","resource"],"type":"string"}},"type":"object"},"type":"array"}}}}}}')}}]);

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.