Skip to Content
OpenPerf

Integrations

Sync integration repositories

POST
/api/v1/integrations/{id}/repositories/sync

Fetches the latest repository list from a connected source-control integration.

Authorization

cookie
cookiebetter-auth.session_token<token>

Dashboard session cookie

Path Parameters

id*string

Response Body

application/json
  1. response
[index: integer]?
Example Request
curl -X POST 'https://api.example.com/api/v1/integrations/string/repositories/sync'
Example Response
[
  {
    "id": "string",
    "integrationId": "string",
    "provider": "github",
    "name": "string",
    "url": "http://example.com",
    "defaultBranch": "string"
  }
]