Markbase
Markbase is a one click publish platform that lets you automatically sync and publish local markdown content to unlimited hosted domains You can view more interactive API Documentation with Postman here π Collection: Project
ListProjects
List all projects for a user
"projects": [
{
"id": String,
"slug": String,
"name": String,
"folderToShare": String,
"publishedUrl": String,
"repositoryUrl": String,
"customCss": String,
"customHeadJs": String,
"customBodyJs": String,
"public": Boolean,
"metadata": {
"id": String,
"createdAt": String,
"updatedAt": String"
}
}
]
Method: GET
https://api.markbase.xyz/projects/user
CreateProject
Create new project for a user
Method: POST
https://api.markbase.xyz/projects/user
Body formdata
CustomCSS
Apply custom css for a project
Method: POST
https://api.markbase.xyz/projects/user/custom-css
Body formdata
CustomHeadJS
Apply custom JS to the head for a project
Method: POST
https://api.markbase.xyz/custom-head-js
Body formdata
CustomBodyJS
Apply custom JS to the body for a project
Method: POST
https://api.markbase.xyz/projects/user/custom-body-js
Body formdata
CustomDomain
Apply a custom domain for a project
Method: POST
https://api.markbase.xyz/projects/user/custom-domain
Body formdata
ProjectByID
Get a project by ID
"projects": [
{
"id": String,
"slug": String,
"name": String,
"folderToShare": String,
"publishedUrl": String,
"repositoryUrl": String,
"customCss": String,
"customHeadJs": String,
"customBodyJs": String,
"public": Boolean,
"metadata": {
"id": String,
"createdAt": String,
"updatedAt": String"
}
}
]
Method: GET
https://api.markbase.xyz/projects/id/:projectId
UpdateProjectById
Update a project by ID
Method: PUT
https://api.markbase.xyz/projects/id/:projectId
DeleteProjectById
Delete a project by ID
Method: DELETE
https://api.markbase.xyz/projects/id/:projectId
ProjectBySlug
Get project by Slug
Method: GET
https://api.markbase.xyz//projects/slug/:projectSlug
SyncProject
Sync a project's deployment with content and styles
Method: POST
https://api.markbase.xyz/projects/user/sync
Body formdata
π Collection: Stripe
Checkout
Proceed to checkout via stripe
Method: GET
https://api.markbase.xyz/stripe/checkout?priceId=String
Query Params
Subscriptions
Get active subscriptions for user
Method: GET
https://api.markbase.xyz/stripe/subscriptions
SubscriptionById
Get subscription by ID
Method: GET
https://api.markbase.xyz/stripe/subscriptions/:subscriptionId
Session
Get Stripe checkout session
Method: GET
https://api.markbase.xyz/stripe/portal
π Collection: User
CreateUser
Create a new User if it does not exist
Method: POST
https://api.markbase.xyz/user
UserInfo
Get info for a user
Method: GET
https://api.markbase.xyz/user/me
UserFeedback
Publish user feedback
Method: POST
https://api.markbase.xyz/user/feedback
UserOnboarding
Send user a onboarding email
Method: POST
https://api.markbase.xyz/user/onboarding
π Collection: Token
TokenObsidian
Get Obsidian Token
Method: GET
https://api.markbase.xyz/token/obsidian
TokenObsidianVerify
Verify obsidian token
Method: GET
https://api.markbase.xyz/token/obsidian/verify