Access History Logs

The History link on the left toolbar of API Hub for Explore allows you to see a log of past connections. 1000 history records are retained. By default, history records are sorted in descending order by date. From the History screen, you can:

  • Sort connections by ascending or descending date order.

  • Display only connections from a selected range of dates.

  • Filter connections by protocol (REST APIs or Kafka services), operation, server name, path, or status.

  • Delete selected connections.

  • Rerun previous operations.

  • Add a connection or connections to a space.

Rerun Previous Operations

To rerun an old operation from the History screen, hover the mouse over the line where the connection is listed and click on the three vertical dots at the right side of the line. Select Open Details to display the detail of that API operation result.

To edit and resend the API operation result in a new Explore tab, click the SwaggerHub-Explore-Rerun-Operation-button.png button to the right of the Path field. The API operation result will open in a new execution tab in Explore.

Sort and Filter the Connections

The fields below the column headings allow you to sort and filter the connections in the following ways:

  • Click Date Column Heading to change the date sort order from descending to ascending.

  • Click Calendar Button to display connections from specific dates or date ranges.

  • Select Kafka or REST in the Protocol column to display only connections for a single protocol.

  • Select operation values in the Operations column to display only connections for specific types of API operations. For REST the operations are GET, PUT, POST, DELETE, OPTIONS or PATCH. For Kafka the operations are publish or subscribe.

  • Type specific values into the fields at the top of the Server, Path and Status columns to display only connections that match the requested values. This allows you to search for request or response data related to a specific endpoint you previously discovered.

Add Connections to a Space

To add the connections for selected history records to a space, click on the checkbox at the left of the selected entry or entries and click Add to space at the bottom of the screen.

Note: You cannot have a mix of protocol types in a single space, so if you select both REST and Kafka protocols, the Add to space button will be disabled.

To select all connections on the current screen, click the checkbox at the left in the header row at the top of the screen. Check marks will appear at the left of all of the connections on this page. You may then add all of the entries on the screen to a space by clicking Add to space at the bottom of the screen.

After you click Add to space, you can either specify an existing space name and API name or you can create a new space.

Delete Connections

To delete selected connections, click on the checkbox at the left of the desired entry or entries and click Delete at the bottom of the screen.

To select all connections on the current screen, click the checkbox at the left in the header row at the top of the screen. Check marks will appear at the left of all of the connections on this page. You may then delete all of the entries on the screen by clicking Delete at the bottom of the screen.

View Details of a Connection

To view the details of connection in the history log, hover the mouse over the line where the connection is listed and click on the three dots at the right side of the line. This displays the detail of that API operation result.

See Also

Work with API Hub for ExploreWork with API Hub for Explore

Publication date: