Retrieve Community Worklet by IDDeprecated

Retrieves details for a specific Community Worklet by ID. This endpoint is deprecated. Please use GET /worklet-catalog/{id} instead.

Request
Security:
path Parameters
id
required
integer

The ID of the Community Worklet to retrieve

Responses
200

Successful Operation

400

Invalid Request

401

Access token is missing or invalid

403

You do not have permission to perform this action.

404

Entity not found

429

Too many requests

get/community-worklets/{id}
Request samples
$apiKey = 'your_automox_api_key'
$headers = @{ "Authorization" = "Bearer $apiKey" }

$url = "https://console.automox.com/api/community-worklets/123456"

$response = (Invoke-WebRequest -Method Get -Uri $url -Headers $headers -ContentType "application/json").Content
Response samples
application/json
{
  • "name": "Add Network Printer",
  • "category": "Configuration",
  • "os_family": "Linux",
  • "creator": "B. Ross",
  • "keywords": [
    • "printer",
    • "network",
    • "share"
    ],
  • "is_verified": true,
  • "evaluation_code": "exit 1\n",
  • "remediation_code": "echo \"Hello World\"\n",
  • "create_time": "2021-03-25T20:04:42+0000",
  • "update_time": "2021-03-25T20:04:42+0000"
}