24 lines
430 B
Plaintext
24 lines
430 B
Plaintext
component API(types []string)
|
|
.api-docs-page
|
|
h1 API
|
|
|
|
h2 Endpoints
|
|
ul
|
|
li
|
|
strong REST:
|
|
span https://notify.moe/api
|
|
li
|
|
strong GraphQL:
|
|
span https://notify.moe/graphql
|
|
|
|
h2 Types
|
|
table
|
|
//- thead
|
|
//- tr
|
|
//- th Table
|
|
tbody
|
|
each typeName in types
|
|
tr
|
|
td= typeName
|
|
td
|
|
a(href="/api/" + strings.ToLower(typeName) + "/")= "/api/" + strings.ToLower(typeName) + "/" |