[libgdata/wip/rishi/drive: 4/5] core: Add a comment pointing to the Drive permissions API



commit 737efb7ee0c004c9fb0a75f4d47ce318f66ac4c7
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Jun 5 13:48:56 2015 +0200

    core: Add a comment pointing to the Drive permissions API
    
    https://bugzilla.gnome.org/show_bug.cgi?id=684920

 gdata/gdata-access-rule.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdata/gdata-access-rule.c b/gdata/gdata-access-rule.c
index 23691f7..2c0892d 100644
--- a/gdata/gdata-access-rule.c
+++ b/gdata/gdata-access-rule.c
@@ -502,6 +502,8 @@ parse_json (GDataParsable *parsable, JsonReader *reader, gpointer user_data, GEr
        gboolean success;
        gchar *scope_type = NULL;
 
+       /* JSON format: https://developers.google.com/drive/v2/reference/permissions */
+
        if (gdata_parser_string_from_json_member (reader, "authKey", P_REQUIRED | P_NON_EMPTY, &(priv->key), 
&success, error) == TRUE ||
            gdata_parser_string_from_json_member (reader, "emailAddress", P_REQUIRED | P_NON_EMPTY, 
&(priv->email), &success, error) == TRUE ||
            gdata_parser_string_from_json_member (reader, "domain", P_REQUIRED | P_NON_EMPTY, 
&(priv->domain), &success, error) == TRUE ||


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]