Graphical User Metadata Endpoint for REST API UI Generation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Creating a user interface (UI) for REST APIs is a time-consuming process requiring extensive knowledge of data structures, accessors, mutators, endpoints, and validation rules, often involving manual documentation and developer interactions.

Innovation Solution

A well-known endpoint, Graphical User Metadata (GUM), is provided to retrieve metadata about the API, allowing developers to generate UIs efficiently, either manually or automatically, by requesting and receiving GUM associated with a particular API.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of information

If manual documentation and developer interactions are used to create UI for REST APIs, then comprehensive understanding of API specifics is achieved, but the process becomes time-consuming and complex

Engineering Contradiction:
ImproveAPI metadata completenessVSAvoidUI generation time
Core Design Contradiction:
Loss of informationVSLoss of time

Solution Approach 1:

The system performs preliminary action by automatically generating and storing comprehensive API metadata (including data structures, accessors, mutators, endpoints, and validation rules) in a reusable format before UI development begins. This pre-computed metadata eliminates the need for manual documentation during UI creation, resolving the contradiction by providing complete information upfront while saving time during the actual UI generation process

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system creates a copy of the API interface in the form of structured metadata that can be directly consumed by UI generation tools. This metadata copy contains all necessary information about the API's data structures, operations, and validation rules, allowing developers to generate UIs without manually reviewing the actual API implementation, thus reducing time loss while maintaining information completeness

Inventive Principle:
Principle #26Copying

2Manufacturing precision

If extensive knowledge of data structures, accessors, mutators, endpoints, and validation rules is required, then accurate UI implementation is achieved, but the difficulty of operation increases

Engineering Contradiction:
ImproveUI implementation accuracyVSAvoidUI generation ease
Core Design Contradiction:
Manufacturing precisionVSEase of operation

Solution Approach 1:

The system introduces an intermediary layer of structured metadata that sits between the complex API implementation and the UI generation process. This metadata intermediary translates complex API concepts (data structures, accessors, mutators, endpoints, validation rules) into a simplified, standardized format that UI generation tools can consume directly, maintaining implementation accuracy while dramatically improving ease of operation

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system enables self-service by allowing UI generation tools to automatically consume and interpret the published metadata without requiring developers to manually understand or translate API specifics. The metadata is designed to be self-descriptive and machine-readable, enabling accurate UI implementation through automated processes rather than manual expert intervention

Inventive Principle:
Principle #25Self-service

3Adaptability or versatility

If developers manually create UIs with extensive API knowledge, then customized and optimized UIs are achieved, but device complexity and development effort increase

Engineering Contradiction:
ImproveUI customization capabilityVSAvoidDevelopment process complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The system segments the UI development process into two independent parts: (1) API metadata publication, which captures all API specifics in a structured format, and (2) UI generation, which consumes this metadata. This segmentation allows developers to choose different UI generation approaches (manual or automated) while maintaining access to complete API information, preserving customization capability while reducing overall process complexity

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS11429400B2User interface metadata from an application program interface
Publication Date: 2022.08.30 RED HAT INC
  • US11429400B2 patent drawing
  • US11429400B2 patent drawing
  • US11429400B2 patent drawing

AI summary

A method includes receiving, from a client device, a request for graphical user metadata (GUM) associated with an application program interface (API), wherein the request is directed to a well-known GUM endpoint of the API. The method further includes in response to determining, by a processing device, that the well-known GUM endpoint corresponds to the GUM, generating a GUM response corresponding to the GUM and providing a GUM response corresponding to the GUM to the client device. The method further includes in response to determining, by the processing device, that the well-known endpoint does not correspond to the GUM, providing an error message to the client device.