Automated user interface generation for an application programming interface (api)
AssigneeRed Hat, Inc.
InventorsJanos Bonic, Sanja Bonic, Sandro Bonazzola, Dustin Louis Black
Life of this patent
Estimating the term…
Abstract
Techniques for generating a user interface are disclosed. An example method includes receiving, from an application programming interface (API), a file containing API data. The method also includes applying, by a processing device, a set of pattern matching rules to a segment of the API data to identify a graphical user interface component to be used to display the segment. The method also includes populating the graphical user interface component with data from the segment. The method also includes generating a user interface comprising the graphical user interface component.
Claims19
A method comprising:
- receiving, from an application programming interface (API), a file containing API data;
- applying, by a processing device, a set of pattern matching rules to the API data to identify graphical user interface components to be used to display the API data;
- responsive to determining that a same segment of the API data fits a pattern associated with two different types of graphical user interface component, generating a user interface comprising first and second graphical user interface components that display the same segment of the API data using different visual formats;
- and
- responsive to determining that an additional segment of the API data is nested within a hierarchical data structure of the file, nesting a third graphical user interface component within a graphical container of the user interface that visually reflects the hierarchical data structure of the file, wherein the graphical container comprises a visual label comprising text extracted from the API data at a higher level of the hierarchical data structure of the file compared to the additional segment of the API data used to generate the third graphical user interface component.
(canceled)
(canceled)
A system comprising:
- a memory;
- and
- a processing device, operatively coupled to the memory, the processing device to:
- receive, from an application programming interface (API), a file containing API data;
- apply, by a processing device, a set of pattern matching rules to the API data to identify graphical user interface components to be used to display the API data;
- responsive to a determination that a same segment of the API data fits a pattern associated with two different types of graphical user interface component, generate a user interface comprising first and second graphical user interface components that display the same segment of the API data using different visual formats;
- and
- responsive to a determination that an additional segment of the API data is nested within a hierarchical data structure of the file, nesting a third graphical user interface component within a graphical container of the user interface that visually reflects the hierarchical data structure of the file, wherein the graphical container comprises a visual label comprising text extracted from the API data at a higher level of the hierarchical data structure of the file compared to the additional segment of the API data used to generate the third graphical user interface component.
(canceled)
(canceled)
A non-transitory computer-readable storage medium including instructions that, when executed by a processing device, cause the processing device to:
- receive, from an application programming interface (API), a file containing API data;
- apply, by a processing device, a set of pattern matching rules to the API data to identify graphical user interface components to be used to display the API data;
- responsive to a determination that a same segment of the API data fits a pattern associated with two different types of graphical user interface component, generate a user interface comprising first and second graphical user interface components that display the same segment of the API data side-by-side using different visual formats;
- and
- responsive to a determination that an additional segment of the API data is nested within a hierarchical data structure of the file, nesting a third graphical user interface component within a graphical container of the user interface that visually reflects the hierarchical data structure of the file, wherein the graphical container comprises a visual label comprising text extracted from the API data at a higher level of the hierarchical data structure of the file compared to the additional segment of the API data used to generate the third graphical user interface component.
19-20. (canceled)
Dependencies are inferred from the claim text.