Init

Initialise a new project with your authority.

$   nv init
    Initialising Project...
 
    Press ENTER to open in browser:
    https://onlynv.dev/init/1

Process

  1. The agent contacts POST:/api/init.
  2. The authority responds with an @InitResponse.
  3. The user is redirected to the @InitResponse::redirect_url, where they may create a project.
  4. The agent begins polling @InitResponse::url (GET:/api/init/:id) for the project status.
  5. The authority responds with an @InitStatusResponse.
  6. Upon creation, @InitStatusResponse::status is done, and @InitStatusResponse::project_url is provided.
  7. The agent creates a public and private key pair, and stores it for later

On this page