-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
388 additions
and
22 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
index.mdx |
202 changes: 202 additions & 0 deletions
202
packages/site/snapshots/latest/mosaic/configure/admin/index.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,202 @@ | ||
--- | ||
title: Admin | ||
layout: DetailTechnical | ||
sidebar: | ||
priority: 3 | ||
lastModified: 1692017980531 | ||
fullPath: /mosaic/configure/admin/index.mdx | ||
route: /mosaic/configure/admin/index | ||
breadcrumbs: | ||
- label: Mosaic | ||
path: /mosaic/index.mdx | ||
id: /mosaic/index.mdx | ||
- label: Configure | ||
path: /mosaic/configure/index.mdx | ||
id: /mosaic/configure/index.mdx | ||
- label: Admin | ||
path: /mosaic/configure/admin/index.mdx | ||
id: /mosaic/configure/admin/index.mdx | ||
readingTime: | ||
text: 1 min read | ||
minutes: 0.555 | ||
time: 33300 | ||
words: 111 | ||
tableOfContents: | ||
- level: 2 | ||
id: endpoints | ||
text: Endpoints | ||
navigation: | ||
prev: | ||
title: Custom Components | ||
route: /mosaic/configure/theme/custom-components | ||
next: | ||
title: Sources | ||
route: /mosaic/configure/sources/index | ||
sidebarData: | ||
- id: /mosaic/configure/index | ||
fullPath: /mosaic/configure/index.mdx | ||
name: Configure | ||
priority: 4 | ||
data: | ||
level: 2 | ||
link: /mosaic/configure/index | ||
childNodes: [] | ||
- id: /mosaic/configure/modes/index | ||
fullPath: /mosaic/configure/modes/index.mdx | ||
name: Modes of operation | ||
priority: 4 | ||
data: | ||
level: 3 | ||
link: /mosaic/configure/modes/index | ||
childNodes: | ||
- id: /mosaic/configure/modes/active | ||
fullPath: /mosaic/configure/modes/active.mdx | ||
name: Active mode | ||
data: | ||
level: 3 | ||
link: /mosaic/configure/modes/active | ||
childNodes: [] | ||
- id: /mosaic/configure/modes/snapshot-file | ||
fullPath: /mosaic/configure/modes/snapshot-file.mdx | ||
name: Snapshot file mode | ||
data: | ||
level: 3 | ||
link: /mosaic/configure/modes/snapshot-file | ||
childNodes: [] | ||
- id: /mosaic/configure/modes/snapshot-s3 | ||
fullPath: /mosaic/configure/modes/snapshot-s3.mdx | ||
name: Snapshot AWS/S3 mode | ||
data: | ||
level: 3 | ||
link: /mosaic/configure/modes/snapshot-s3 | ||
childNodes: [] | ||
- id: /mosaic/configure/theme/index | ||
fullPath: /mosaic/configure/theme/index.mdx | ||
name: Theming Your Site | ||
priority: 4 | ||
data: | ||
level: 3 | ||
link: /mosaic/configure/theme/index | ||
childNodes: | ||
- id: /mosaic/configure/theme/custom-css | ||
fullPath: /mosaic/configure/theme/custom-css.mdx | ||
name: Custom CSS | ||
priority: 3 | ||
data: | ||
level: 3 | ||
link: /mosaic/configure/theme/custom-css | ||
childNodes: [] | ||
- id: /mosaic/configure/theme/custom-components | ||
fullPath: /mosaic/configure/theme/custom-components.mdx | ||
name: Custom Components | ||
priority: 2 | ||
data: | ||
level: 3 | ||
link: /mosaic/configure/theme/custom-components | ||
childNodes: [] | ||
- id: /mosaic/configure/admin/index | ||
fullPath: /mosaic/configure/admin/index.mdx | ||
name: Admin | ||
priority: 3 | ||
data: | ||
level: 3 | ||
link: /mosaic/configure/admin/index | ||
childNodes: [] | ||
- id: /mosaic/configure/sources/index | ||
fullPath: /mosaic/configure/sources/index.mdx | ||
name: Sources | ||
priority: 3 | ||
data: | ||
level: 3 | ||
link: /mosaic/configure/sources/index | ||
childNodes: | ||
- id: /mosaic/configure/sources/schedules | ||
fullPath: /mosaic/configure/sources/schedules.mdx | ||
name: Schedules | ||
priority: 4 | ||
data: | ||
level: 3 | ||
link: /mosaic/configure/sources/schedules | ||
childNodes: [] | ||
- id: /mosaic/configure/sources/local-folder-source | ||
fullPath: /mosaic/configure/sources/local-folder-source.mdx | ||
name: Local Folder Source | ||
priority: 3 | ||
data: | ||
level: 3 | ||
link: /mosaic/configure/sources/local-folder-source | ||
childNodes: [] | ||
- id: /mosaic/configure/sources/git-repo-source | ||
fullPath: /mosaic/configure/sources/git-repo-source.mdx | ||
name: Git Repo Source | ||
priority: 2 | ||
data: | ||
level: 3 | ||
link: /mosaic/configure/sources/git-repo-source | ||
childNodes: [] | ||
- id: /mosaic/configure/sources/http-source | ||
fullPath: /mosaic/configure/sources/http-source.mdx | ||
name: HTTP Source | ||
priority: 1 | ||
data: | ||
level: 3 | ||
link: /mosaic/configure/sources/http-source | ||
childNodes: [] | ||
- id: /mosaic/configure/layouts/index | ||
fullPath: /mosaic/configure/layouts/index.mdx | ||
name: Layouts | ||
priority: 2 | ||
data: | ||
level: 3 | ||
link: /mosaic/configure/layouts/index | ||
childNodes: [] | ||
- id: /mosaic/configure/plugins/index | ||
fullPath: /mosaic/configure/plugins/index.mdx | ||
name: Plugins | ||
priority: 1 | ||
data: | ||
level: 3 | ||
link: /mosaic/configure/plugins/index | ||
childNodes: | ||
- id: /mosaic/configure/plugins/after-source | ||
fullPath: /mosaic/configure/plugins/after-source.mdx | ||
name: Lifecycle - $afterSource | ||
data: | ||
level: 3 | ||
link: /mosaic/configure/plugins/after-source | ||
childNodes: [] | ||
- id: /mosaic/configure/plugins/after-update | ||
fullPath: /mosaic/configure/plugins/after-update.mdx | ||
name: Lifecycle - afterUpdate | ||
data: | ||
level: 3 | ||
link: /mosaic/configure/plugins/after-update | ||
childNodes: [] | ||
- id: /mosaic/configure/plugins/before-send | ||
fullPath: /mosaic/configure/plugins/before-send.mdx | ||
name: Lifecycle - $beforeSend | ||
data: | ||
level: 3 | ||
link: /mosaic/configure/plugins/before-send | ||
childNodes: [] | ||
- id: /mosaic/configure/plugins/should-clear-cache | ||
fullPath: /mosaic/configure/plugins/should-clear-cache.mdx | ||
name: Lifecycle - shouldClearCache | ||
data: | ||
level: 3 | ||
link: /mosaic/configure/plugins/should-clear-cache | ||
childNodes: [] | ||
--- | ||
# {meta.title} | ||
|
||
There are several admin urls exposed by Mosaic that provide an insight into how the filesystem has been configured and a way to remotely manage sources. | ||
|
||
## Endpoints | ||
|
||
| Endpoint | Method | Description | Params | | ||
| -------------------------- | ------ | -------------------------------------------- | ---------------------- | | ||
| `/_mosaic_/config` | GET | Returns the JSON from the Mosaic config file | n/a | | ||
| `/_mosaic_/sources/list` | GET | Returns a collection of active sources | n/a | | ||
| `/_mosaic_/sources/add` | POST | Adds the source | definition & isPreview | | ||
| `/_mosaic_/source/stop` | PUT | Stops the source with the provided name | name | | ||
| `/_mosaic_/source/restart` | PUT | Stops the source with the provided name | name | |
1 change: 1 addition & 0 deletions
1
packages/site/snapshots/latest/mosaic/configure/admin/shared-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../shared-config.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/site/snapshots/latest/mosaic/configure/layouts/shared-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
../shared-config.json | ||
../../shared-config.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/site/snapshots/latest/mosaic/configure/modes/shared-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
../shared-config.json | ||
../../shared-config.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/site/snapshots/latest/mosaic/configure/plugins/shared-config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
../shared-config.json | ||
../../shared-config.json |
Oops, something went wrong.