Skip to content

Commit

Permalink
docs: update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
DavieReid committed Aug 14, 2023
1 parent c2d647a commit 79ad902
Show file tree
Hide file tree
Showing 37 changed files with 388 additions and 22 deletions.
2 changes: 1 addition & 1 deletion packages/site/public/search-data.json

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions packages/site/public/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>https://mosaic-mosaic-dev-team.vercel.app/mosaic/configure/admin/index</loc>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>https://mosaic-mosaic-dev-team.vercel.app/mosaic/configure/layouts/index</loc>
<changefreq>weekly</changefreq>
Expand Down
2 changes: 1 addition & 1 deletion packages/site/snapshots/latest/mosaic/author/fragments.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Fragments
layout: DetailTechnical
sidebar:
priority: 2
lastModified: 1690208528038
lastModified: 1691594923209
fullPath: /mosaic/author/fragments.mdx
route: /mosaic/author/fragments
breadcrumbs:
Expand Down
202 changes: 202 additions & 0 deletions packages/site/snapshots/latest/mosaic/configure/admin/index.mdx
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 |
8 changes: 8 additions & 0 deletions packages/site/snapshots/latest/mosaic/configure/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@ sidebarData:
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,14 @@ sidebarData:
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,14 @@ sidebarData:
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,14 @@ sidebarData:
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@ sidebarData:
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@ sidebarData:
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,14 @@ sidebarData:
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,14 @@ sidebarData:
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,14 @@ sidebarData:
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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,14 @@ sidebarData:
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
Expand Down
Loading

0 comments on commit 79ad902

Please sign in to comment.