Skip to Main Content
  • Questions
  • Where can I see a list of API's being called?

Breadcrumb

May 4th

Question and Answer

Connor McDonald

Thanks for the question, George.

Asked: October 06, 2022 - 1:14 pm UTC

Last updated: October 07, 2022 - 1:43 am UTC

Version: Oracle HCM Cloud 22C

Viewed 1000+ times

You Asked

Is there a report that will list the API's being called in a particular environment and their details?
If not a report, is there somewhere in the UI? (Screenshots or path would be most appreciated).
I don't know much about REST API's other than they are web services used to perform certain actions. I heard this question come up in a meeting and no one readily knew where to find out so I figured I would try to find out from the Ask TOM experts.
Thanks in advance.
-George

and Connor said...

I don't know much (ie, anything :-) ) about HCM but if it is using ORDS as the mechanism for REST calls, then you can enable ORDS logging to get a log of every call done.

For ORDS 22+

ords --config your_confid_folder config set standalone.access.log your_log_directory

For earlier versions, its a bit more fiddly - Tim has a nice post on it

https://oracle-base.com/articles/misc/oracle-rest-data-services-ords-standalone-mode#access-log

If you're running on Cloud, you can get ORDS to funnel its log to the OCI logging service as well

https://blogs.oracle.com/database/post/using-the-logging-service-in-oci-with-oracle-rest-data-services

Rating

  (1 rating)

Is this answer out of date? If it is, please let us know via a Comment

Comments

A reader, October 07, 2022 - 1:40 pm UTC

Thanks Connor.
We have a "My Services" account and we believe it is moving to more of an OCI interface where hopefully we will have more visibility.