Skip to content

Commit

Permalink
feat: add endpoint to get one partition
Browse files Browse the repository at this point in the history
  • Loading branch information
esoubiran-aneo committed Dec 15, 2022
1 parent 8272904 commit e5d9455
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Protos/V1/partitions_common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,20 @@ message ListPartitionsResponse {
int32 page_size = 3; /** The page size. */
int32 total = 4; /** The total number of partitions. */
}


/**
* Request to get a partition.
*/
message GetPartitionRequest {
string id = 1; /** The partition ID. */
}

/**
* Response to get a partition.
*
* Return a raw partition.
*/
message GetPartitionResponse {
PartitionRaw partition = 1; /** The raw partition. */
}

0 comments on commit e5d9455

Please sign in to comment.