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

Add PUT method to the /lists webservice to update the description #2148

Closed
danielabutano opened this issue Nov 13, 2019 · 3 comments
Closed

Comments

@danielabutano
Copy link
Member

danielabutano commented Nov 13, 2019

Added the PUT http method to the existing /lists web service. It receives in input 2 string parameters passed in the URL: name (name of the list belonging to the user) and newDescription
Return status code 400 for missing parameters or wrong list name

@heralden
Copy link
Member

I just noticed that if newDescription is set to an empty string, the backend will return "Missing parameter: 'newDescription'". We should be able to remove the description by setting it to an empty string.

@danielabutano
Copy link
Member Author

@uosl try again.It should be fixed now

danielabutano pushed a commit to danielabutano/intermine that referenced this issue Nov 29, 2019
danielabutano pushed a commit to danielabutano/intermine that referenced this issue Nov 29, 2019
danielabutano pushed a commit to danielabutano/intermine that referenced this issue Nov 29, 2019
danielabutano pushed a commit to danielabutano/intermine that referenced this issue Nov 29, 2019
@heralden
Copy link
Member

@danielabutano Would it be possible to allow users whom are not logged in to add a description to their list? Right now it will respond with success, but the description for the list will still be null.

danielabutano pushed a commit to danielabutano/intermine that referenced this issue Mar 23, 2020
@danielabutano danielabutano added this to the InterMine 4.2.0 milestone May 6, 2020
@danielabutano danielabutano added this to InterMine 4.2.0 (Spring 2020) in Roadmap & release planning May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants