live_help Notes

assignment This action requires one of theses roles: Advanced tutor
group_work Requires following application scopes: projects

settings Params

Param name Description
id required . Must be String

The requested id

attachment optional , nil allowed . Must be a Hash
attachment[kind] optional . Must be one of: code, pdf, link, document, video.

The kind of the attachment

attachment[language_id] optional , nil allowed . Must be Fixnum

The attachment language

attachment[untranslatable] optional , nil allowed . Must be one of: true, false.

Is this attachment untranslatable

attachment[attachable_attributes] optional . Must be an Array of nested elements

The attachment file

attachment[attachable_attributes][name] optional . Must be String

The name of the attachment

attachment[attachable_attributes][attachable_type] optional . Must be one of: code, pdf, link, document, video.

The type of the attachment, need the file linked with the same param (see below)

attachment[attachable_attributes][pdf] optional , nil allowed . Must be File

The attached pdf file

attachment[attachable_attributes][video] optional , nil allowed . Must be File

The attached video file

comments powered by <span class='logo-disqus'>Disqus</span>