We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 208e1ec commit 4790ecbCopy full SHA for 4790ecb
pydgraph/proto/api.proto
@@ -52,12 +52,21 @@ message Request {
52
53
repeated Mutation mutations = 12;
54
bool commit_now = 13;
55
+ enum RespFormat {
56
+ JSON = 0;
57
+ RDF = 1;
58
+ }
59
+ RespFormat resp_format = 14;
60
}
61
62
message Uids {
63
repeated string uids = 1;
64
65
66
+message ListOfString {
67
+ repeated string value = 1;
68
+}
69
+
70
message Response {
71
bytes json = 1;
72
TxnContext txn = 2;
@@ -67,6 +76,8 @@ message Response {
76
// uids contains a mapping of blank_node => uid for the node. It only returns uids
77
// that were created as part of a mutation.
78
map<string, string> uids = 12;
79
+ bytes rdf = 13;
80
+ map<string, ListOfString> hdrs = 14;
81
82
83
message Mutation {
0 commit comments