Skip to content
Discussion options

You must be logged in to vote

You could use the same API endpoint we use in the Statamic CLI when you do statamic new:

https://github.com/statamic/cli/blob/21561319ba5b1920cf8dadbe0a47006e27d95530/src/NewCommand.php#L38

https://github.com/statamic/cli/blob/21561319ba5b1920cf8dadbe0a47006e27d95530/src/NewCommand.php#L1242-L1245

It's worth noting that these APIs are undocumented because we don't intend for third-parties to use them. We might make changes to the API in the future without any notice.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@iuriemalai
Comment options

Answer selected by iuriemalai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants