Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

REST API quick registration method, device and system

An API interface and fast technology, applied in the direction of transmission system, digital transmission system, multi-program device, etc., can solve the problems of inability to describe REST API form, poor flexibility of registration method, and incomplete description models of the three major APIs

Active Publication Date: 2018-04-03
CHINA TELECOM CORP LTD
View PDF6 Cites 14 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 quick registration method, device and system
  • REST API quick registration method, device and system
  • REST API quick registration method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

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

[0077] Meanwhile, it should be understood tha...

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 (Representational State Transfer) API (Application Programming Interface) quick registration method, device and system. The method includes that an API registration table device receives basic information of a REST API input by a user; an API analyzer extracts a parameter list and a calling example of the REST API from a request packet and a response packet of the REST API so as to implement the whole REST API registration process. According to the invention, through extracting input / output parameters and a calling request / response example of the API from the request packet and the response packet of the REST API, complex parameter and example recording processes are avoided, so that flexible, quick and consistent REST API registration management is realized.

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), which has become the mainstream interface form of major open platforms . [0003] The REST API needs to be registered and published in the open platform before it can be opened to the outside world for third-party viewing and calling, such as figure 1 The prior art REST API registration management methods shown all have some problems, and it is difficult to adapt to the requirements of the rapid increase in the number of APIs in the API economy era. [0004] Manual registration method: manually enter the informati...

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 Applications(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products