setup

Initial setup of croit.

post /setup/main-ip

Arguments
  • bodyoptional

    -

Definition
post /setup/main-ip

post /setup/import-cluster

Arguments
  • bodyoptional

    -

Definition
post /setup/import-cluster

post /setup/restore-backup

Arguments
  • bodyoptional

    -

Definition
post /setup/restore-backup
Attributes
  • statusCodeinteger

    -

  • idinteger

    -

  • startedBystring

    -

  • startedAtinteger

    -

  • doneboolean

    -

  • namestring

    -

  • statestring

    [WAITING, RUNNING, FINISHED, FAILED, CANCELED]

  • objectstring

    -

  • outputstring

    -

Example response
{ "statusCode": 0, "id": 0, "startedBy": "string", "startedAt": 0, "done": true, "name": "string", "state": "WAITING", "object": "string", "output": "string" }

get /setup/list-interfaces

Arguments
  • No arguments...

Definition
get /setup/list-interfaces
Attributes
  • ipsarray

    -

    • interfaceNamestring

      -

    • ipstring

      -

    • netmaskinteger

      -

  • interfacesarray

    -

  • currentInterfacestring

    -

  • currentIpstring

    -

Example response
{ "ips": [ { "interfaceName": "string", "ip": "string", "netmask": 0 } ], "interfaces": [ "string" ], "currentInterface": "string", "currentIp": "string" }