Management method and device for application programming interface

A programming interface and application technology, applied in the field of information processing, can solve problems such as cumbersome operations and long development cycles, and achieve the effects of good scalability, improved development efficiency, and reduced writing costs

Active Publication Date: 2020-03-13
BEIJING MININGLAMP SOFTWARE SYST CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In related technologies, a large number of template codes are used to develop restful APIs; due to the need to write a large number of template codes, the development cycle is longer and the operation is more cumbersome

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
  • Management method and device for application programming interface
  • Management method and device for application programming interface
  • Management method and device for application programming interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments in the embodiments of the present application and the features in the embodiments can be combined arbitrarily with each other.

[0049] A standard restful API for an object, including object acquisition, list, addition, modification and deletion. A more complete API also includes error handling for various abnormal states. The list API should also include functions such as pagination query, conditional filtering and sorting.

[0050] The code structure for creating a standard restful API is roughly as follows:

[0051]

[0052] The above code is the code framework of the user object api.

[0053] Based on the analysis of the implementation ...

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 embodiment of the invention discloses a management method and a device for an application programming interface. The method comprises the following steps: determining information of an object of ato-be-generated resful application programming interface API; taking a pre-stored basic code of a restful API as an inherited object, taking the determined object information as an inherited object,and inheriting all functions in the basic code; and after the inheritance operation is completed, obtaining a resful API of the object information.

Description

technical field [0001] The embodiments of the present application relate to the field of information processing, in particular to a method and device for managing application programming interfaces. Background technique [0002] The RESTful API (Application Programming Interface, Application Programming Interface) is invoked by the background server to provide the front end. The front-end calls the API to initiate an HTTP request to the background, and the background responds to the request and feeds back the processing results to the front-end. In Internet application development, RESTful API is currently a popular API service specification, and its basic function is to add, delete, check and modify objects. Each object has its own corresponding api interface. In the process of developing the API, the operation of adding, deleting, checking and modifying each object needs to write code to realize the function. [0003] In related technologies, a large number of template ...

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): G06F8/35G06F8/41
CPCG06F8/35G06F8/447Y02D10/00
Inventor 朱炜峰
Owner BEIJING MININGLAMP SOFTWARE SYST CO 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