POST realm/formats

This web method creates a new format definition.

Input Data

Supply a JSON representation of the definition in the message body.

Example Requests

curl -X POST http://<host>:<port>/api/v1/realm/formats -d <json_defn>

Example Definitions

POST realm/formats
  {"name":"MyFormat",
   "fields":
     [{"name":"MyField",
       "type":"String"}
     ]
  }