Skip to main content
POST
/
community-scripts
Create a new community script
curl --request POST \
  --url https://api.altostrat.io/community-scripts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "github_url": "<string>",
  "readme_url": "<string>",
  "name": "<string>"
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Validation for creating a new community script record

github_url
string<uri>
required

Must start with https://raw.githubusercontent.com/ and end with .rsc

readme_url
string<uri> | null

README must start with raw.githubusercontent and end with .md

name
string

The script name is auto-derived from the .rsc file in code, but can be provided explicitly

Response

Script created successfully

I