cube-js / cube-js/cube

Enabling Swagger and improving the HTTP API.

Open
#9,066 6 comments 0 reactions 0 assignees View on GitHub
api:rest
Dominant language
Rust
Stars
20.8k
Forks
2.1k
Avg merge
1d 2h
Merged PRs (30d)
181

Description

**Is your feature request related to a problem? Please describe.**
Every time I need to review the code and documentation to understand how the REST API and GraphQL work, I get frustrated .

**Describe the solution you'd like**
1. I would like to see Swagger appear, which will allow you to conduct experiments directly from the browser.

2. I would also like the REST API to allow filtering of the received summary data.
For example, it would be possible to get only data on metrics for all models, or to get all the information for a specific model, knowing only its table name. This would avoid loading a large amount of information at one time, as it happens now.

**Additional context**
Sample requests

+ All information: /v1/meta
+ Model information: /v1/meta/{NameModel}
+ Information on the model field: /v1/meta/{NameModel}/{Field}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.