endpoints/accounts

Types

pub type GetAccountResponse {
  GetAccountResponse(account: account.Account)
}

Constructors

pub type RegisterNewAgentResponse {
  RegisterNewAgentResponse(
    token: auth.AgentToken,
    agent: agent.Agent,
    faction: faction.Faction,
    contract: contract.Contract,
    ships: List(ship.Ship),
  )
}

Constructors

Values

pub fn get_account(
  token: auth.AgentToken,
) -> Result(GetAccountResponse, api.ApiError)
Search Document