2017-07-01 12:03:10 +00:00
|
|
|
component API(types []string)
|
2018-03-27 23:59:14 +00:00
|
|
|
.api-docs-page
|
|
|
|
h1 API
|
2018-04-08 16:10:39 +00:00
|
|
|
|
|
|
|
h2 Endpoints
|
|
|
|
ul
|
|
|
|
li
|
|
|
|
strong REST:
|
|
|
|
span https://notify.moe/api
|
|
|
|
li
|
|
|
|
strong GraphQL:
|
|
|
|
span https://notify.moe/graphql
|
2018-03-27 23:59:14 +00:00
|
|
|
|
2018-04-08 16:10:39 +00:00
|
|
|
h2 Types
|
2018-03-27 23:59:14 +00: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) + "/"
|