|
@@ -152,7 +152,7 @@ curl http://localhost/api/v1/text_modules.json -v -u #{login}:#{password} -H "Co
|
|
#
|
|
#
|
|
# @summary Download of example CSV file.
|
|
# @summary Download of example CSV file.
|
|
# @notes The requester have 'admin.text_module' permissions to be able to download it.
|
|
# @notes The requester have 'admin.text_module' permissions to be able to download it.
|
|
- # @example curl -u 'me@example.com:test' http://localhost:3000/api/v1/text_modules/import_example
|
|
|
|
|
|
+ # @example curl -u #{login}:#{password} http://localhost:3000/api/v1/text_modules/import_example
|
|
#
|
|
#
|
|
# @response_message 200 File download.
|
|
# @response_message 200 File download.
|
|
# @response_message 403 Forbidden / Invalid session.
|
|
# @response_message 403 Forbidden / Invalid session.
|
|
@@ -173,8 +173,8 @@ curl http://localhost/api/v1/text_modules.json -v -u #{login}:#{password} -H "Co
|
|
#
|
|
#
|
|
# @summary Starts import.
|
|
# @summary Starts import.
|
|
# @notes The requester have 'admin.text_module' permissions to be create a new import.
|
|
# @notes The requester have 'admin.text_module' permissions to be create a new import.
|
|
- # @example curl -u 'me@example.com:test' -F 'file=@/path/to/file/Textbausteine_final2.csv' 'https://your.zammad/api/v1/text_modules/import?try=true'
|
|
|
|
- # @example curl -u 'me@example.com:test' -F 'file=@/path/to/file/Textbausteine_final2.csv' 'https://your.zammad/api/v1/text_modules/import'
|
|
|
|
|
|
+ # @example curl -u #{login}:#{password} -F 'file=@/path/to/file/Textbausteine_final2.csv' 'https://your.zammad/api/v1/text_modules/import?try=true'
|
|
|
|
+ # @example curl -u #{login}:#{password} -F 'file=@/path/to/file/Textbausteine_final2.csv' 'https://your.zammad/api/v1/text_modules/import'
|
|
#
|
|
#
|
|
# @response_message 201 Import started.
|
|
# @response_message 201 Import started.
|
|
# @response_message 403 Forbidden / Invalid session.
|
|
# @response_message 403 Forbidden / Invalid session.
|