post https://example.com/api/page/
A filename will be created based on the title of the page. This will be in lowercase, and all spaces will be replaced with hypens and have the .md
extension appended to the end. E.g. Lorem Ipsum -> lorem-ipsum.md
If a file already exists with that filename, a number will be appended to it. E.g. lorem-ipsum.md -> lorem-ipsum-1.md -> lorem-ipsum-2.md
$.post('/api/page/foo/bar', {
meta: JSON.stringify({
title: 'My Amazing Page',
description: 'A short description'
}),
content: '# Hello World'
});