O GoConqr está de visual novo! Conte para nós o que você achou.

Mapa mental

/service/rest/login/reset/:account

Nikolaos Grammatikos Coding Inglês

Mind map on REST login reset account endpoint: account check, undefined account error 400, and email or username validation

Mind map: REST login reset account endpoint

Conteúdo do mapa

/service/rest/login/reset/:account

  1. Check if the account is undefined

    • If is undefined, return { status : 'unsuccessful', message: 'The account is undefined' } with error code 400.
    • If is defined checking if is email or username.
      • If is email, try to find the account with this email.
        • If the account exists, put the account to reset mode. and return { status: 'successful', message: 'You have successful request a reset to this account' } with code 200.
        • If the account not exists, return { status : 'unsuccessful', message: 'This account not exists' } with error code 400.
      • If is username, try to find the account with this username.
      • If is not username or email, return { status : 'unsuccessful', message: 'The parameter is not email or username' } with error code 400.

Informações

Descrição
I mind map about the reset API.
Visualizações
72
Avaliação

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?