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
|
|
|
|
|
2017-12-16 20:02:30 +01:00
|
|
|
p#url
|
|
|
|
span.method POST
|
|
|
|
span.host
|
|
|
|
= url.host
|
|
|
|
| /
|
|
|
|
span.path= url.path
|
2017-12-14 16:23:45 +01:00
|
|
|
|
2017-12-14 22:41:57 +01:00
|
|
|
p#desc= desc[lang] || desc['ja']
|
2017-12-14 16:23:45 +01:00
|
|
|
|
|
|
|
section
|
2017-12-17 06:35:30 +01:00
|
|
|
h2 %i18n:docs.api.endpoints.params%
|
2017-12-14 16:23:45 +01:00
|
|
|
+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
|
2017-12-17 06:35:30 +01:00
|
|
|
h2 %i18n:docs.api.endpoints.res%
|
2017-12-15 21:04:02 +01:00
|
|
|
+propTable(res)
|