2017-07-01 14:03:10 +02:00
|
|
|
component API(types []string)
|
2018-03-28 01:59:14 +02:00
|
|
|
.api-docs-page
|
|
|
|
h1 API
|
2018-04-08 18:10:39 +02:00
|
|
|
|
|
|
|
h2 Endpoints
|
|
|
|
ul
|
|
|
|
li
|
|
|
|
strong REST:
|
|
|
|
span https://notify.moe/api
|
|
|
|
li
|
|
|
|
strong GraphQL:
|
|
|
|
span https://notify.moe/graphql
|
2018-03-28 01:59:14 +02:00
|
|
|
|
2018-04-08 18:10:39 +02:00
|
|
|
h2 Types
|
2018-03-28 01:59:14 +02:00
|
|
|
table
|
|
|
|
//- thead
|
|
|
|
//- tr
|
|
|
|
//- th Table
|
|
|
|
tbody
|
|
|
|
each typeName in types
|
|
|
|
tr
|
|
|
|
td= typeName
|
|
|
|
td
|
|
|
|
a(href="/api/" + strings.ToLower(typeName) + "/")= "/api/" + strings.ToLower(typeName) + "/"
|