Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added total_size to response #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@
| ----- | ---- | ----- | ----------- |
| songs | [tensorbeat.common.File](#tensorbeat.common.File) | repeated | |
| next_page_token | [int64](#int64) | | |
| total_size | [int64](#int64) | | |



Expand Down Expand Up @@ -262,6 +263,7 @@
| ----- | ---- | ----- | ----------- |
| songs | [tensorbeat.common.File](#tensorbeat.common.File) | repeated | |
| next_page_token | [int64](#int64) | | |
| total_size | [int64](#int64) | | |



Expand Down Expand Up @@ -314,6 +316,7 @@ Using an * for the value will return any song with that tag set. Using a specifi
| ----- | ---- | ----- | ----------- |
| songs | [tensorbeat.common.File](#tensorbeat.common.File) | repeated | |
| next_page_token | [int64](#int64) | | |
| total_size | [int64](#int64) | | |



Expand Down
3 changes: 3 additions & 0 deletions tensorbeat/datalake.proto
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ message GetSongsByTagsRequest {
message GetSongsByTagsResponse {
repeated tensorbeat.common.File songs = 1;
int64 next_page_token = 2;
int64 total_size = 3;
}

message AddSongsRequest {
Expand Down Expand Up @@ -76,6 +77,7 @@ message GetAllSongsRequest {
message GetAllSongsResponse {
repeated tensorbeat.common.File songs = 1;
int64 next_page_token = 2;
int64 total_size = 3;
}

message GetSongsByIDsRequest {
Expand All @@ -86,6 +88,7 @@ message GetSongsByIDsRequest {
message GetSongsByIDsResponse {
repeated tensorbeat.common.File songs = 1;
int64 next_page_token = 2;
int64 total_size = 3;
}

service DatalakeService {
Expand Down