mizzkey/src/web/docs/api/endpoints/view.pug

28 lines
421 B
Plaintext
Raw Normal View History

2017-12-14 16:23:45 +01:00
extends ../../layout.pug
include ../mixins
block meta
2017-12-16 17:41:22 +01:00
link(rel="stylesheet" href="/assets/api/endpoints/style.css")
2017-12-14 16:23:45 +01:00
block main
h1= endpoint
p#url= url
2017-12-14 22:41:57 +01:00
p#desc= desc[lang] || desc['ja']
2017-12-14 16:23:45 +01:00
section
h2 Params
+propTable(params)
if paramDefs
each paramDef in paramDefs
section(id= paramDef.name)
h3= paramDef.name
+propTable(paramDef.params)
2017-12-15 21:04:02 +01:00
if res
section
h2 Response
+propTable(res)