A visualization method for restful API

A technology for calling APIs and returning data, applied in the field of service computing, can solve problems such as not being intuitive and easy to understand, and achieve the effect of reducing workload

Active Publication Date: 2018-07-17
ZHEJIANG UNIV
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Documentation as the only communication method for developers has many disadvantages, and it is not intuitive and easy to understand

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A visualization method for restful API
  • A visualization method for restful API

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0067] Such as figure 2 As shown, the API instance in this embodiment is the train ticket station-to-station query API structure. The specific implementation method is as follows:

[0068] (1) Design the API root node, find the API model through the model component of the editor, drag it to the editing area, and then edit and input the basic information of the API model in the property view interface.

[0069] (2) Design the input part of the API, select the Input model in the model component, drag it to the editing area, edit its basic information in the property view interface, find the connection model in the model component, and after selecting the connection, select the editing area respectively The Input model node and the API model node are used as the two endpoints of the connection, and they are connected to indicate the inclusion relationship of the model. Take each input parameter as a KeyvalueModel model, drag it to the editing area, edit its properties in the p...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an API visualization method. Due to API visualization, an API is more visual and easy to understand, and a developer can define and modify the API into a required API structure and re-issue API services for other developers to use. According to the method, a program can be supported to read an API description file and automatically transmits parameters according to the description file, so that the work of API developers is simplified and the API structure is more visual, easy to read and easier to accept by non-professional developers. An API output structure is automatically generated, so that the API output structure design work of the developers can be effectively reduced, and the whole API structure can be semi-automatically generated.

Description

technical field [0001] The invention relates to the field of service computing and the technical field of service composition based on the RESTful architecture, in particular to a RESTful API visualization method. Background technique [0002] There are many websites that provide external services, such as Baidu API store, aggregated data, API Cloud, leanCloud, etc. The websites of these service providers are all based on the RESTful architecture. From the perspective of the development process of Web development technology, the Web has mainly supported static pages from the beginning, and later supported dynamic pages more and more. Typical examples of static pages mainly include portal websites, e-commerce websites, search engines, social networking sites, and later interactive multiplayer online web games. Rest is a new website architecture proposed by Roy Fielding in his doctoral dissertation in 2000. The original meaning of REST is "Representational State Transfer", w...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/34
Inventor 李莹孙祖汉柳生鹏尹建伟邓水光吴健吴朝晖
Owner ZHEJIANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products