post :create do
doc %(Get a summary of an individual Automation workflow’s settings and
content. The `trigger_settings` object returns information for the first email in
the workflow.
You can use Markdown in these doc strings.
* Foo
* Bar
* Baz)
params do
param :page, :integer, min: 10, max: 20
param :foo, :boolean
param :sort, :string, values: %w[foo bar baz]
param :quux, :string, required: true
param :syzygy, :date, default: Date.today
param :numbers, :integer, array: true
end
form :post, PostForm
presenter PostPresenter
request do
present Post.new
end
end
PostsController#create
Get a summary of an individual Automation workflow’s settings and
content. The trigger_settings
object returns information for the first email in
the workflow.
You can use Markdown in these doc strings.
- Foo
- Bar
- Baz
Name | Type | Array | Required | Min | Max | Values | Default |
---|---|---|---|---|---|---|---|
page | integer |
10 | 20 | ||||
foo | boolean |
||||||
sort | string |
foo, bar, baz | |||||
quux | string |
✓ | |||||
syzygy | date |
2018-02-21 | |||||
numbers | integer |
✓ |
PostForm
post
PostPresenter