API Gateway: How to find the creation time for a service/policy/API?
search cancel

API Gateway: How to find the creation time for a service/policy/API?


Article ID: 238192


Updated On:


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.

  1. 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

  2. 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
      • https://<GATEWAY_HOST>:8443/restman/1.0/services/<SERVICE_ID>/versions/active
      • 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
      • https://<GATEWAY_HOST>:8443/restman/1.0/services/<SERVICE_ID>/versions/3
      • You can put any version number at the end to get the details of that version

Additional Information

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