mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-22 08:53:49 +01:00
(update) docs
This commit is contained in:
parent
ef45939008
commit
b85328d6da
7
content/ja/docs/4.for-developers/api/endpoints.md
Normal file
7
content/ja/docs/4.for-developers/api/endpoints.md
Normal file
@ -0,0 +1,7 @@
|
||||
# エンドポイント一覧
|
||||
|
||||
:::tip
|
||||
|
||||
現在、エンドポイント一覧は準備中です。提供が開始されるまでの間は、各Misskeyサーバーで [`/api-doc` ページ](x-mi-web://api-doc)にアクセスするか、[Misskeyのソースコード](https://github.com/misskey-dev/misskey/tree/develop/packages/backend/src/server/api/endpoints)を参照してください。
|
||||
|
||||
:::
|
@ -1,18 +0,0 @@
|
||||
<template>
|
||||
<div>
|
||||
{{ keys }}
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { Endpoints } from 'misskey-js';
|
||||
function getEndpointKeys<T extends Record<string, unknown>>(obj: T): Array<keyof T> {
|
||||
return Object.keys(obj) as Array<keyof T>;
|
||||
}
|
||||
|
||||
const keys = getEndpointKeys({} as Endpoints)
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
Loading…
Reference in New Issue
Block a user