1
0
mirror of https://github.com/mastodon/documentation synced 2025-04-11 22:56:17 +02:00
documentation/layouts/shortcodes/api-method-response-example.html
2020-01-04 10:33:16 +01:00

6 lines
296 B
HTML

<div class="api-method-response-example">
<h5>
<span class="api-method-response-example-indicator{{ if (gt (.Get "httpCode") 399) }} api-method-response-example-indicator-error{{ end }}"></span>
{{ .Get "httpCode" }}: {{ index .Site.Data.HttpCodes (.Get "httpCode" | string) }}
</h5>