curl --request GET \
--url 'https://app.codethreat.com/api/v1/cli/info'
{
"success": true,
"data": {
"cli": {
"name": "<string>",
"version": "<string>",
"supportedPlatforms": [
"<string>"
],
"supportedArchitectures": [
"<string>"
]
},
"api": {
"version": "<string>",
"baseUrl": "<string>",
"endpoints": {}
},
"supportedFormats": [
"<string>"
],
"supportedProviders": [
"<string>"
],
"capabilities": {}
},
"pagination": {
"page": 2,
"limit": 50,
"total": 1,
"totalPages": 1,
"hasNext": true,
"hasPrev": true
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"version": "<string>",
"requestId": "<string>",
"organizationId": "<string>"
}
}Get CLI-specific information including supported features, versions, and capabilities
curl --request GET \
--url 'https://app.codethreat.com/api/v1/cli/info'
{
"success": true,
"data": {
"cli": {
"name": "<string>",
"version": "<string>",
"supportedPlatforms": [
"<string>"
],
"supportedArchitectures": [
"<string>"
]
},
"api": {
"version": "<string>",
"baseUrl": "<string>",
"endpoints": {}
},
"supportedFormats": [
"<string>"
],
"supportedProviders": [
"<string>"
],
"capabilities": {}
},
"pagination": {
"page": 2,
"limit": 50,
"total": 1,
"totalPages": 1,
"hasNext": true,
"hasPrev": true
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"version": "<string>",
"requestId": "<string>",
"organizationId": "<string>"
}
}curl --request GET \
--url 'https://app.codethreat.com/api/v1/cli/info'
Was this page helpful?