Unit {{.Unit.Name}}
Configuration
API endpoint
Mode
{{.Unit.Mode}}
Concurrency
{{.Unit.Workers}}
Attempts
{{.Unit.Attempts}}
Interval
{{.Unit.Interval}}
Timeout
{{with .Unit.Timeout}} {{.}} {{else}} ∞ {{end}}
Max request size
{{with .Unit.MaxRequest}} {{.}} {{else}} ∞ {{end}}
Working directory
{{with .Unit.WorkDir}} static {{.}} {{else}} dynamic {{end}}
{{if or (eq .Unit.Mode "bin") (eq .Unit.Mode "cgi")}}
Command
{{.Unit.Command}}
Shell
{{.Unit.Shell}}
{{end}}
Environment
{{with .Unit.Environment}}
{{range $k,$v := .}} {{end}}
Name Value
{{$k}}
{{$v}}
{{else}} no custom variables defined {{end}}

Authorization
{{if not $.Unit.Secured}} no authorization defined {{else}} {{with .Unit.Authorization}}
{{if .JWT.Enable}}
JWT
in
{{.JWT.Header}}
header
{{end}} {{if .QueryToken.Enable}}
Query token
in
{{.QueryToken.Param}}
param
{{end}} {{if .HeaderToken.Enable}}
Header token
in
{{.HeaderToken.Header}}
header
{{end}} {{if .Basic.Enable}}
Basic
{{.Basic.Users | keys | join ", "}}
{{end}}
{{end}} {{end}}

Try


Last 50 requests
{{range $.History 50}} {{end}}
ID Time Complete Attempts
{{.ID}} {{.Meta.CreatedAt.Format "02 Jan 06 15:04:05.000 MST"}} {{if .Meta.Complete}} {{.Meta.CompleteAt.Format "02 Jan 06 15:04:05.000 MST"}} {{else}} in progress {{end}} {{len .Meta.Attempts}}