"description":"The query body must contain the required parameters for the query, this depends on query type, setup and bindings.",
"type":"object",
"properties":{}
"additionalProperties":{
"oneOf":[
{
"type":"string"
},
{
"type":"object"
},
{
"type":"integer"
},
{
"type":"array"
},
{
"type":"boolean"
}
]
}
},
"user":{
"type":"object",
"properties":{}
"properties":{
"email":{
"description":"The email address of the user, this must be unique.",
"type":"string"
},
"password":{
"description":"The password of the user if using password based login - this will never be returned. This can be left out of subsequent requests (updates) and will be enriched back into the user structure.",
"type":"string"
},
"status":{
"description":"The status of the user, if they are active.",
"type":"string",
"enum":[
"active"
]
},
"firstName":{
"description":"The first name of the user",
"type":"string"
},
"lastName":{
"description":"The last name of the user",
"type":"string"
},
"forceResetPassword":{
"description":"If set to true forces the user to reset their password on first login.",
"type":"boolean"
},
"builder":{
"description":"Describes if the user is a builder user or not.",
"type":"object",
"properties":{
"global":{
"description":"If set to true the user will be able to build any app in the system.",
"type":"boolean"
}
}
},
"admin":{
"description":"Describes if the user is an admin user or not.",
"type":"object",
"properties":{
"global":{
"description":"If set to true the user will be able to administrate the system.",
"type":"boolean"
}
}
},
"roles":{
"description":"Contains the roles of the user per app (assuming they are not a builder user).",
"type":"object",
"additionalProperties":{
"type":"string",
"description":"A map of app ID (production app ID, minus the _dev component) to a role ID, e.g. ADMIN."
}
}
},
"required":[
"email",
"roles"
]
},
"userOutput":{
"type":"object",
"properties":{
"user":{
"type":"object",
"properties":{}
"properties":{
"email":{
"description":"The email address of the user, this must be unique.",
"type":"string"
},
"password":{
"description":"The password of the user if using password based login - this will never be returned. This can be left out of subsequent requests (updates) and will be enriched back into the user structure.",
"type":"string"
},
"status":{
"description":"The status of the user, if they are active.",
"type":"string",
"enum":[
"active"
]
},
"firstName":{
"description":"The first name of the user",
"type":"string"
},
"lastName":{
"description":"The last name of the user",
"type":"string"
},
"forceResetPassword":{
"description":"If set to true forces the user to reset their password on first login.",
"type":"boolean"
},
"builder":{
"description":"Describes if the user is a builder user or not.",
"type":"object",
"properties":{
"global":{
"description":"If set to true the user will be able to build any app in the system.",
"type":"boolean"
}
}
},
"admin":{
"description":"Describes if the user is an admin user or not.",
"type":"object",
"properties":{
"global":{
"description":"If set to true the user will be able to administrate the system.",
"type":"boolean"
}
}
},
"roles":{
"description":"Contains the roles of the user per app (assuming they are not a builder user).",
"type":"object",
"additionalProperties":{
"type":"string",
"description":"A map of app ID (production app ID, minus the _dev component) to a role ID, e.g. ADMIN."