API endpoint:
https://codespy.ai/api/v1/reports
Request example:
curl --location --request POST 'https://codespy.ai/api/v1/reports' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'content={content}'
contentlangprivacy0 for Public, 1 for Private, 2 for Password. Defaults to: 1.passwordprivacy set to 2.scoremessageparagraphsAPI endpoint:
https://codespy.ai/api/v1/reports
Request example:
curl --location --request GET 'https://codespy.ai/api/v1/reports' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
projectsort_byid for Date created, generated_at for Date generated. Defaults to: id.sortdesc for Descending, asc for Ascending. Defaults to: desc.per_page10, 25, 50, 100. Defaults to: 10.API endpoint:
https://codespy.ai/api/v1/reports/{id}
Request example:
curl --location --request GET 'https://codespy.ai/api/v1/reports/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://codespy.ai/api/v1/reports/{id}
Request example:
curl --location --request DELETE 'https://codespy.ai/api/v1/reports/{id}' \ --header 'Authorization: Bearer {api_key}'