ownerships

fun Lists.ownerships(    count: Int? = null,     cursor: Long? = null,     vararg options: Option): CursorJsonObjectApiAction<CursorLists, TwitterList>

Returns the lists owned by the specified Twitter user. Private lists will only be shown if the authenticated user is also the owner of the lists.

Twitter API reference

Receiver

Lists endpoint instance.

Return

CursorJsonObjectApiAction for CursorLists model.

Parameters

count

The amount of results to return per page. Defaults to 20. No more than 1000 results will ever be returned in a single page.

cursor

Breaks the results into pages. Provide a value of -1 to begin paging. Provide values as returned in the response body's next_cursor and previous_cursor attributes to page back and forth in the list. It is recommended to always use cursors when the method supports them. See Cursoring for more information.

options

Optional. Custom parameters of this request.


fun Lists.ownerships(    screenName: String,     count: Int? = null,     cursor: Long? = null,     vararg options: Option): CursorJsonObjectApiAction<CursorLists, TwitterList>

Returns the lists owned by the specified Twitter user. Private lists will only be shown if the authenticated user is also the owner of the lists.

Twitter API reference

Receiver

Lists endpoint instance.

Return

CursorJsonObjectApiAction for CursorLists model.

Parameters

screenName

The screen name of the user for whom to return results. Helpful for disambiguating when a valid screen name is also a user ID.

count

The amount of results to return per page. Defaults to 20. No more than 1000 results will ever be returned in a single page.

cursor

Breaks the results into pages. Provide a value of -1 to begin paging. Provide values as returned in the response body's next_cursor and previous_cursor attributes to page back and forth in the list. It is recommended to always use cursors when the method supports them. See Cursoring for more information.

options

Optional. Custom parameters of this request.


Shorthand property to Lists.ownerships.

See also