**Example** Retrieve information about the ``http://www.openarchives.org/ore/terms`` formatId. Note that formatId has characters that should be escaped when added as a URL path element. This is done using the urlencode script. .. Note:: The *xml* command is implemented by XMLStarlet_, and is used here to format the output for easier reading. The *urlencode* command is a script available with the `d1_client_bash`_ itk tool .. code-block:: bash formatid=$(echo "http://www.openarchives.org/ore/terms" | urlencode) curl -s "http://cn-dev.dataone.org/cn/v1/formats/${formatid}" | xml fo http://www.openarchives.org/ore/terms Object Reuse and Exchange Vocabulary RESOURCE .. _XMLStarlet: http://xmlstar.sourceforge.net/ .. _d1_client_bash: https://repository.dataone.org/software/cicore/trunk/itk/d1_client_bash