docs/ScriptsApi.md in purecloudplatformclientv2-57.0.0 vs docs/ScriptsApi.md in purecloudplatformclientv2-58.0.0
- old
+ new
@@ -309,11 +309,11 @@
<a name="get_scripts_published"></a>
-## [**ScriptEntityListing**](ScriptEntityListing.html) get_scripts_published(script_id, opts)
+## [**ScriptEntityListing**](ScriptEntityListing.html) get_scripts_published(opts)
Get the published scripts.
@@ -341,12 +341,10 @@
config.access_token = @authToken
end
api_instance = PureCloud::ScriptsApi.new
-script_id = "script_id_example" # String | Script ID
-
opts = {
page_size: 25, # Integer | Page size
page_number: 1, # Integer | Page number
expand: "expand_example", # String | Expand
name: "name_example", # String | Name filter
@@ -355,21 +353,20 @@
script_data_version: "script_data_version_example" # String | Advanced usage - controls the data version of the script
}
begin
#Get the published scripts.
- result = api_instance.get_scripts_published(script_id, opts)
+ result = api_instance.get_scripts_published(opts)
p result
rescue PureCloud::ApiError => e
puts "Exception when calling ScriptsApi->get_scripts_published: #{e}"
end
```
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **script_id** | **String**| Script ID | |
**page_size** | **Integer**| Page size | [optional] [default to 25] |
**page_number** | **Integer**| Page number | [optional] [default to 1] |
**expand** | **String**| Expand | [optional] |
**name** | **String**| Name filter | [optional] |
**feature** | **String**| Feature filter | [optional] |