Accounts handler¶
Module realize a handler for work with several accounts
- class luna_admin.app.handlers.accounts_handler.AccountsHandler(request)[source]¶
 Handler for work with several accounts
- async get()[source]¶
 Get accounts with pagination. See spec_get_accounts.
- Return type
 HTTPResponse- Returns
 response with account list and account count
- async post()[source]¶
 Register a new account in luna-admin. See spec_create_account.
- Return type
 HTTPResponse- Returns
 response with account id
