mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-02 16:45:54 +02:00
Introduce OpenAPI specs (#4351)
* wip * wip * wip * Update index.ts * Update gen-openapi-spec.ts * Update api.ja-JP.md * Fix * Improve doc * Update gen-openapi-spec.ts * Update redoc.html * Improve doc * Update gen-openapi-spec.ts * Improve doc * Update CHANGELOG.md
This commit is contained in:
@@ -16,6 +16,8 @@ export const meta = {
|
||||
'en-US': 'Follow a user.'
|
||||
},
|
||||
|
||||
tags: ['following', 'users'],
|
||||
|
||||
limit: {
|
||||
duration: ms('1hour'),
|
||||
max: 100
|
||||
|
||||
@@ -16,6 +16,8 @@ export const meta = {
|
||||
'en-US': 'Unfollow a user.'
|
||||
},
|
||||
|
||||
tags: ['following', 'users'],
|
||||
|
||||
limit: {
|
||||
duration: ms('1hour'),
|
||||
max: 100
|
||||
|
||||
@@ -11,6 +11,8 @@ export const meta = {
|
||||
'en-US': 'Accept a follow request.'
|
||||
},
|
||||
|
||||
tags: ['following', 'account'],
|
||||
|
||||
requireCredential: true,
|
||||
|
||||
kind: 'following-write',
|
||||
|
||||
@@ -12,6 +12,8 @@ export const meta = {
|
||||
'en-US': 'Cancel a follow request.'
|
||||
},
|
||||
|
||||
tags: ['following', 'account'],
|
||||
|
||||
requireCredential: true,
|
||||
|
||||
kind: 'following-write',
|
||||
|
||||
@@ -7,6 +7,8 @@ export const meta = {
|
||||
'en-US': 'Get all pending received follow requests.'
|
||||
},
|
||||
|
||||
tags: ['following', 'account'],
|
||||
|
||||
requireCredential: true,
|
||||
|
||||
kind: 'following-read'
|
||||
|
||||
@@ -11,6 +11,8 @@ export const meta = {
|
||||
'en-US': 'Reject a follow request.'
|
||||
},
|
||||
|
||||
tags: ['following', 'account'],
|
||||
|
||||
requireCredential: true,
|
||||
|
||||
kind: 'following-write',
|
||||
|
||||
Reference in New Issue
Block a user