api_request
Execute custom API requests to SD Elements endpoints using specified HTTP methods, endpoints, parameters, and body data for integration with the security development lifecycle platform.
Instructions
Make a custom API request to any SD Elements endpoint
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data | No | Request body data as key-value pairs | |
endpoint | Yes | API endpoint (e.g., 'projects/', 'applications/123/') | |
method | Yes | HTTP method for the request | |
params | No | URL parameters as key-value pairs |
Input Schema (JSON Schema)
{
"properties": {
"data": {
"description": "Request body data as key-value pairs",
"type": "object"
},
"endpoint": {
"description": "API endpoint (e.g., 'projects/', 'applications/123/')",
"type": "string"
},
"method": {
"description": "HTTP method for the request",
"enum": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"type": "string"
},
"params": {
"description": "URL parameters as key-value pairs",
"type": "object"
}
},
"required": [
"method",
"endpoint"
],
"type": "object"
}