Open
Description
Definition:
params do
optional :folder, type: String, default: nil
optional :tag, type: Array, default: nil
exactly_one_of :folder, :tag
end
header:
Content-Type: application/json;
request body:
{
"tag": [1,2,3]
}
or
{
"folder": "/hello"
}
got:
{
"error": "folder, tag are mutually exclusive"
}