And finally to make a post:
curl -s -d '{"text": "Hello World!"}' -H "Token: $YARND_TOKEN" http://localhost:8000/api/v1/post | jq '.'
And finally to make a post:
curl -s -d '{"text": "Hello World!"}' -H "Token: $YARND_TOKEN" http://localhost:8000/api/v1/post | jq '.'
And finally to make a post:
curl -s -d '{"text": "Hello World!"}' -H "Token: $YARND_TOKEN" http://localhost:8000/api/v1/post | jq '.'
And finally to make a post:
curl -s -d '{"text": "Hello World!"}' -H "Token: $YARND_TOKEN" http://localhost:8000/api/v1/post | jq '.'
To verify the API endpoint(s) are working (no authentication required):
curl -s http://localhost:8000/api/v1/ping
To verify the API endpoint(s) are working (no authentication required):
curl -s http://localhost:8000/api/v1/ping
To verify the API endpoint(s) are working (no authentication required):
curl -s http://localhost:8000/api/v1/ping
To verify the API endpoint(s) are working (no authentication required):
curl -s http://localhost:8000/api/v1/ping
To verify that you are logged in and authenticated:
curl -s -d '' -H "Token: $YARND_TOKEN" http://localhost:8000/api/v1/whoami
To verify that you are logged in and authenticated:
curl -s -d '' -H "Token: $YARND_TOKEN" http://localhost:8000/api/v1/whoami
To verify that you are logged in and authenticated:
curl -s -d '' -H "Token: $YARND_TOKEN" http://localhost:8000/api/v1/whoami
To verify that you are logged in and authenticated:
curl -s -d '' -H "Token: $YARND_TOKEN" http://localhost:8000/api/v1/whoami
YARND_TOKEN env var for later use:
IFS= read -rsp 'Password: ' password; payload="$(jq -cnr --arg password "$password" '{username: "admin", "password": $password}')"; export YARND_TOKEN="$(curl -s -d "$payload" http://localhost:8000/api/v1/auth | jq -r '.token')"
YARND_TOKEN env var for later use:
IFS= read -rsp 'Password: ' password; payload="$(jq -cnr --arg password "$password" '{username: "admin", "password": $password}')"; export YARND_TOKEN="$(curl -s -d "$payload" http://localhost:8000/api/v1/auth | jq -r '.token')"
YARND_TOKEN env var for later use:
IFS= read -rsp 'Password: ' password; payload="$(jq -cnr --arg password "$password" '{username: "admin", "password": $password}')"; export YARND_TOKEN="$(curl -s -d "$payload" http://localhost:8000/api/v1/auth | jq -r '.token')"
YARND_TOKEN env var for later use:
IFS= read -rsp 'Password: ' password; payload="$(jq -cnr --arg password "$password" '{username: "admin", "password": $password}')"; export YARND_TOKEN="$(curl -s -d "$payload" http://localhost:8000/api/v1/auth | jq -r '.token')"
--enable-metrics flag π€
--enable-metrics flag π€
--enable-metrics flag π€
--enable-metrics flag π€
/metrics endpoint is there for the operator, so you can monitor/measure your pod's performance and adjust accordingly, or file bug reports for me to fix broken shitβ’ π€£ -- It is never pushed anywhere, only pulled. And I only ever pull two key pieces out dao and mao of known single and multi-user pods, but I ASK beforehand π€£ -- For example I'm not pulling DAU and MAO stats from @kaniyama_t 's Twitter2 pod because I never got a response to whether I could or not π
/metrics endpoint is there for the operator, so you can monitor/measure your pod's performance and adjust accordingly, or file bug reports for me to fix broken shitβ’ π€£ -- It is never pushed anywhere, only pulled. And I only ever pull two key pieces out dao and mao of known single and multi-user pods, but I ASK beforehand π€£ -- For example I'm not pulling DAU and MAO stats from @kaniyama_t 's Twitter2 pod because I never got a response to whether I could or not π
/metrics endpoint is there for the operator, so you can monitor/measure your pod's performance and adjust accordingly, or file bug reports for me to fix broken shitβ’ π€£ -- It is never pushed anywhere, only pulled. And I only ever pull two key pieces out dao and mao of known single and multi-user pods, but I ASK beforehand π€£ -- For example I'm not pulling DAU and MAO stats from @kaniyama_t 's Twitter2 pod because I never got a response to whether I could or not π
/metrics endpoint is there for the operator, so you can monitor/measure your pod's performance and adjust accordingly, or file bug reports for me to fix broken shitβ’ π€£ -- It is never pushed anywhere, only pulled. And I only ever pull two key pieces out dao and mao of known single and multi-user pods, but I ASK beforehand π€£ -- For example I'm not pulling DAU and MAO stats from @kaniyama_t 's Twitter2 pod because I never got a response to whether I could or not π