Registering a Namespace

×

Status message

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

Namespaces allow Adama to group adapters. Create a new namespace with:

curl -Lk -X POST \
     -F name=tacc \
     -F description="TACC namespace" \
     -H "Authorization: Bearer $TOKEN" \
     $ADAMA/namespaces

which should return:

{
    "result": "https://api.araport.org/community/v0.3/tacc",
    "status": "success"
}

Retrieve information about a known namespace from the url $ADAMA/<namespace> (for example $ADAMA/tacc). Obtain the list of all registered namespaces with:

curl -Lk -X GET \
     -H "Authorization: Bearer $TOKEN" \
     $ADAMA/namespaces

Delete a namespace with the verb DELETE to the url $ADAMA/<namespace>.