Skip to content

Commit

Permalink
update routes status help and disable GET request input field
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Jul 8, 2016
1 parent 5749c88 commit 9fa699e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion public/app/routes/create.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h3 class="modal-title">Create</h3>
</div>
<div class="form-group">
<label>Request:</label>
<select class="form-control" ng-model="config.request" ng-options="schema.id as schema.name for schema in schemas" ng-disabled="method.name == 'GET' || version.status != 4" aria-describedby="requestHelp">
<select class="form-control" ng-model="config.request" ng-options="schema.id as schema.name for schema in schemas" ng-disabled="method == 'GET' || version.status != 4" aria-describedby="requestHelp">
</select>
<span class="help-block" id="requestHelp">The allowed format for incoming requests. The <code>Passthru</code> schema forwards all incoming data unfiltered to the action</span>
</div>
Expand Down
12 changes: 6 additions & 6 deletions public/help/routes.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,17 @@ The status affects the behaviour of the API endpoint. The following list
describes each status

* `Development`
Used as first status when you start develop a new API endpoint. Adds a
"Warning" header that the API is in development mode to each response.
Used as first status to develop a new API endpoint. It adds a "Warning" header
to each response that the API is in development mode.

* `Production`
Used if the API is ready for production use. In this status it is not possible
to change the API. That means you can also not change any depending schema or
action.
Used if the API is ready for production use. If the API transitions from
development to production all databases settings are copied into the route.
That means changing an schema or action will not change the API endpoint.

* `Deprecated`
Used if you want to deprecate a specific version of the API. Adds a "Warning"
header that the API is deprecated to each response.
header to each response that the API is deprecated.

* `Closed`
Used if you dont want to support a specific version anymore. Returns an error
Expand Down

0 comments on commit 9fa699e

Please sign in to comment.