*** User 2024-03-11 09:12:09.075 ***🔗
REST request:
Code: 200
Req: {<0.31447.0>,<<"/api/graphql">>,<<"POST">>,
[{<<"Content-Type">>,<<"application/json">>},
{<<"Request-Id">>,<<"af7c4784eca9e2e4">>},
{<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}],
<<"{\"variables\":{},\"query\":\"query { cets { tableInfo { memory nodes size tableName } } }\"}">>}
Result: {{<<"200">>,<<"OK">>},
[{<<"vary">>,<<"accept">>},
{<<"server">>,<<"Cowboy">>},
{<<"date">>,<<"Mon, 11 Mar 2024 09:12:09 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\":2,\"nodes\":[\"mongooseim2@localhost\",\"mongooseim3@localhost\",\"mongooseim@localhost\"],\"memory\":181},{\"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,1277}
Params: #{port => 5551,path => <<"/api/graphql">>,
server => #{node => mongooseim@localhost},
method => <<"POST">>,
creds => {<<"admin">>,<<"secret">>},
body =>
<<"{\"variables\":{},\"query\":\"query { cets { tableInfo { memory nodes size tableName } } }\"}">>,
role => {graphql,admin},
return_maps => true,return_headers => true}