Working with meta profiles from Ruby SDK
Ruby SDK offers you a way to handle meta profiles from the backend of your system.
Create and manage your meta profiles and their processes through simple API calls. You can do it through your Ziggeo account dashboard, however you can also do it through your own API calls.
It is simple, fast and bellow you can see exactly how to do it.
Ruby SDK Meta Profiles Methods
- create Create a new meta profile.
ziggeo.metaProfiles().create(arguments = nil)
- key Meta Profile profile key.
- title Meta Profile profile title.
This method returns JSON - index Get list of meta profiles.
ziggeo.metaProfiles().index(arguments = nil)
- limit Limit the number of returned meta profiles. Can be set up to 100.
- skip Skip the first [n] entries.
- reverse Reverse the order in which meta profiles are returned.
This method returns JSON - get Get a single meta profile
ziggeo.metaProfiles().get(token_or_key)
This method returns JSON - delete Delete the meta profile
ziggeo.metaProfiles().delete(token_or_key)
Ruby SDK Meta Profile Processes Methods
- index Return all processes associated with a meta profile
ziggeo.metaProfileProcess().index(meta_token_or_key)
This method returns JSON - get Get a single process
ziggeo.metaProfileProcess().get(meta_token_or_key, token_or_key)
This method returns JSON - delete Delete the process
ziggeo.metaProfileProcess().delete(meta_token_or_key, token_or_key)
- create_video_analysis_process Create a new video analysis meta process
ziggeo.metaProfileProcess().create_video_analysis_process(meta_token_or_key)
This method returns JSON - create_audio_transcription_process Create a new audio transcription meta process
ziggeo.metaProfileProcess().create_audio_transcription_process(meta_token_or_key)
This method returns JSON - create_nsfw_process Create a new nsfw filter meta process
ziggeo.metaProfileProcess().create_nsfw_process(meta_token_or_key, arguments = nil)
- nsfw_action One of the following three: approve, reject, nothing.
This method returns JSON - create_profanity_process Create a new profanity filter meta process
ziggeo.metaProfileProcess().create_profanity_process(meta_token_or_key, arguments = nil)
- profanity_action One of the following three: approve, reject, nothing.
This method returns JSON