-
Notifications
You must be signed in to change notification settings - Fork 594
Conversation
…o gem FlynnDocs.api_example_preface(name) will return the contents of docs/api-examples/{name}.md or an empty string if it doesn't exist. This should be used when rendering the api examples. Signed-off-by: Jesse Stuart <jesse@jessestuart.ca>
|
||
|
||
All requests are authenticated using [basic auth](https://en.wikipedia.org/wiki/Basic_access_authentication) where the user name is blank and the password is your controller key. You may alternatively use the `key` URL parameter with the controller key for event streams (this allows using them via JavaScript in the browser). | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should include the flynn -a controller env get CONTROLLER_KEY
command (I think that's the name, test it to be sure)
e24052e
to
af92287
Compare
@titanous comment addressed |
<h1>Controller</h1> | ||
|
||
|
||
All requests are authenticated using [basic auth](https://en.wikipedia.org/wiki/Basic_access_authentication) where the user name is blank and the password is your controller key. You may alternatively use the `key` URL parameter with the controller key for event streams (this allows using them via JavaScript in the browser). You can retreive your controller key by running `flynn -a controller env get AUTH_KEY`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/retreive/retrieve
s/user name/username
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
af92287
to
9223a51
Compare
|
||
All requests are authenticated using [basic auth](https://en.wikipedia.org/wiki/Basic_access_authentication) where the username is blank and the password is your controller key. You may alternatively use the `key` URL parameter with the controller key for event streams (this allows using them via JavaScript in the browser). You can retrieve your controller key by running `flynn -a controller env get AUTH_KEY`. | ||
|
||
All paths below are relative to `controller.CLUSTER_DOMAIN`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line needs to be clearer, something like "The API root URL is the controller domain, by default https://controller.$CLUSTER_DOMAIN
."
ping |
Signed-off-by: Jesse Stuart <jesse@jessestuart.ca>
9223a51
to
5ea8ece
Compare
updated |
LGTM |
No description provided.