v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
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 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"
  }
}