ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.
API Gateway: How to find the creation time for a service/policy/API?
Article ID: 238192
CA API Gateway
A service or policy created in the Gateway may have many versions and related timestamps. How do I find the date and time of a particular service or a version of the service?
Release : Any
Component : API GATEWAY
There are 2 ways to find the creation date and time of the service or a particular version of the service.
By using Policy Manager
You can log in to the policy manager and click on the "Revision History"
This screen will show all the versions of the service and their creation timestamps
By using REST Management Service
To get the details of the service
https://<GATEWAY_HOST>:8443/restman/1.0/services?name=<name of the service>
This will give you the service ID and all the versions of this service
To get the current version time
Get the service ID from the result of the above step
This will show you the timestamp of this version in UNIX timestamp format (ex: <l7:time>1644441818241</l7:time>)
To get any version
You can put any version number at the end to get the details of that version
You can follow the steps in this document for publishing REST Management Service: https://techdocs.broadcom.com/us/en/ca-enterprise-software/layer7-api-management/api-gateway/10-0/apis-and-toolkits/rest-management-api.html