Skip to main content
POST
/
community-scripts
Submit a Community Script
curl --request POST \
  --url https://api.altostrat.io/community-scripts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "github_url": "https://raw.githubusercontent.com/user/repo/main/path/to/script.rsc",
  "readme_url": "https://raw.githubusercontent.com/user/repo/main/path/to/README.md"
}'
This response does not have an example.

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}'.

Body

application/json
github_url
string<uri>
required

The direct raw URL to the .rsc file on GitHub.

Example:

"https://raw.githubusercontent.com/user/repo/main/path/to/script.rsc"

readme_url
string<uri>

An optional direct raw URL to a corresponding markdown README file.

Example:

"https://raw.githubusercontent.com/user/repo/main/path/to/README.md"

Response

The script was submitted successfully and is being processed.