mizzkey/src/web/docs/api/endpoints/view.pug
syuilo da279f9e50 ✌️
2017-12-17 04:02:30 +09:00

33 lines
585 B
Plaintext

extends ../../layout.pug
include ../mixins
block meta
link(rel="stylesheet" href="/assets/api/endpoints/style.css")
block main
h1= endpoint
p#url
span.method POST
span.host
= url.host
| /
span.path= url.path
p#desc= desc[lang] || desc['ja']
section
h2= common.i18n[lang]['docs']['api']['endpoints']['params']
+propTable(params)
if paramDefs
each paramDef in paramDefs
section(id= paramDef.name)
h3= paramDef.name
+propTable(paramDef.params)
if res
section
h2= common.i18n[lang]['docs']['api']['endpoints']['res']
+propTable(res)