summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/ap
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/api/endpoints/ap')
-rw-r--r--src/server/api/endpoints/ap/get.ts8
-rw-r--r--src/server/api/endpoints/ap/show.ts8
2 files changed, 0 insertions, 16 deletions
diff --git a/src/server/api/endpoints/ap/get.ts b/src/server/api/endpoints/ap/get.ts
index c889d472bb..f2b4c2408f 100644
--- a/src/server/api/endpoints/ap/get.ts
+++ b/src/server/api/endpoints/ap/get.ts
@@ -6,19 +6,11 @@ import { ApiError } from '../../error';
export const meta = {
tags: ['federation'],
- desc: {
- 'ja-JP': 'URIを指定してActivityPubオブジェクトを参照します。',
- 'en-US': 'Browse to the ActivityPub object by specifying the URI.'
- },
-
requireCredential: false as const,
params: {
uri: {
validator: $.str,
- desc: {
- 'ja-JP': 'ActivityPubオブジェクトのURI'
- }
},
},
diff --git a/src/server/api/endpoints/ap/show.ts b/src/server/api/endpoints/ap/show.ts
index b4df1ad4d7..7f61055bfa 100644
--- a/src/server/api/endpoints/ap/show.ts
+++ b/src/server/api/endpoints/ap/show.ts
@@ -15,19 +15,11 @@ import { isActor, isPost, getApId } from '../../../../remote/activitypub/type';
export const meta = {
tags: ['federation'],
- desc: {
- 'ja-JP': 'URIを指定してActivityPubオブジェクトを参照します。',
- 'en-US': 'Browse to the ActivityPub object by specifying the URI.'
- },
-
requireCredential: false as const,
params: {
uri: {
validator: $.str,
- desc: {
- 'ja-JP': 'ActivityPubオブジェクトのURI'
- }
},
},