2017-12-15 00:23:45 +09:00
|
|
|
extends ../../layout.pug
|
|
|
|
|
include ../mixins
|
|
|
|
|
|
|
|
|
|
block meta
|
2018-04-18 18:39:04 +09:00
|
|
|
link(rel="stylesheet" href="/docs/assets/api/endpoints/style.css")
|
2017-12-15 00:23:45 +09:00
|
|
|
|
|
|
|
|
block main
|
|
|
|
|
h1= endpoint
|
|
|
|
|
|
2017-12-17 04:02:30 +09:00
|
|
|
p#url
|
|
|
|
|
span.method POST
|
|
|
|
|
span.host
|
|
|
|
|
= url.host
|
|
|
|
|
| /
|
|
|
|
|
span.path= url.path
|
2017-12-15 00:23:45 +09:00
|
|
|
|
2017-12-15 06:41:57 +09:00
|
|
|
p#desc= desc[lang] || desc['ja']
|
2017-12-15 00:23:45 +09:00
|
|
|
|
|
|
|
|
section
|
2018-07-06 12:17:38 +09:00
|
|
|
h2= i18n('docs.api.endpoints.params')
|
2017-12-15 00:23:45 +09:00
|
|
|
+propTable(params)
|
|
|
|
|
|
|
|
|
|
if paramDefs
|
|
|
|
|
each paramDef in paramDefs
|
|
|
|
|
section(id= paramDef.name)
|
|
|
|
|
h3= paramDef.name
|
|
|
|
|
+propTable(paramDef.params)
|
|
|
|
|
|
2017-12-16 05:04:02 +09:00
|
|
|
if res
|
|
|
|
|
section
|
2018-07-06 12:17:38 +09:00
|
|
|
h2= i18n('docs.api.endpoints.res')
|
2017-12-16 05:04:02 +09:00
|
|
|
+propTable(res)
|
2018-07-07 13:34:42 +09:00
|
|
|
|
|
|
|
|
if resDefs
|
|
|
|
|
each resDef in resDefs
|
|
|
|
|
section(id= resDef.name)
|
|
|
|
|
h3= resDef.name
|
|
|
|
|
+propTable(resDef.props)
|