4.3 GraphQL Query API Definition (optional)
Several Graph query interfaces exist today. GraphQL is popular and a good solution for building web APIs for all types of data stores and the one we chose. Alternatives are Gremlin and SPARQL (originally designed for querying RDF graphs). The GraphQL query API is an alternative to the mandatory REST interface described above and optional for the implementor. The GraphQL endpoint shall be /graphql.
GraphQL Schema
{
"__validationErrors": [],
"_queryType": "UACloudLibraryQuery",
"_mutationType": null,
"_subscriptionType": null,
"_directives": [ "@include", "@skip", "@deprecated" ],
"_typeMap": {
"__DirectiveLocation": "__DirectiveLocation",
"__TypeKind": "__TypeKind",
"__EnumValue": "__EnumValue",
"String": "String",
"Boolean": "Boolean",
"__Directive": "__Directive",
"__InputValue": "__InputValue",
"__Type": "__Type",
"__Field": "__Field",
"__Schema": "__Schema",
"UACloudLibraryQuery": "UACloudLibraryQuery",
"DatatypeType": "DatatypeType",
"Int": "Int",
"Long": "Long",
"MetadataType": "MetadataType",
"ObjecttypeType": "ObjecttypeType",
"ReferencetypeType": "ReferencetypeType",
"VariabletypeType": "VariabletypeType"
},
"_subTypeMap": {},
"_implementationsMap": {}
}