For AI agents: A markdown version of this page is available at https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/fr/api/latest/code-coverage.md. A documentation index is available at /llms.txt.
Language
Datadog site

Code Coverage

Récupérez et analysez les données de couverture de code depuis Code Coverage. Consultez la page d'intégration Code Coverage pour plus d'informations.

Récupérer le résumé de couverture de code pour une branche

POSThttps://api.datadoghq.com/api/v2/code-coverage/branch/summaryhttps://api.us3.datadoghq.com/api/v2/code-coverage/branch/summaryhttps://api.us5.datadoghq.com/api/v2/code-coverage/branch/summaryhttps://api.datadoghq.eu/api/v2/code-coverage/branch/summaryhttps://api.ap1.datadoghq.com/api/v2/code-coverage/branch/summaryhttps://api.ap2.datadoghq.com/api/v2/code-coverage/branch/summaryhttps://api.uk1.datadoghq.com/api/v2/code-coverage/branch/summaryhttps://api.ddog-gov.com/api/v2/code-coverage/branch/summaryhttps://api.us2.ddog-gov.com/api/v2/code-coverage/branch/summary

Récupérer le résumé de couverture de code pour un commit

POSThttps://api.datadoghq.com/api/v2/code-coverage/commit/summaryhttps://api.us3.datadoghq.com/api/v2/code-coverage/commit/summaryhttps://api.us5.datadoghq.com/api/v2/code-coverage/commit/summaryhttps://api.datadoghq.eu/api/v2/code-coverage/commit/summaryhttps://api.ap1.datadoghq.com/api/v2/code-coverage/commit/summaryhttps://api.ap2.datadoghq.com/api/v2/code-coverage/commit/summaryhttps://api.uk1.datadoghq.com/api/v2/code-coverage/commit/summaryhttps://api.ddog-gov.com/api/v2/code-coverage/commit/summaryhttps://api.us2.ddog-gov.com/api/v2/code-coverage/commit/summary

Get code coverage summary for a pull request

POSThttps://api.datadoghq.com/api/v2/code-coverage/pr/summaryhttps://api.us3.datadoghq.com/api/v2/code-coverage/pr/summaryhttps://api.us5.datadoghq.com/api/v2/code-coverage/pr/summaryhttps://api.datadoghq.eu/api/v2/code-coverage/pr/summaryhttps://api.ap1.datadoghq.com/api/v2/code-coverage/pr/summaryhttps://api.ap2.datadoghq.com/api/v2/code-coverage/pr/summaryhttps://api.uk1.datadoghq.com/api/v2/code-coverage/pr/summaryhttps://api.ddog-gov.com/api/v2/code-coverage/pr/summaryhttps://api.us2.ddog-gov.com/api/v2/code-coverage/pr/summary

Get per-file code coverage data

POSThttps://api.datadoghq.com/api/v2/code-coverage/fileshttps://api.us3.datadoghq.com/api/v2/code-coverage/fileshttps://api.us5.datadoghq.com/api/v2/code-coverage/fileshttps://api.datadoghq.eu/api/v2/code-coverage/fileshttps://api.ap1.datadoghq.com/api/v2/code-coverage/fileshttps://api.ap2.datadoghq.com/api/v2/code-coverage/fileshttps://api.uk1.datadoghq.com/api/v2/code-coverage/fileshttps://api.ddog-gov.com/api/v2/code-coverage/fileshttps://api.us2.ddog-gov.com/api/v2/code-coverage/files