Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PUT /apiv1/urls #3

Open
nazanin-bayati opened this issue Feb 25, 2021 · 3 comments
Open

PUT /apiv1/urls #3

nazanin-bayati opened this issue Feb 25, 2021 · 3 comments

Comments

@nazanin-bayati
Copy link

nazanin-bayati commented Feb 25, 2021

as a client i want to put a new url instead of my old urlwith same hash id

Given a new url,
And hash id,
And a Author,
When clicking on replace,
Then replace the url of hash id.

When a previousurl,
Then raise bad request

When an invalid url #1,
Then an error Please enter a valid URL will be shown.

When a hash id #1 ,
Then an error That is already a vURL link will be shown.

When hash id is not found,
Then raise Not Found .

When hash id is not given,
Then raise bad request.

When 'hash id' length is too long or too short (refer to #1),
Then raise Bad Request.

When hash id is invalid,
Then raise Bad Request.

@nazanin-bayati
Copy link
Author

idea for right person: give a specific code for each vurl, you can change the old link with new link and same vurl only if you have the code.

@nazanin-bayati
Copy link
Author

idea for right person: the user can give username and password, and we give specific vurl to specific username and password

@nazanin-bayati
Copy link
Author

idea for right person: the user can give a number, and all hash id's are linked to specific number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant