From 57103830cc64694158a36b24a873427ce7dc978e Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Fri, 28 Jun 2019 16:26:39 +0200 Subject: link django --- api-bank.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/api-bank.rst b/api-bank.rst index bdf99a14..b782ca56 100644 --- a/api-bank.rst +++ b/api-bank.rst @@ -32,7 +32,7 @@ This API provides programmatic user registration at the bank. :status 200 OK: The new user has been correctly registered. :status 409 Conflict: the username requested by the client is not available anymore -:status 406 Not Acceptable: unacceptable characters were given as username / password. See https://docs.djangoproject.com/en/2.2/ref/contrib/auth/#django.contrib.auth.models.User.username for the accepted character set. +:status 406 Not Acceptable: unacceptable characters were given for the username. See https://docs.djangoproject.com/en/2.2/ref/contrib/auth/#django.contrib.auth.models.User.username for the accepted character set. **Details** @@ -41,10 +41,12 @@ This API provides programmatic user registration at the bank. interface BankRegistrationRequest { - // Username to use for registration. + // Username to use for registration; max length is 150 chars. username: string; - // Password to associate with the username. + // Password to associate with the username. Any characters and + // any length are valid; next releases will enforce a minimum length + // and a safer characters choice. password: string; } -- cgit v1.2.3