Methods
$select
- $select(id): {
accounts: {
create(params: AddListAccountsParams, meta?: HttpMetaParams<"json">): Promise<void>;
list(params?: DefaultPaginationParams, meta?: HttpMetaParams<"none">): Paginator<mastodon.v1.Account[], DefaultPaginationParams>;
remove(params: AddListAccountsParams, meta?: HttpMetaParams<"json">): Promise<void>;
};
fetch(meta?: HttpMetaParams<"none">): Promise<List>;
remove(meta?: HttpMetaParams<"none">): Promise<void>;
update(params: CreateListParams, meta?: HttpMetaParams<"json">): Promise<List>;
} Returns {
accounts: {
create(params: AddListAccountsParams, meta?: HttpMetaParams<"json">): Promise<void>;
list(params?: DefaultPaginationParams, meta?: HttpMetaParams<"none">): Paginator<mastodon.v1.Account[], DefaultPaginationParams>;
remove(params: AddListAccountsParams, meta?: HttpMetaParams<"json">): Promise<void>;
};
fetch(meta?: HttpMetaParams<"none">): Promise<List>;
remove(meta?: HttpMetaParams<"none">): Promise<void>;
update(params: CreateListParams, meta?: HttpMetaParams<"json">): Promise<List>;
}
create:function
- create(params, meta?): Promise<void>
Returns Promise<void>
N/A
list:function
remove:function
- remove(params, meta?): Promise<void>
Returns Promise<void>
N/A
fetch:function
- fetch(meta?): Promise<List>
Parameters
Optional
meta: HttpMetaParams<"none">
Returns Promise<List>
List
remove:function
- remove(meta?): Promise<void>
Parameters
Optional
meta: HttpMetaParams<"none">
Returns Promise<void>
N/A
update:function
- update(params, meta?): Promise<List>
Returns Promise<List>
List
create
- create(params, meta?): Promise<List>
Returns Promise<List>
List
list
- list(meta?): Paginator<List[], undefined>
Parameters
Optional
meta: HttpMetaParams<"none">
Array of List
Add accounts to the given list. Note that the user must be following these accounts.