user doc: updates to quickstart instructions
@@ -13,24 +13,25 @@ triggers.
* {prodname} indicates that the Task API integration is *Running*.
* If your {prodname} environment is running on OCP,
-{prodname} is not configured to expose APIs to 3scale.
+{prodname} is not configured to expose APIs to 3scale or
+you disabled discovery.
.Procedure
. In {prodname}, in the left navigation panel, click *Integrations*.
-. Click the *Task API* integration to display its summary.
+. In the *Task API* integration entry, click *View* to display the
+integration's summary.
. Copy the integration's external URL.
. In a terminal, invoke a command such as the following to assign the
integration's external URL to the `externalURL` environment variable.
-Be sure to replace the URL in this sample command with the URL that you copied
-and add `/api` to the end.
+Be sure to replace the URL in this sample command with the URL that you copied.
+
----
export externalURL="https://i-task-api-proj319352.6a63.fuse-ignite.openshiftapps.com/api"`
----
. Invoke a `curl` command that triggers execution of the
-flow for the *Create Task* operation:
+flow for the *Create new task* operation:
+
----
curl -k --header "Content-Type: application/json" --request POST --data '{ "task":"my new task!"}' $externalURL/todo
@@ -46,7 +47,7 @@ content is `{ "task":"my new task!"}`.
+
This command sends an HTTP `POST` request to the Task API service, which
-triggers execution of the *Create Task* operation's flow. Flow
+triggers execution of the *Create new task* operation's flow. Flow
execution adds a new task to the sample database and returns a message
such as the following to indicate what it did:
@@ -56,7 +57,7 @@ such as the following to indicate what it did:
----
. Invoke a `curl` command that triggers execution of the
-flow for the *Get Task by ID* operation:
+flow for the *Fetch task* by ID operation:
+
----
curl -k $externalURL/todo/1
@@ -67,7 +68,7 @@ HTTP `GET` command is the default request. The last part of the URL
specifies the ID of the task to get.
. Invoke a `curl` command that triggers execution of the
-flow for the *Delete Task for ID* operation:
+flow for the *Delete task* for ID operation:
+
----
curl -k -X DELETE $externalURL/todo/1
