Skip to content

Instantly share code, notes, and snippets.

@sbahra
Created August 8, 2016 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sbahra/186fb3b351fad2703b85df802fef1424 to your computer and use it in GitHub Desktop.
Save sbahra/186fb3b351fad2703b85df802fef1424 to your computer and use it in GitHub Desktop.
Token: cc582eba951321dd5fe198a108e398b8
{
"actions":[
{
"action":"schema",
"model":"configuration"
}
],
"results":[
{
"result":{
"users":{
"uid":{
"type":"Integer",
"constraints":[
"primary",
"autoincrement",
"owner"
]
},
"email":{
"type":"Text",
"constraints":[
"not null",
"mutable"
]
},
"username":{
"type":"Text",
"constraints":[
"not null",
"unique"
]
},
"method":{
"type":"Text",
"constraints":[
"not null"
]
},
"password":{
"type":"Blob",
"constraints":[
"mutable",
"hidden"
]
},
"metadata":{
"type":"Text",
"constraints":[
]
},
"active":{
"type":"Integer",
"constraints":[
"default 1"
]
},
"superuser":{
"type":"Integer",
"constraints":[
"default 1"
]
},
"deleted":{
"type":"Integer",
"constraints":[
"default 0"
]
}
},
"universe":{
"id":{
"type":"Integer",
"constraints":[
"primary",
"autoincrement"
]
},
"name":{
"type":"Text",
"constraints":[
"not null",
"unique"
]
},
"owner":{
"type":"Integer",
"constraints":[
"owner",
"mutable",
"not null",
"references users.uid"
]
},
"deleted":{
"type":"Integer",
"constraints":[
"default 0"
]
}
},
"project":{
"pid":{
"type":"Integer",
"constraints":[
"primary",
"autoincrement"
]
},
"universe":{
"type":"Integer",
"constraints":[
"not null",
"references universe.id"
]
},
"name":{
"type":"Text",
"constraints":[
"not null",
"unique"
]
},
"owner":{
"type":"Integer",
"constraints":[
"owner",
"mutable",
"not null",
"references users.uid"
]
},
"deleted":{
"type":"Integer",
"constraints":[
"default 0"
]
}
},
"histogram":{
"project":{
"type":"Integer",
"constraints":[
"primary",
"references project.pid"
]
},
"key":{
"type":"Text",
"constraints":[
"primary"
]
},
"idx":{
"type":"Integer",
"constraints":[
"not null"
]
},
"bins":{
"type":"Integer",
"constraints":[
"default 0"
]
},
"deleted":{
"type":"Integer",
"constraints":[
"default 0"
]
},
"format":{
"type":"Integer",
"constraints":[
"default 0"
]
}
},
"listener":{
"id":{
"type":"Integer",
"constraints":[
"primary",
"autoincrement"
]
},
"groupname":{
"type":"Text",
"constraints":[
"not null",
"mutable"
]
},
"protocol":{
"type":"Integer",
"constraints":[
"not null",
"mutable"
]
},
"type":{
"type":"Text",
"constraints":[
"not null",
"mutable"
]
},
"address":{
"type":"Text",
"constraints":[
"not null",
"mutable"
]
},
"dns_name":{
"type":"Text",
"constraints":[
"mutable"
]
},
"service":{
"type":"Text",
"constraints":[
"mutable"
]
},
"backlog":{
"type":"Integer",
"constraints":[
"not null",
"mutable"
]
},
"ssl":{
"type":"Integer",
"constraints":[
"mutable"
]
},
"concurrency":{
"type":"Integer",
"constraints":[
"mutable"
]
},
"undeletable":{
"type":"Integer",
"constraints":[
"not null"
]
}
},
"ssl":{
"id":{
"type":"Integer",
"constraints":[
"primary",
"autoincrement"
]
},
"name":{
"type":"Text",
"constraints":[
"unique",
"not null",
"mutable"
]
},
"key":{
"type":"Blob",
"constraints":[
"not null",
"mutable",
"hidden"
]
},
"cert":{
"type":"Blob",
"constraints":[
"mutable"
]
},
"chain":{
"type":"Blob",
"constraints":[
"mutable"
]
},
"password":{
"type":"Text",
"constraints":[
"mutable"
]
},
"method":{
"type":"Integer",
"constraints":[
"not null",
"mutable"
]
}
},
"token":{
"id":{
"type":"Blob",
"constraints":[
"primary"
]
},
"project":{
"type":"Integer",
"constraints":[
"not null",
"references project.pid"
]
},
"owner":{
"type":"Integer",
"constraints":[
"owner",
"mutable",
"not null",
"references users.uid"
]
},
"expires":{
"type":"Integer",
"constraints":[
"default 0"
]
},
"deleted":{
"type":"Integer",
"constraints":[
"default 0"
]
}
},
"watcher":{
"name":{
"type":"Text",
"constraints":[
"primary",
"unique",
"mutable"
]
},
"project":{
"type":"Integer",
"constraints":[
"primary",
"references project.pid"
]
},
"event_type":{
"type":"Text",
"constraints":[
"not null",
"mutable"
]
},
"action":{
"type":"Text",
"constraints":[
"not null",
"mutable"
]
},
"action_args":{
"type":"Text",
"constraints":[
"mutable"
]
},
"action_type":{
"type":"Integer",
"constraints":[
"not null",
"mutable"
]
},
"control":{
"type":"Blob",
"constraints":[
"mutable"
]
},
"match":{
"type":"Blob",
"constraints":[
"mutable"
]
},
"env":{
"type":"Text",
"constraints":[
"mutable"
]
}
},
"watcher_new":{
"name":{
"type":"Text",
"constraints":[
"primary",
"unique",
"mutable"
]
},
"project":{
"type":"Integer",
"constraints":[
"primary",
"references project.pid"
]
},
"owner":{
"type":"Integer",
"constraints":[
"primary",
"owner",
"mutable",
"not null",
"references users.uid"
]
},
"event_type":{
"type":"Text",
"constraints":[
"not null",
"mutable"
]
},
"action":{
"type":"Text",
"constraints":[
"not null",
"mutable"
]
},
"action_args":{
"type":"Text",
"constraints":[
"mutable"
]
},
"action_type":{
"type":"Text",
"constraints":[
"not null",
"mutable"
]
},
"period":{
"type":"Integer",
"constraints":[
"not null",
"mutable"
]
},
"sum":{
"type":"Integer",
"constraints":[
"not null",
"mutable"
]
}
}
},
"code":0,
"text":"success"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment