发明名称 API version testing based on query schema
摘要 In one embodiment, a method includes generating a first query requesting a data structure of a specific data type, retrieving the data structure of the specific data type from one or more hierarchical graphs using the first query, retrieving one or more data items from the hierarchical graphs using the data structure, and validating the retrieved data items by determining whether the data structure corresponds to the retrieved data items.
申请公布号 US9400822(B2) 申请公布日期 2016.07.26
申请号 US201514624433 申请日期 2015.02.17
申请人 Facebook, Inc. 发明人 Schrock Nicholas Hage;Byron Lee Williams;Schafer Daniel L.
分类号 G06F3/00;G06F9/44;G06F9/46;G06F13/00;G06F17/30;G06F9/54;G06F11/36 主分类号 G06F3/00
代理机构 Baker Botts L.L.P. 代理人 Baker Botts L.L.P.
主权项 1. A method by one or more computing systems of an online social network, comprising: receiving, from a third-party system, an introspection query requesting a data structure of a specific data type to be retrieved from one or more hierarchical graphs associated with a social-networking system, each of the hierarchical graphs comprising one or more nodes, each of the nodes representing one or more data items; and each of the data items having a particular one of a plurality of data types; retrieving, using the introspection query, the data structure of the specific data type from the one or more hierarchical graphs, the data structure including (1) a name of the specific data type, and (2) for each of one or more fields of the data structure, a name and a description of the field; receiving, from the third-party system, a data query corresponding to the data structure specified in the definition, the data query requesting one or more of the data items; retrieving, using the data query, the one or more requested data items from the hierarchical graphs; and validating the retrieved data items by determining whether each of the retrieved data items corresponds to the data structure.
地址 Menlo Park CA US