import{r as n,p as i,q as c,w as a,z as e,t as h,R as s}from"./vendor.8ed37afc.js";const d={class:"markdown-body"},p={class:"two-up"},u={class:"left"},_=s("The extensions endpoints are used by the Admin App to retrieve what extensions to install. "),x=s("Learn more about Extensions"),f=s("."),m=e("div",{class:"right"},[e("p",null,[e("div",{class:"table-of-contents"},[e("ul",null,[e("li",null,[e("a",{href:"#list-extensions"},"List Extensions")])])])])],-1),y=e("hr",null,null,-1),g=e("h2",{id:"list-extensions"},[s("List Extensions "),e("a",{class:"header-anchor",href:"#list-extensions"},"#")],-1),v=e("p",null,"List the available extensions in the project. The types of extensions that you can list are interfaces, displays, layouts, modules.",-1),q=e("div",{class:"two-up"},[e("div",{class:"left"},[e("h3",{id:"query-parameters"},[s("Query Parameters "),e("a",{class:"header-anchor",href:"#query-parameters"},"#")]),e("p",null,"This endpoint doesn\u2019t currently support any query parameters."),e("h3",{id:"returns"},[s("Returns "),e("a",{class:"header-anchor",href:"#returns"},"#")]),e("p",null,"An array of interface extension keys.")]),e("div",{class:"right"},[e("h3",{id:"rest-api"},[s("REST API "),e("a",{class:"header-anchor",href:"#rest-api"},"#")]),e("pre",null,[e("code",null,`GET /extensions/:type
`)]),e("h5",{id:"example"},[s("Example "),e("a",{class:"header-anchor",href:"#example"},"#")]),e("pre",null,[e("code",null,`GET /extensions/interfaces
`)]),e("h3",{id:"graphql"},[s("GraphQL "),e("a",{class:"header-anchor",href:"#graphql"},"#")]),e("pre",null,[e("code",null,`POST /graphql/system
`)]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"type"),e("span",{class:"hljs-type"}," Query"),s(` {
	extensions: extensions
}
`)])]),e("h5",{id:"example-2"},[s("Example "),e("a",{class:"header-anchor",href:"#example-2"},"#")]),e("pre",null,[e("code",{class:"language-graphql"},[e("span",{class:"hljs-keyword"},"query"),s(` {
	extensions {
		interfaces
	}
}
`)])])])],-1),b={setup(E,{expose:o}){const t={title:"Extensions",modularExtension:!1,pageClass:"page-reference"};return o({frontmatter:t}),(k,w)=>{const r=n("router-link"),l=n("DocsWrapper");return i(),c(l,{frontmatter:t},{default:a(()=>[e("div",d,[e("div",p,[e("div",u,[e("blockquote",null,[e("p",null,[_,h(r,{to:"/docs/getting-started/glossary/#extensions"},{default:a(()=>[x]),_:1}),f])])]),m]),y,g,v,q])]),_:1})}}};export{b as default};
