Reviews
List review configs
GET /v1/reviews/configs- Permission
read:reviews- Tokens
- API key, CLI user token, Session token
List the code review configs on the account, newest first: each kind: code_review file, its reviewers, the repository file it syncs from, and the state of that sync.
{
}
1
import os
2
3
from ellipsis import Ellipsis
4
5
client = Ellipsis(api_key=os.environ["ELLIPSIS_API_TOKEN"])
6
7
result = client.reviews.configs.list()
8
print(result)
1
import { Ellipsis } from '@ellipsis-dev/sdk';
2
3
const client = new Ellipsis({
4
apiKey: process.env.ELLIPSIS_API_TOKEN!,
5
});
6
7
const result = await client.reviews.configs.list();
8
console.log(result);
1
curl "https://api.ellipsis.dev/v1/reviews/configs" \
2
-H "Authorization: Bearer $ELLIPSIS_API_TOKEN"
Response
configsarray<ReviewConfig>required
Code review configs, newest first.