Skip to content

Instantly share code, notes, and snippets.

@isamrish
Last active January 23, 2020 17:55
Show Gist options
  • Save isamrish/cd0851e0d983cc1a33759eb7c93c6f99 to your computer and use it in GitHub Desktop.
Save isamrish/cd0851e0d983cc1a33759eb7c93c6f99 to your computer and use it in GitHub Desktop.
Minimal JSON file for adding a single user in a ghost environment.
{
"data": {
"users": [
{
"email": "sample@gmail.com",
"name": "sample"
}
]
},
"meta": {
"version": "3.3.0"
}
}
@isamrish
Copy link
Author

isamrish commented Jan 23, 2020

This is useful when you want to add one or multiple users without inviting them through sending the email, I mean for testing purposes.
Here:

  • email and name are required to create the author.
  • meta version is the ghost version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment