Update api definitions
This commit is contained in:
parent
aacfb5e221
commit
16726789da
66 changed files with 586 additions and 156 deletions
|
@ -4,9 +4,15 @@ import { getFriendIds } from '../../common/get-friends';
|
|||
import { pack } from '../../../../models/note';
|
||||
import { ILocalUser } from '../../../../models/user';
|
||||
|
||||
/**
|
||||
* Get mentions of myself
|
||||
*/
|
||||
export const meta = {
|
||||
desc: {
|
||||
ja: '自分に言及している投稿の一覧を取得します。',
|
||||
en: 'Get mentions of myself.'
|
||||
},
|
||||
|
||||
requireCredential: true
|
||||
};
|
||||
|
||||
export default (params: any, user: ILocalUser) => new Promise(async (res, rej) => {
|
||||
// Get 'following' parameter
|
||||
const [following = false, followingError] =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue