Creating or Modifying a Definition
You can create new definitions within the realm, or modify existing definitions, using the FTL server web API. The procedures for creating or modifying definitions are very similar, although their web requests use slightly different URIs.
This task occurs within the super-task
Configuring the Realm Definition Using the Web API.
Before you beginYou have already created and locked a deployment workspace for editing.
- Procedure
- Compose the JSON object representing the new definition.
- Compose and send the web request.
To create a new definition, use the
POSTmethod:POST <object_type><defn_json>
To update an existing definition, use thePUTmethod:PUT <object_type>/<defn_nam><defn_json>
- Verify the response.
- Ensure that the request succeeds, by checking the HTTP response code.
- Check for validation warnings.