{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Search text."
},
"sort": {
"type": "string",
"enum": [
"trending",
"recent",
"popular",
"remixed",
"liked"
],
"description": "Sort order."
},
"category": {
"type": "string",
"description": "Category slug."
},
"tag": {
"type": "string",
"description": "Tag key."
},
"featuredOnly": {
"type": "boolean",
"description": "Restrict to featured creations."
},
"offset": {
"type": "integer",
"minimum": 0,
"default": 0
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 48,
"default": 10
},
"locale": {
"type": "string",
"description": "BCP-47 locale."
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 30,
"description": "Maximum number of tags to return."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"kind",
"handle"
],
"properties": {
"kind": {
"type": "string",
"enum": [
"creator",
"app"
],
"description": "Use \"creator\" for a public creator profile, or \"app\" for one creation."
},
"handle": {
"type": "string",
"description": "Creator handle."
},
"slug": {
"type": "string",
"description": "Required when kind is \"app\": the published app slug."
},
"locale": {
"type": "string",
"description": "BCP-47 locale."
}
},
"additionalProperties": false
}{
"type": "object",
"properties": {
"handle": {
"type": "string",
"description": "The creator's handle, without the leading @."
}
},
"required": [
"handle"
]
}