RUM
Get service repository information
Returns the repository URL and commit SHA associated with a given service and version.
post/api/v2/sourcemaps/service_repository_info
Request
- Base URLhttps://api.datadoghq.com
- URLhttps://api.datadoghq.com/api/v2/sourcemaps/service_repository_info
- AuthAPI key in header DD-API-KEY and API key in header DD-APPLICATION-KEY
Request body
Example request
{
"data": {
"attributes": {
"service": "my-web-service",
"version": "1.0.0"
},
"type": "service_repository_info"
}
}Response
OK
Example response
{
"data": {
"attributes": {
"commit_sha": "abc123def456789",
"repository_url": "https://github.com/my-org/my-repo",
"status": "success"
},
"id": "my-web-service:1.0.0",
"type": "service_repository_info"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.