Authentication
Endpoint | POST /v1/auth/login |
Request | https://api.bytebase.com/#model/loginrequest |
Response | https://api.bytebase.com/#model/loginresponse |
Service Account
You should create service account to interact with the Bytebase API.
In Users & Groups under Security & Policy section, Add User on the upper-right. Choose Service Account Type, fill in the email and Confirm. Then you can see your service account in the list. Copy Service Key right away.
Login to fetch the token
You need to obtain the exchange token before calling the API.