kuzzleio / kuzzle

Open-source Back-end, self-hostable & ready to use - Real-time, storage, advanced search - Web, Apps, Mobile, IoT -
https://kuzzle.io
Apache License 2.0
1.44k stars 124 forks source link

HTTP Endpoints: Add createFirstAdmin endpoint so no console or CLI is needed for that step #1244

Closed broken-bytes closed 5 years ago

broken-bytes commented 5 years ago

Having the createFirstAdmin as an HTTP endpoint would help in situations where the CLI and admin console is not used and all you want is the HTTP API, thus is is inconsistent that the HTTP API lacks this feature

Aschen commented 5 years ago

Are you sure that the security:createFirstAdmin can not be accessed through HTTP ? https://docs-v2.kuzzle.io/api/1/controller-security/create-first-admin/

broken-bytes commented 5 years ago

From the doc link you send me it seems possible, but the old guide does only mention the CLI and console, thus I didn't search for an HTTP call in the docs

Aschen commented 5 years ago

It is recommended to use the new version of the documentation, we rewrite the API and SDK parts and we just have to adapt some old snippets from the Guide and we will release the new version officialy

Aschen commented 5 years ago

New documentation version is officially released: https://docs.kuzzle.io/api/1/controller-security/create-first-admin/