Skip to content

Commit f7ce698

Browse files
Removed erroneous details [#162615959]
1 parent a211fbd commit f7ce698

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

managing-cf/app-event.html.md.erb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ This topic explains how to query the Cloud Controller API (CAPI) to retrieve cur
1212

1313
To perform the procedures in this topic, you must target the endpoint of your Cloud Controller and log in. If you do not have the cf CLI installed, see the [Installing the cf CLI](../../cf-cli/install-go-cli.html) topic.
1414

15-
There are two ways to target your Cloud Controller endpoint. You can run the following `curl` command to target the endpoint and log in before making each request:
15+
There are two ways to target your Cloud Controller endpoint. You can run the following `curl` command to target the endpoint and log in:
1616
<pre class='terminal'>
1717
$ curl "https://app-usage.YOUR-SYSTEM-DOMAIN/system_report/app_usages" -k -v \
1818
-H "authorization: `cf oauth-token`"
1919
</pre>
2020

21-
You can also use `cf curl` to target the endpoint, log in, and stay logged in for each request. To target the endpoint and log in using `cf curl`, do the following:
21+
You can also use `cf curl` to retrieve information. To use `cf curl`, do the following:
2222

2323
1. Target the endpoint of your Cloud Controller:
2424
<pre class='terminal'>$ cf api api.YOUR-SYSTEM-DOMAIN</pre>
@@ -148,6 +148,8 @@ $ cf curl /v2/apps/acf2ce75-ee92-4bb6-9adb-55a596a8dcba/summary
148148
"version": null
149149
[...]
150150
</pre>
151+
152+
To view the `app_usages` report that covers app usage within an org during a period of time, see [List all App Usage Events](https://apidocs.cloudfoundry.org/6.7.0/app_usage_events/list_all_app_usage_events.html) in the Cloud Foundry API documentation.
151153

152154
### <a id='events'></a> Events
153155

0 commit comments

Comments
 (0)