*** User 2024-04-26 12:45:42.104 ***🔗
REST request:
Code: 200
Req: {<0.31495.0>,<<"/api/graphql">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"3c1c149784fba995">>},
{<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
<<"{\"variables\":{},\"query\":\"query { cets { tableInfo { memory nodes size tableName } } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"vary">>,<<"accept">>},
{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Fri, 26 Apr 2024 12:45:42 GMT">>},
{<<"content-type">>,<<"application/json">>},
{<<"content-length">>,<<"1152">>}],
<<"{\"data\":{\"cets\":{\"tableInfo\":[{\"tableName\":\"cets_auth_anonymous_anonymous.localhost\",\"size\":0,\"nodes\":[\"mongooseim2@localhost\",\"mongooseim3@localhost\",\"mongooseim@localhost\"],\"memory\":305},{\"tableName\":\"cets_bosh\",\"size\":0,\"nodes\":[\"mongooseim2@localhost\",\"mongooseim3@localhost\",\"mongooseim@localhost\"],\"memory\":139},{\"tableName\":\"cets_cluster_id\",\"size\":1,\"nodes\":[\"mongooseim2@localhost\",\"mongooseim3@localhost\",\"mongooseim@localhost\"],\"memory\":154},{\"tableName\":\"cets_external_component\",\"size\":0,\"nodes\":[\"mongooseim2@localhost\",\"mongooseim3@localhost\",\"mongooseim@localhost\"],\"memory\":305},{\"tableName\":\"cets_s2s_secret\",\"size\":7,\"nodes\":[\"mongooseim2@localhost\",\"mongooseim3@localhost\",\"mongooseim@localhost\"],\"memory\":271},{\"tableName\":\"cets_s2s_session\",\"size\":1,\"nodes\":[\"mongooseim2@localhost\",\"mongooseim3@localhost\",\"mongooseim@localhost\"],\"memory\":160},{\"tableName\":\"cets_session\",\"size\":0,\"nodes\":[\"mongooseim2@localhost\",\"mongooseim3@localhost\",\"mongooseim@localhost\"],\"memory\":139},{\"tableName\":\"cets_stream_management_session\",\"size\":0,\"nodes\":[\"mongooseim2@localhost\",\"mongooseim3@localhost\",\"mongooseim@localhost\"],\"memory\":139}]}}}">>,
1292,1267}
Params: #{port => 5551,path => <<"/api/graphql">>,
server => #{node => mongooseim@localhost},
body =>
<<"{\"variables\":{},\"query\":\"query { cets { tableInfo { memory nodes size tableName } } }\"}">>,
method => <<"POST">>,return_maps => true,
creds => {<<"admin">>,<<"secret">>},
role => {graphql,admin},
return_headers => true}