Get Tags¶
Returns a list of tags for the users organisation.
Request¶
POST https://test-uni.cloudplan.biz/api/search/get_tags
{
"tag_ids": [] //(optional) a list of tag ids to filter
"tag_string_begin": ... //(optional) return only tags tag begin with this string
"parent_id": ... //(optional) return only tags with that parent
"only_master": true/false//(optional) return only tags without parent
"org_id": ... //(optional) org id of the tag - can only be set by cloudplan users
"only_deleted": true/false //(optional - default false)
}
Note: when no options are given the function returns ALL tags for the users org.
Reply¶
{
"result": true/false
"tag_docs": [{...}, {...}] //list of tag documents
}
Error Codes¶
none