Altostrat Studio is here — the AI-native network operations IDE for engineers running production. Terminal, diagrams, runbooks, and Copilot in one workspace. Get started →
curl --request GET \
--url https://v1.api.altostrat.io/scripts/community-scripts/{communityScriptId} \
--header 'Authorization: Bearer <token>'{
"id": "01H8XGJWBWBAQ1Z3G1B6X2Q8P5",
"name": "add-dns-static.rsc",
"description": "This script adds a static DNS entry for a given name to a specified IP address.",
"size": 128,
"readme_url": "https://raw.githubusercontent.com/mikrotik-scripts/main/scripts/add-dns-static/README.md",
"github_url": "https://github.com/mikrotik-scripts/main/blob/main/scripts/add-dns-static.rsc",
"raw_url": "https://raw.githubusercontent.com/mikrotik-scripts/main/scripts/add-dns-static.rsc",
"content": ":local name \"example.com\"; :local address 192.168.88.254; /ip dns static add name=$name address=$address;",
"sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
"repository": {
"name": "mikrotik-scripts",
"url": "https://github.com/user/mikrotik-scripts",
"stars": 42,
"created_at": "2024-01-15T12:00:00Z"
},
"user": {
"name": "John Doe",
"url": "https://github.com/johndoe",
"avatar": "https://avatars.githubusercontent.com/u/12345?v=4",
"followers": 100,
"created_at": "2020-05-20T10:00:00Z"
}
}Fetches detailed information about a specific community script, including its content, description, and metadata about the author and source repository.
curl --request GET \
--url https://v1.api.altostrat.io/scripts/community-scripts/{communityScriptId} \
--header 'Authorization: Bearer <token>'{
"id": "01H8XGJWBWBAQ1Z3G1B6X2Q8P5",
"name": "add-dns-static.rsc",
"description": "This script adds a static DNS entry for a given name to a specified IP address.",
"size": 128,
"readme_url": "https://raw.githubusercontent.com/mikrotik-scripts/main/scripts/add-dns-static/README.md",
"github_url": "https://github.com/mikrotik-scripts/main/blob/main/scripts/add-dns-static.rsc",
"raw_url": "https://raw.githubusercontent.com/mikrotik-scripts/main/scripts/add-dns-static.rsc",
"content": ":local name \"example.com\"; :local address 192.168.88.254; /ip dns static add name=$name address=$address;",
"sha": "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391",
"repository": {
"name": "mikrotik-scripts",
"url": "https://github.com/user/mikrotik-scripts",
"stars": 42,
"created_at": "2024-01-15T12:00:00Z"
},
"user": {
"name": "John Doe",
"url": "https://github.com/johndoe",
"avatar": "https://avatars.githubusercontent.com/u/12345?v=4",
"followers": 100,
"created_at": "2020-05-20T10:00:00Z"
}
}Documentation Index
Fetch the complete documentation index at: https://altostrat.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
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}'.
The unique identifier for the community script.
"01H8XGJWBWBAQ1Z3G1B6X2Q8P5"
Detailed information about the community script.
The unique identifier for the community script.
"01H8XGJWBWBAQ1Z3G1B6X2Q8P5"
The filename of the script.
"add-dns-static.rsc"
An AI-generated summary of the script.
"This script adds a static DNS entry for a given name to a specified IP address."
The size of the script file in bytes.
128
A URL to the raw markdown README file.
"https://raw.githubusercontent.com/mikrotik-scripts/main/scripts/add-dns-static/README.md"
A URL to the script file on GitHub's web interface.
"https://github.com/mikrotik-scripts/main/blob/main/scripts/add-dns-static.rsc"
The direct raw URL for downloading the script content.
"https://raw.githubusercontent.com/mikrotik-scripts/main/scripts/add-dns-static.rsc"
The script content, included when retrieving a single script.
":local name \"example.com\"; :local address 192.168.88.254; /ip dns static add name=$name address=$address;"
The git SHA hash of the file content.
"e69de29bb2d1d6434b8b29ae775ad8c2e48c5391"
Show child attributes
Show child attributes
Was this page helpful?