Skip to Content
OpenPerf

Code mappings

List code mappings

GET
/api/v1/code-mappings

Returns stack-trace-to-repository code mappings for the selected projects.

Authorization

cookie
cookiebetter-auth.session_token<token>

Dashboard session cookie

Query Parameters

projectIds?array<string>

Response Body

application/json
  1. response
[index: integer]?
Example Request
curl -X GET 'https://api.example.com/api/v1/code-mappings'
Example Response
[
  {
    "id": "string",
    "projectId": "string",
    "repository": {
      "id": "string",
      "integrationId": "string",
      "provider": "github",
      "name": "string",
      "url": "http://example.com",
      "defaultBranch": "string"
    },
    "stackRoot": "string",
    "sourceRoot": "string",
    "createdAt": "2019-08-24T14:15:22Z"
  }
]