docs/ScriptsApi.md in purecloudplatformclientv2-34.0.0 vs docs/ScriptsApi.md in purecloudplatformclientv2-35.0.0

- old
+ new

@@ -23,17 +23,23 @@ <a name="get_script"></a> ## -[**Script**](Script.html) get_script(script_id) + + Get a script Wraps GET /api/v2/scripts/{scriptId} +Requires ANY permissions: +* scripter:script:view + + ### Example ~~~ruby # load the gem require 'purecloudplatformclientv2' # setup authorization @@ -82,17 +88,23 @@ <a name="get_script_page"></a> ## -[**Page**](Page.html) get_script_page(script_id, page_id, opts) + + Get a page Wraps GET /api/v2/scripts/{scriptId}/pages/{pageId} +Requires ANY permissions: +* scripter:script:view + + ### Example ~~~ruby # load the gem require 'purecloudplatformclientv2' # setup authorization @@ -148,17 +160,23 @@ <a name="get_script_pages"></a> ## -[**Array&lt;Page&gt;**](Page.html) get_script_pages(script_id, opts) + + Get the list of pages Wraps GET /api/v2/scripts/{scriptId}/pages +Requires ANY permissions: +* scripter:script:view + + ### Example ~~~ruby # load the gem require 'purecloudplatformclientv2' # setup authorization @@ -211,17 +229,23 @@ <a name="get_scripts"></a> ## -[**ScriptEntityListing**](ScriptEntityListing.html) get_scripts(opts) + + Get the list of scripts Wraps GET /api/v2/scripts +Requires ANY permissions: +* scripter:script:view + + ### Example ~~~ruby # load the gem require 'purecloudplatformclientv2' # setup authorization @@ -287,17 +311,23 @@ <a name="get_scripts_published"></a> ## -[**ScriptEntityListing**](ScriptEntityListing.html) get_scripts_published(script_id, opts) + + Get the published scripts. Wraps GET /api/v2/scripts/published +Requires ANY permissions: +* scripter:publishedScript:view + + ### Example ~~~ruby # load the gem require 'purecloudplatformclientv2' # setup authorization @@ -362,17 +392,23 @@ <a name="get_scripts_published_script_id"></a> ## -[**Script**](Script.html) get_scripts_published_script_id(script_id, opts) + + Get the published script. Wraps GET /api/v2/scripts/published/{scriptId} +Requires ANY permissions: +* scripter:publishedScript:view + + ### Example ~~~ruby # load the gem require 'purecloudplatformclientv2' # setup authorization @@ -425,17 +461,23 @@ <a name="get_scripts_published_script_id_page"></a> ## -[**Page**](Page.html) get_scripts_published_script_id_page(script_id, page_id, opts) + + Get the published page. Wraps GET /api/v2/scripts/published/{scriptId}/pages/{pageId} +Requires ANY permissions: +* scripter:publishedScript:view + + ### Example ~~~ruby # load the gem require 'purecloudplatformclientv2' # setup authorization @@ -491,17 +533,23 @@ <a name="get_scripts_published_script_id_pages"></a> ## -[**Array&lt;Page&gt;**](Page.html) get_scripts_published_script_id_pages(script_id, opts) + + Get the list of published pages Wraps GET /api/v2/scripts/published/{scriptId}/pages +Requires ANY permissions: +* scripter:publishedScript:view + + ### Example ~~~ruby # load the gem require 'purecloudplatformclientv2' # setup authorization @@ -554,17 +602,23 @@ <a name="get_scripts_published_script_id_variables"></a> ## -Object** get_scripts_published_script_id_variables(script_id, opts) + + Get the published variables Wraps GET /api/v2/scripts/published/{scriptId}/variables +Requires ANY permissions: +* scripter:publishedScript:view + + ### Example ~~~ruby # load the gem require 'purecloudplatformclientv2' # setup authorization @@ -623,17 +677,23 @@ <a name="get_scripts_upload_status"></a> ## -[**ImportScriptStatusResponse**](ImportScriptStatusResponse.html) get_scripts_upload_status(upload_id, opts) + + Get the upload status of an imported script Wraps GET /api/v2/scripts/uploads/{uploadId}/status +Requires ANY permissions: +* scripter:script:view + + ### Example ~~~ruby # load the gem require 'purecloudplatformclientv2' # setup authorization @@ -686,14 +746,20 @@ <a name="post_script_export"></a> ## -[**ExportScriptResponse**](ExportScriptResponse.html) post_script_export(script_id, opts) + + Export a script via download service. Wraps POST /api/v2/scripts/{scriptId}/export + +Requires ANY permissions: + +* scripter:script:view ### Example ~~~ruby # load the gem