Files
directus/docs/reference/system/extensions.md
Jay Cammarano 29b0fb9b8b Fixes broken links in docs (#9172)
* first half of broken links fixed

* next chunk of broken links resolved

* next chunk of urls

* last chunk of links

* one more

* filter rules

* homepage links

* removed localhost

* filter rules for query

* updated links

* relationships link

* changed links from references to glossary
2021-10-27 17:22:43 -04:00

78 lines
951 B
Markdown

---
pageClass: page-reference
---
# Extensions
<div class="two-up">
<div class="left">
> The extensions endpoints are used by the Admin App to retrieve what extensions to install.
> [Learn more about Extensions](/getting-started/glossary/#extensions).
</div>
<div class="right">
[[toc]]
</div>
</div>
---
## List Extensions
List the available extensions in the project. The types of extensions that you can list are interfaces, displays,
layouts, modules.
<div class="two-up">
<div class="left">
### Query Parameters
This endpoint doesn't currently support any query parameters.
### Returns
An array of interface extension keys.
</div>
<div class="right">
### REST API
```
GET /extensions/:type
```
##### Example
```
GET /extensions/interfaces
```
### GraphQL
```
POST /graphql/system
```
```graphql
type Query {
extensions: extensions
}
```
##### Example
```graphql
query {
extensions {
interfaces
}
}
```
</div>
</div>