Retrieve Worklet from Catalog by ID

Retrieves details for a specific Worklet by ID

Request
Security:
path Parameters
id
required
integer

The ID of the 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

503

Service Unavailable

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

$url = "https://console.automox.com/api/worklet-catalog/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"
}