{"title":"SPEC2REST:一种从现有应用程序中获取Web API资源的方法","authors":"Shridhar Choudhary, K. Kimura, Atsuji Sekiguchi","doi":"10.1109/ICWS.2017.119","DOIUrl":null,"url":null,"abstract":"Web API is a modern approach for exposing service data to use for applications, however, decision on Uniform Resource Identifiers (URIs) from an existing web application is still a manual and very time consuming task. Depending on the existing web application, thousands of lines of code has to be read and discussed to decide on what data can be exposed as web API resources. An automated approach is named SPEC2REST and proposed here for eliciting web API resources which uses class relations for path elicitation and filters web API resources using word occurrence. Evaluation results showed that SPEC2REST can elicit around 90% of actual existing web APIs for four applications by using class relations, as well as, helps inexperienced developers at their first step of creating RESTful resources.","PeriodicalId":235426,"journal":{"name":"2017 IEEE International Conference on Web Services (ICWS)","volume":"17 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-06-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"SPEC2REST: An Approach for Eliciting Web API Resources from Existing Applications\",\"authors\":\"Shridhar Choudhary, K. Kimura, Atsuji Sekiguchi\",\"doi\":\"10.1109/ICWS.2017.119\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Web API is a modern approach for exposing service data to use for applications, however, decision on Uniform Resource Identifiers (URIs) from an existing web application is still a manual and very time consuming task. Depending on the existing web application, thousands of lines of code has to be read and discussed to decide on what data can be exposed as web API resources. An automated approach is named SPEC2REST and proposed here for eliciting web API resources which uses class relations for path elicitation and filters web API resources using word occurrence. Evaluation results showed that SPEC2REST can elicit around 90% of actual existing web APIs for four applications by using class relations, as well as, helps inexperienced developers at their first step of creating RESTful resources.\",\"PeriodicalId\":235426,\"journal\":{\"name\":\"2017 IEEE International Conference on Web Services (ICWS)\",\"volume\":\"17 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2017-06-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2017 IEEE International Conference on Web Services (ICWS)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICWS.2017.119\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 IEEE International Conference on Web Services (ICWS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICWS.2017.119","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
摘要
Web API是公开服务数据以供应用程序使用的一种现代方法,然而,对来自现有Web应用程序的统一资源标识符(Uniform Resource Identifiers, uri)的决策仍然是一项手动且非常耗时的任务。根据现有的web应用程序,必须阅读和讨论数千行代码,以决定哪些数据可以作为web API资源公开。这里提出了一种名为SPEC2REST的自动化方法,用于提取web API资源,它使用类关系进行路径提取,并使用单词出现率来过滤web API资源。评估结果表明,通过使用类关系,SPEC2REST可以为四个应用程序提供大约90%的实际现有web api,并且可以帮助没有经验的开发人员在创建RESTful资源的第一步。
SPEC2REST: An Approach for Eliciting Web API Resources from Existing Applications
Web API is a modern approach for exposing service data to use for applications, however, decision on Uniform Resource Identifiers (URIs) from an existing web application is still a manual and very time consuming task. Depending on the existing web application, thousands of lines of code has to be read and discussed to decide on what data can be exposed as web API resources. An automated approach is named SPEC2REST and proposed here for eliciting web API resources which uses class relations for path elicitation and filters web API resources using word occurrence. Evaluation results showed that SPEC2REST can elicit around 90% of actual existing web APIs for four applications by using class relations, as well as, helps inexperienced developers at their first step of creating RESTful resources.