Skip to content

Upsert a catalog markdown file

PUT
/v1/workspaces/{workspaceId}/catalog/files
curl --request PUT \
--url https://shareout.site/v1/workspaces/example/catalog/files \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "path": "sources/orders.md", "content": "example" }'
workspaceId
required
string

Workspace ID or slug.

Media type application/json
object
path
required
string
Example
sources/orders.md
content
required
string

Saved