x402
PR Description Generate (x402)
Generate pull request descriptions from diffs or commit logs. Returns title, summary, changes list, testing steps.
get/x402/v2/pr-description-generate
Request
- Base URL: https://api.strale.io
- URL: https://api.strale.io/x402/v2/pr-description-generate
- Auth: none required
Query parameters
diffstring required
titlestring
Response
Success
Example response
{
"title": "Test Document Title",
"changes": [
"Changed const x from 1 to 2",
"Updated return statement to use new constant value"
],
"summary": "Updates the constant value of x from 1 to 2. This change affects the return value of the function.",
"testing": [
"Verify that the function returns 2 instead of 1",
"Run existing unit tests to ensure no regressions"
],
"markdown": "## Description\nUpdates the constant value of x from 1 to 2. This change affects the return value of the function.\n\n## Changes\n- Changed const x from 1 to 2\n- Updated return statement to use new constant value\n\n## Testing\n- Verify that the function returns 2 instead of 1\n- Run existing unit tests to ensure no regressions\n",
"related_issues": [],
"breaking_changes": []
}Changes
No recorded changes to this operation across all 1 revision of this API.