return records
+def create_gid(api, xrn, cert):
+ pass
+
def register(api, record):
hrn, type = record['hrn'], record['type']
type = new_record['type']
hrn = new_record['hrn']
urn = hrn_to_urn(hrn,type)
- api.auth.verify_object_permission(hrn)
table = SfaTable()
# make sure the record exists
records = table.findObjects({'type': type, 'hrn': hrn})