指定したリストを更新します。リストを更新できるのはそのリストの所有者だけです。
POST lists/
|
https://api.twitter.com/1.1/lists/update.json
Resource URL
|
Resource Information
Response formats
JSON
Requires authentication?
Yes
Rate limited?
Yes
|
list_id か slug のどちらかは必ず設定する必要があります。 list_slugを設定した場合は、 owner_screen_name か owner_id のどちらかも設定する必要があります。
リストの数値型id。
数値型idではなく slug を使ってリストを識別することができます。もしslugを使用する場合は、owner_idパラメータや owner_screen_nameパラメータを使ってリストの所有者も指定しなければならないので注意してください。
リストの名前。
このリストを公開するか非公開にするか。 public(公開) か private(非公開)の値を使用できます。設定しなかった場合、リストは公開されます。
リストに設定する説明文。
slugで指定したリストを所有するユーザーのスクリーンネーム。
slugで指定したリストを所有するユーザーのユーザーID。
ParametersEither a
list_id
required
The numerical
slug
required
You can identify a list by its slug instead of its numerical id. If you decide to do so, note that you’ll also have to specify the list owner using the
name
optional
The name for the list.
mode
optional
Whether your list is public or private. Values can be
description
optional
The description to give the list.
owner_screen_name
optional
The screen name of the user who owns the list being requested by a
owner_id
optional
The user ID of the user who owns the list being requested by a |
ログインして登録アプリケーションの一覧を参照してください。
OAuth Signature GeneratorSign in to see a list of your registered applications. |
POST
https://api.twitter.com/1.1/lists/update.json?list_id=1234&mode=public&name=Party%20Time
Example RequestPOST
|