Update api definitions
This commit is contained in:
parent
aacfb5e221
commit
16726789da
66 changed files with 586 additions and 156 deletions
|
|
@ -3,9 +3,17 @@ import Mute from '../../../../models/mute';
|
|||
import { pack, ILocalUser } from '../../../../models/user';
|
||||
import { getFriendIds } from '../../common/get-friends';
|
||||
|
||||
/**
|
||||
* Get muted users of a user
|
||||
*/
|
||||
export const meta = {
|
||||
desc: {
|
||||
ja: 'ミュートしているユーザー一覧を取得します。',
|
||||
en: 'Get muted users.'
|
||||
},
|
||||
|
||||
requireCredential: true,
|
||||
|
||||
kind: 'account/read'
|
||||
};
|
||||
|
||||
export default (params: any, me: ILocalUser) => new Promise(async (res, rej) => {
|
||||
// Get 'iknow' parameter
|
||||
const [iknow = false, iknowErr] = $.bool.optional.get(params.iknow);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue