-
Notifications
You must be signed in to change notification settings - Fork 75
Description
Documentation link
https://pan.dev/prisma-cloud/api/code/get-periodic-findings/
Describe the problem
The API documentation for “Get Code Issues from Periodic Scans”contains an incorrect endpoint URL.
Issue: The documented endpoint POST /api/v2/code-issues/branch_scan is missing the /code/ prefix in the path.
Expected: POST /code/api/v2/code-issues/branch_scan
Current documentation shows: POST /api/v2/code-issues/branch_scan
This causes API calls to fail with a 404 error when users follow the documentation exactly as written. The correct full URL should be:
https://api.prismacloud.io/code/api/v2/code-issues/branch_scan
Steps to reproduce:
1. Follow the documentation at https://pan.dev/prisma-cloud/api/code/get-periodic-findings/
2. Make a POST request to /api/v2/code-issues/branch_scan
3. Receive 404 Not Found error
4. Add /code/ prefix to work correctly
Suggested fix
Update the endpoint documentation to show the correct path: POST /code/api/v2/code-issues/branch_scan