GET
/
community-scripts
/
{id}
curl --request GET \
  --url https://api.altostrat.io/community-scripts/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "size": 123,
  "readme_url": "<string>",
  "github_url": "<string>",
  "raw_url": "<string>",
  "repository": {
    "name": "<string>",
    "url": "<string>",
    "stars": 123,
    "created_at": "2023-11-07T05:31:56Z"
  },
  "user": {
    "name": "<string>",
    "url": "<string>",
    "avatar": "<string>",
    "followers": 123,
    "created_at": "2023-11-07T05:31:56Z"
  },
  "content": "<string>",
  "sha": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

ULID of the community script

Response

200
application/json

Returns CommunityScriptResource

Resource shape for a single community script record