RESTalk Miner: Mining RESTful Conversations, Pattern Discovery and Matching

  • Ana Ivanchikj
  • Ilija Gjorgjiev
  • Cesare PautassoEmail author
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 11434)


REST has become the architectural style of choice for APIs, where clients need to instantiate a potentially lengthy sequence of requests to the server in order to achieve their goal, effectively leading to a RESTful conversation between clients and servers. Mining the logs of such RESTful conversations can facilitate knowledge sharing among API designers regarding design best practices as well as API usage and optimization. In this demo paper, we present the RESTalk Miner, which takes logs from RESTful services as an input and uses RESTalk, a domain specific language, to visualize them. It provides interactive coloring to facilitate graph reading, as well as statistics to compare the relative frequency of conversations performed by different clients. Furthermore, it supports searching for predefined patterns as well as pattern discovery.


REST APIs RESTful conversations Mining Pattern search Visualization 


  1. 1.
    Disco. Accessed 20 Aug 2018
  2. 2.
    van der Aalst, W.M.P.: Process Mining: Discovery, Conformance and Enhancement of Business Processes. Springer, Heidelberg (2011). Scholar
  3. 3.
    van der Aalst, W.M.P., Song, M.: Mining social networks: uncovering interaction patterns in business processes. In: Desel, J., Pernici, B., Weske, M. (eds.) BPM 2004. LNCS, vol. 3080, pp. 244–260. Springer, Heidelberg (2004). Scholar
  4. 4.
    Benatallah, B., Casati, F., et al.: Web service conversation modeling: a cornerstone for E-business automation. IEEE Internet Comput. 8(1), 46–54 (2004)CrossRefGoogle Scholar
  5. 5.
    Fielding, R.T.: Architectural styles and the design of network-based software architectures. Ph.D. thesis, University of California, Irvine (2000)Google Scholar
  6. 6.
    Goteti, H.: API driven development, bridging the gap between providers and consumers. Technical report, CA Technologies (2015).
  7. 7.
    Haupt, F., Leymann, F., Pautasso, C.: A conversation based approach for modeling REST APIs. In: Proceedings of the 12th WICSA 2015, Montreal, May 2015Google Scholar
  8. 8.
    Hohpe, G.: Let’s have a conversation. IEEE Internet Comput. 11(3), 78–81 (2007)CrossRefGoogle Scholar
  9. 9.
    Ivanchikj, A., Pautasso, C., Schreier, S.: Visual modeling of RESTful conversations with RESTalk. Softw. Syst. Model. 17(3), 1031–1051 (2018)CrossRefGoogle Scholar
  10. 10.
    Meszaros, G., Doble, J.: A pattern language for pattern writing. Pattern Lang. Program Des. 3, 529–574 (1998)Google Scholar
  11. 11.
    Pautasso, C., Ivanchikj, A., Schreier, S.: A pattern language for RESTful conversations. In: Proceedings of EuroPLoP, p. 4. ACM (2016)Google Scholar
  12. 12.
    Pettitt, C.: Directed graph layout for Javascript (2012–2014).
  13. 13.
    Pettitt, C.: A D3-based renderer for Dagre (2013).
  14. 14.
    Richardson, L., Amundsen, M., Ruby, S.: RESTful Web APIs. O’Reilly, Sebastopol (2013)Google Scholar
  15. 15.
    Stroinski, A., et al.: RESTful web service mining: simple algorithm supporting resource-oriented systems. In: Proceedings of ICWE, pp. 694–695. IEEE (2014)Google Scholar
  16. 16.
    Verbeek, H., Buijs, J., Van Dongen, B., van der Aalst, W.M.: Prom 6: the process mining toolkit. Proc. BPM Demonstration Track 615, 34–39 (2010)Google Scholar

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  • Ana Ivanchikj
    • 1
  • Ilija Gjorgjiev
    • 1
  • Cesare Pautasso
    • 1
    Email author
  1. 1.Software Institute, Faculty of InformaticsUSILuganoSwitzerland

Personalised recommendations