QA Steps sandbox · Protocol sandbox

Protocol sandbox

The Jade Registry of the Heavenly Office, open to every clerk with a seal.

Your tasks

A code appears when a task is done – type it into the lesson.

Sign in to see your tasks

Tasks check what you did, so they need your account.

The Jade Registry – gRPC

A browser cannot speak gRPC: call the service from Postman or grpcurl. The server uses TLS (grpcs://).

One gRPC service with ten methods: Login for a token, reads and writes of tablets, a server stream, a client stream, a bidirectional stream and a slow oracle to try deadlines on.

MethodKindTokenWhat it does
Loginunary–Your sandbox username and password → token and expires_in (seconds).
GetTabletunarynoOne tablet by id. NOT_FOUND when there is none for you.
ListTabletsunarynoFilters rank, element, status, name_contains, limit (0 → 20, at most 100), offset; answers total and the page.
CreateTabletunaryyesINVALID_ARGUMENT, ALREADY_EXISTS, UNAUTHENTICATED, RESOURCE_EXHAUSTED.
UpdateTabletunaryyesFull replacement. NOT_FOUND, PERMISSION_DENIED for sealed ids, INVALID_ARGUMENT, ALREADY_EXISTS.
DeleteTabletunaryyesNOT_FOUND, PERMISSION_DENIED for sealed ids.
WatchOmensserver streamyescount messages (0 → 10, at most 50), every interval_ms (0 → 1000, 200–5000).
SubmitReportsclient streamyesSend Report messages, get one SubmitSummary when you end the stream.
DragonCouncilbidirectionalyesOne reply to each message you send; ends when you end the stream.
ConsultOracleunaryyesAnswers after delay_ms (0 → 5000, at most 30000): try a deadline or Cancel.

How to call it from your tools

List the services

GetTablet with grpcurl

Login with grpcurl

CreateTablet with your token