Unit {{.Unit.Name}}
Configuration
API endpoint
Mode
{{.Unit.Mode}}
Concurrency
{{.Unit.Workers}}
Attempts
{{.Unit.Attempts}}
Interval
{{.Unit.Interval}}
{{if eq .Unit.Mode "bin"}}
Timeout
{{with .Unit.Timeout}} {{.}} {{else}} ∞ {{end}}
Graceful timeout
{{with .Unit.GracefulTimeout}} {{.}} {{else}} ∞ {{end}}
{{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.GetHeader}} header
{{end}} {{if .QueryToken.Enable}}
Query token
in {{.QueryToken.GetParam}} param
{{end}} {{if .HeaderToken.Enable}}
Header token
in {{.HeaderToken.GetHeader}} header
{{end}} {{if .Basic.Enable}}
Basic
{{.Basic.Logins | 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}}