Skip to content

pinList(__userId_)

daneden edited this page Apr 3, 2022 · 5 revisions

pinList(_:userId:)

Enables the authenticated user to pin a List.

public func pinList(_ listId: List.ID, userId: User.ID)

Equivalent to POST /2/users/:user_id/pinned_lists

Parameters

  • listId: The ID of the List that you would like the user id to pin.
  • userId: The user ID who you are pinning a List on behalf of. It must match your own user ID or that of an authenticating user.

Returns

A response object containing the result of this pin list request

Types
Global Variables
Global Functions
Extensions
Clone this wiki locally