code: function initModelCreate (args) {
      var controller = this
      var model = this.model
      // get accountId column
      var accountIdColumn = model.columnName('accountId')
      // set role to authenticated if model requires account id
      var role = args.defaultRole || (accountIdColumn && model.columns[accountIdColumn].null === false ? 'authenticated' : 'all')
      // get relations to create from args if any
      var relations = args.create && args.create.relations
      // validate relations
      _.each(relations, (createArgs, relation) => {
          // this will throw error on invalid relation
          model.relation(relation)
      })
      // index inputs
      var input = {
          // whether or not create data includes meta columns
          meta: 'query.meta',
          // url to redirect to on success
          redirect: ['body.redirect', 'query.redirect'],
      }
      // instance data is in body under model name
      input[model.name] = 'body.'+model.name
      // create path if it does not exist
      if (!this.paths['/']) {
          this.paths['/'] = {}
      }
      // controller spec
      var node = {
          input: input,
          method: function (args) {
              return create(controller, args, node, relations)
          },
          methodName: 'create',
          role: role,
          template: 'instance',
      }
      // add handler for POST / to create instance
      this.paths['/'].post = [node]
  }
docs: @function initModelCreate
  
  create instance controller
  
  @param {object} args