Skip to content

List Inline Scripts.

GET
/api/shape/csd/namespaces/{namespace}/scripts/{script_id}/inline
curl --request GET \
--url https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/shape/csd/namespaces/example/scripts/example/inline \
--header 'Authorization: <Authorization>'

List all inline scripts with hash values for a given script ID.

Examples of this operation.

namespace
required
string

Namespace Namespace.

script_id
required
string

Script_id script ID.

start_time
string

Format: unix epoch timestamp in seconds fetch inline scripts whose timestamp >= start_time.

end_time
string

Format: unix epoch timestamp in seconds fetch inline scripts whose timestamp <= end_time.

A successful response.

Media typeapplication/json
ListInlineScriptsResponse

Response to list inline scripts.

object
scripts
scripts

List of inline scripts with hash values.

Array<object>
InlineScript

Inline script information with hash and selector.

object
first_seen
first_seen

Unix epoch timestamp when inline script was first detected.

string format: int64
<= 1024 characters
handlers
handlers

List of event handlers associated with the inline script.

Array<string>
hash
hash

Hash value of the inline script.

string
<= 1024 characters
integrity
integrity

Subresource integrity value.

string
<= 1024 characters
last_seen
last_seen

Unix epoch timestamp when inline script was last detected.

string format: int64
<= 1024 characters
script_id
script_id

Unique identifier for the inline script.

string
<= 1024 characters
script_name
script_name

Name of the inline script (composite: baseScriptName::hash)

string
<= 1024 characters
selector
selector

CSS selector path where the inline script was found.

string
<= 1024 characters
Examplegenerated
{
"scripts": [
{
"first_seen": "example",
"handlers": [
"example"
],
"hash": "example",
"integrity": "example",
"last_seen": "example",
"script_id": "example",
"script_name": "example",
"selector": "example"
}
]
}

Returned when operation is not authorized.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when there is no permission to access resource.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when resource is not found.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when operation on resource is conflicting with current value.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when operation has been rejected as it is happening too frequently.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when server encountered an error in processing API.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when service is unavailable temporarily.

Media typeapplication/json
string format: string
Examplegenerated
example

Returned when server timed out processing request.

Media typeapplication/json
string format: string
Examplegenerated
example