Invention Grant
- Patent Title: Modified representational state transfer (REST) application programming interface (API) including a customized GraphQL framework
-
Application No.: US15968508Application Date: 2018-05-01
-
Publication No.: US10558671B2Publication Date: 2020-02-11
- Inventor: David Tamjidi , Christopher Tucker , Carmine Mangione-Tran
- Applicant: ServiceNow, Inc.
- Applicant Address: US CA Santa Clara
- Assignee: ServiceNow, Inc.
- Current Assignee: ServiceNow, Inc.
- Current Assignee Address: US CA Santa Clara
- Agency: Fletcher Yoder, P.C.
- Main IPC: G06F17/30
- IPC: G06F17/30 ; G06F16/2455 ; G06F16/21 ; G06F16/901 ; G06F9/54

Abstract:
A system including a data center hosting a representational state transfer (REST) server in communication with a client network, wherein the REST server includes a GraphQL schema describing tables and fields of a communicatively coupled database. The REST server is configured to: receive a request that includes a GraphQL query; open a streaming connection to the client network; and output a beginning of a response via the streaming connection. The REST server is also configured to process the GraphQL query based on the GraphQL schema to generate a GraphQL result, and to output the GraphQL result in a body of the response via the streaming connection. The REST server is further configured to output an end of the response via the streaming connection, such that the response is correctly formatted in JavaScript Object Notation (JSON).
Public/Granted literature
Information query