Technique metadata by ID
Changed onGet each Technique's versions with their metadata by ID
Request
- Base URLhttps://rudder.example.com/rudder/api/latest
- AuthAPI key in header X-API-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Technique ID
Response
Techniques information
Example response
{
"data": {
"techniques": [
{
"JREditorTechnique": {
"id": "security_policy",
"name": "Security Policy",
"version": "1.0",
"category": "ncf_techniques",
"description": "This techniques apply generic security policies",
"documentation": "This technique install package based on the *name* through a *technique parameter*",
"source": "editor",
"parameters": [
{
"id": "6a8de98f-7829-4c1b-b4e7-b9387f27f279",
"name": "package_name",
"description": "Name of a package to install",
"mayBeEmpty": true
}
],
"resources": [
{
"name": "conf/my/app/new",
"state": "modified"
}
],
"calls": [
{
"type": "call",
"id": "6a8de98f-7829-4c1b-b4e7-b9387f27f279",
"component": "Install apache2",
"method": "package_present",
"condition": "linux.package_present_vim_repaired",
"disabledReporting": true,
"parameters": [
{
"name": "${package_name}"
}
]
}
]
}
}
]
}
}Changes
- warning
removed the optional property
////////////////from the response with the status - warning
removed the optional property
//////////////////from the response with the status - warning
removed the optional property
//////////from the response with the status - warning
removed the optional property
////////////from the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
////////////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
//////////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status
- warning