Skip to main content
GET
/
api
/
detection-rules
/
platforms
/
{platform}
/
publishing-options
cURL
curl -X GET "https://app.cotool.ai/api/detection-rules/platforms/:platform/publishing-options" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
{
  "methods": [
    "api"
  ],
  "supportsApi": true,
  "supportsPr": true
}

Authorizations

Authorization
string
header
required

API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here

Path Parameters

platform
string
required

Response

200 - application/json

Successful response

methods
enum<string>[]
required
Available options:
api,
pr
supportsApi
boolean
required
supportsPr
boolean
required