/service/rest/login/reset/:account

Descripción

I mind map about the reset API.
Nikolaos Grammatikos
Mapa Mental por Nikolaos Grammatikos, actualizado hace más de 1 año
Nikolaos Grammatikos
Creado por Nikolaos Grammatikos hace alrededor de 8 años
43
0

Resumen del Recurso

/service/rest/login/reset/:account
  1. Check if the account is undefined
    1. If is undefined, return { status : 'unsuccessful', message: 'The account is undefined' } with error code 400.
      1. If is defined checking if is email or username.
        1. If is email, try to find the account with this email.
          1. 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.
            1. If the account not exists, return { status : 'unsuccessful', message: 'This account not exists' } with error code 400.
            2. If is username, try to find the account with this username.
              1. If is not username or email, return { status : 'unsuccessful', message: 'The parameter is not email or username' } with error code 400.
            Mostrar resumen completo Ocultar resumen completo

            Similar

            Code Challenge Flow Chart
            Charlotte Hilton
            Flvs foundations of programming dba 2
            mariaha vassar
            Core Spring 4.2 Certification Mock Exam
            antoine.rey
            psycholgoy as level topic 2 - memory
            Talya Hambling
            EDEXCEL IGCSE (9-1) COMPUTER SCIENCE
            CreativeKai 03
            Chapter 10: Medical coding
            Kelly Martin
            Basic Python - Strings
            Rebecca Noel
            Online course: Administration Essentials for the Service Cloud
            Saulo Oliveira
            RESTful Web Services with Express Framework and mongoose.
            Angel Martínez Rodriguez
            Our Story
            Natalia R