From e7ff4abf67d58d8f186be22eef4f7f0d162dc4cf Mon Sep 17 00:00:00 2001 From: Harmon Date: Mon, 1 Jul 2019 19:31:54 -0500 Subject: [PATCH] Update documentation for API.update_list --- docs/api.rst | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/api.rst b/docs/api.rst index 5aa64d6..13eb931 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -629,15 +629,18 @@ List Methods :rtype: :class:`List` object -.. method:: API.update_list(slug, [name], [mode], [description]) +.. method:: API.update_list(list_id/slug, [name], [mode], [description], [owner_screen_name/owner_id]) - Updates the specified list. Note: this current throws a 500. Twitter - is looking into the issue. + Updates the specified list. + The authenticated user must own the list to be able to update it. + :param list_id: |list_id| :param slug: |slug| - :param name: What you'd like to change the lists name to. + :param name: The name for the list. :param mode: |list_mode| - :param description: What you'd like to change the list description to. + :param description: The description to give the list. + :param owner_screen_name: |owner_screen_name| + :param owner_id: |owner_id| :rtype: :class:`List` object -- 2.25.1