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
ListProjectsList 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
CreateProjectCreate new project for a user
Method: POST
https://api.markbase.xyz/projects/user
Body formdata
CustomCSSApply custom css for a project
Method: POST
https://api.markbase.xyz/projects/user/custom-css
Body formdata
CustomHeadJSApply custom JS to the head for a project
Method: POST
https://api.markbase.xyz/custom-head-js
Body formdata
CustomBodyJSApply custom JS to the body for a project
Method: POST
https://api.markbase.xyz/projects/user/custom-body-js
Body formdata
CustomDomainApply a custom domain for a project
Method: POST
https://api.markbase.xyz/projects/user/custom-domain
Body formdata
ProjectByIDGet 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
UpdateProjectByIdUpdate a project by ID
Method: PUT
https://api.markbase.xyz/projects/id/:projectId
DeleteProjectByIdDelete a project by ID
Method: DELETE
https://api.markbase.xyz/projects/id/:projectId
ProjectBySlugGet project by Slug
Method: GET
https://api.markbase.xyz//projects/slug/:projectSlug
SyncProjectSync a project's deployment with content and styles
Method: POST
https://api.markbase.xyz/projects/user/sync
Body formdata
π Collection: Stripe
CheckoutProceed to checkout via stripe
Method: GET
https://api.markbase.xyz/stripe/checkout?priceId=String
Query Params
SubscriptionsGet active subscriptions for user
Method: GET
https://api.markbase.xyz/stripe/subscriptions
SubscriptionByIdGet subscription by ID
Method: GET
https://api.markbase.xyz/stripe/subscriptions/:subscriptionId
SessionGet Stripe checkout session
Method: GET
https://api.markbase.xyz/stripe/portal
π Collection: User
CreateUserCreate a new User if it does not exist
Method: POST
https://api.markbase.xyz/user
UserInfoGet info for a user
Method: GET
https://api.markbase.xyz/user/me
UserFeedbackPublish user feedback
Method: POST
https://api.markbase.xyz/user/feedback
UserOnboardingSend user a onboarding email
Method: POST
https://api.markbase.xyz/user/onboarding
π Collection: Token
TokenObsidianGet Obsidian Token
Method: GET
https://api.markbase.xyz/token/obsidian
TokenObsidianVerifyVerify obsidian token
Method: GET
https://api.markbase.xyz/token/obsidian/verify