Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListsEndpoint ¶
type ListsEndpoint struct {
// contains filtered or unexported fields
}
ListsEndpoint 提供用户列表与相关列表 capability。
func NewLists ¶
func NewLists(c *client.Client) *ListsEndpoint
NewLists 用共享 transport 构造 lists capability。
func (*ListsEndpoint) ListInfo ¶
func (e *ListsEndpoint) ListInfo(listID string) (map[string]any, error)
ListInfo GET /api/v1/lists/{id} — full payload (list, is_creator, …).
func (*ListsEndpoint) MyLists ¶
func (e *ListsEndpoint) MyLists(page, limit int, sortBy string) (model.SearchResult, error)
MyLists GET /api/v1/lists — sort_by is required by the server.
func (*ListsEndpoint) RelatedLists ¶
func (e *ListsEndpoint) RelatedLists(movieID string, page, limit int) (model.SearchResult, error)
RelatedLists GET /api/v1/lists/related?movie_id=
Click to show internal directories.
Click to hide internal directories.