Rest API rapid registration method, device and system

An API interface, fast technology, applied in transmission systems, multi-program devices, digital transmission systems, etc., can solve problems such as non-support, inability to describe REST API form, poor flexibility of registration methods, etc.

Active Publication Date: 2020-12-25
CHINA TELECOM CORP LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, most REST APIs have not yet been modeled. Before registration, model scripts must be written for the API, which requires additional API model editing and maintenance workload, and the current three API description models (Swagger, APIBlueprint, and RAML) are not perfect. It is impossible to describe all REST API forms. For example, none of the three supports the emerging YAML (Yet Another Markup Language, another markup language) data format and Token token data type. Only RAML supports XML (Extensible Markup Language, Extensible Markup Language ), the registration method based on the API model is less flexible

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
  • Rest API rapid registration method, device and system
  • Rest API rapid registration method, device and system
  • Rest API rapid registration method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0075] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. The following description of at least one exemplary embodiment is merely illustrative in nature and in no way taken as limiting the invention, its application or uses. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0076] The relative arrangements of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.

[0077] At the same time, it should be understood that, for the convenience of d...

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 a REST API rapid registration method, device and system. The method includes: the API registry device receives the basic information of the representational state transfer REST application programming interface API input by the user; the API interface parser extracts the parameter list and the call example of the REST API from the request packet and the response packet of the REST API, and Complete the registration process for the entire REST API. The present invention avoids cumbersome parameter and example entry process by extracting API input / output parameters and call request / response examples from REST API request and response data packets, and realizes flexible, fast and consistent REST API registration management.

Description

technical field [0001] The invention relates to the field of interface opening in the mobile Internet field, in particular to a RESTAPI quick registration method, device and system. Background technique [0002] REST (Representational State Transfer, representational state transfer) API (Application Programming Interface, Application Programming Interface) is a lightweight service interface based on HTTP (HyperText Transfer Protocol, Hypertext Transfer Protocol), and has become the mainstream interface form of major open platforms . [0003] The REST API needs to be registered and released on the open platform before it can be opened to the public for viewing and calling by third parties, such as figure 1 All the REST API registration management methods in the prior art shown have some problems, and it is difficult to adapt to the rapidly increasing number of APIs in the era of API economy. [0004] Manual registration method: Manually enter various information of the REST...

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): H04L29/08H04L29/06H04L12/24G06F9/54
CPCH04L41/0803H04L65/1073H04L69/22G06F9/547G06F2209/541H04L67/60
Inventor 何震苇李蓉蓉杨新章周荣生梁柏青陆钢
Owner CHINA TELECOM CORP LTD
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