Authentication
Endpoint | POST /v1/auth/login |
Service | https://api.bytebase.com/#bytebase.v1.AuthService |
Request | https://api.bytebase.com/#bytebase.v1.LoginRequest |
Response | https://api.bytebase.com/#bytebase.v1.LoginResponse |
Service Account
You should create service account to interact with the Bytebase API.
Visit Bytebase member management page (Click Settings on the navigation bar, and then click Workspace > Members).
Name your service account, and grant the Owner or DBA role to it.
Login to fetch the token
You need to obtain the exchange token before calling the API.