Skip to main content
GET
/
community-scripts
/
{communityScriptId}
.rsc
Get Raw Script Content
curl --request GET \
  --url https://api.altostrat.io/community-scripts/{communityScriptId}.rsc \
  --header 'Authorization: Bearer <token>'
"/ip firewall filter\nadd action=accept chain=input comment=\"defconf: accept established,related,untracked\" connection-state=established,related,untracked\n"

Authorizations

Authorization
string
header
required

Altostrat SDX API uses JWT Bearer tokens for authentication. Obtain a token via the Authentication API and include it in the Authorization header as 'Bearer {token}'.

Path Parameters

communityScriptId
string<ulid>
required

The unique identifier for the community script.

Example:

"01H8XGJWBWBAQ1Z3G1B6X2Q8P5"

Response

The raw script content.

The response is of type string.

Example:

"/ip firewall filter\nadd action=accept chain=input comment=\"defconf: accept established,related,untracked\" connection-state=established,related,untracked\n"