Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move setup to the API #3136

Closed
sebgie opened this issue Jun 27, 2014 · 0 comments · Fixed by #3243
Closed

Move setup to the API #3136

sebgie opened this issue Jun 27, 2014 · 0 comments · Fixed by #3243
Assignees
Labels
affects:api Affects the Ghost API

Comments

@sebgie
Copy link
Contributor

sebgie commented Jun 27, 2014

See #3072 (comment) for reference.

The signup action should get it's own route on the API. I would like to propose the route /ghost/api/v0.1/authentication/setup because it looks like we are going to assemble all authentication related end points there? The implementation should be moved to /core/server/api/authentication.js as well.

@sebgie sebgie added the api label Jun 27, 2014
@ErisDS ErisDS added this to the 0.5 Multi-user milestone Jun 30, 2014
@sebgie sebgie self-assigned this Jul 4, 2014
@sebgie sebgie changed the title Move signup to the API Move setup to the API Jul 7, 2014
sebgie added a commit to sebgie/Ghost that referenced this issue Jul 11, 2014
closes TryGhost#3136
- moved setup to authentication API
- added `POST /ghost/api/v0.1/authentication/setup` to execute the
setup process
- added `GET /ghost/api/v0.1/authentication/setup` to check if blog is
already set up (needed for TryGhost#3145)
- removed unused methods from api/users.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects:api Affects the Ghost API
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants