Init
Initialise a new project with your authority.
Process
- The agent contacts
POST:/api/init
. - The authority responds with an
@InitResponse
. - The user is redirected to the
@InitResponse::redirect_url
, where they may create a project. - The agent begins polling
@InitResponse::url
(GET:/api/init/:id
) for the project status. - The authority responds with an
@InitStatusResponse
. - Upon creation,
@InitStatusResponse::status
isdone
, and@InitStatusResponse::project_url
is provided. - The agent creates a public and private key pair, and stores it for later