Checking access to Adama

×

Status message

New Feature: Guest Login function added to facilitate site exploration without registering. Try it out!

It is useful to check that the token we obtained is working properly. For this, we use the endpoint /status, which returns information about the server.

curl -kL -X GET \
     -H "Authorization: Bearer $TOKEN" \
     $ADAMA/status 

If the token and the server are working fine you should see:

{
    "api": "Adama v0.3",
    "hash": "6869fde8e2617ab8f8a58c5c09b1512a80185500",
    "status": "success"
}

The hash field points to the git commit of Adama that is currently serving the response. It may differ in your case, if there has been updates to the server.