Skip to content

Commit ac75373

Browse files
author
Tobias Fuhrimann
committed
Hardcore link to public API extension docs
1 parent 21b2e74 commit ac75373

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

api.html.md.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ There are a couple of [client libraries](../devguide/capi/client-libraries.html)
1515

1616
## <a id='ext'></a>Swisscom Extensions API
1717

18-
Additionally to the endpoints exposed by the Cloud Foundry API, Swisscom offers extended endpoints to access the resources which are provided on top of Cloud Foundry. You can find the documentation about these extended endpoints in the [Swisscom Extensions API documentation](<%=vars.api_endpoint%>/api-doc/);
18+
Additionally to the endpoints exposed by the Cloud Foundry API, Swisscom offers extended endpoints to access the resources which are provided on top of Cloud Foundry. You can find the documentation about these extended endpoints in the [Swisscom Extensions API documentation](https://api.lyra-836.appcloud.swisscom.com/api-doc/);

cf-cli/two-factor.html.md.erb

+5-3
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ title: Two-Factor Authentication
77
If you enable Passeport's two-factor authentication, you have to use the `--sso` flag and follow the instructions.
88

99
<pre class="terminal">
10-
cf login -a <%=vars.api_endpoint%> --sso
11-
API endpoint: <%=vars.api_endpoint%>
10+
cf login -a $API_ENDPOINT --sso
11+
API endpoint: $API_ENDPOINT
1212

13-
One Time Code ( <%=vars.api_endpoint%>/passcode )>
13+
One Time Code ( $API_ENDPOINT/passcode )>
1414
</pre>
1515

16+
Replace `$API_ENDPOINT` with your actial API endpoint. It is <%= vars.api_endpoint %>
17+
1618
Switching to the browser and obtaining a one time code is needed because the cf CLI does not support two-factor auth directly from the terminal yet.

0 commit comments

Comments
 (0)