'Create a session type'

@requires_auth
@can_create(DAO)
@api.doc('create_session_type', responses=POST_RESPONSES)
@api.marshal_with(SESSION_TYPE)
@api.expect(SESSION_TYPE_POST)
def post(self, event_id):

    return TypeDAO.create(event_id, self.api.payload, self.api.url_for(self, event_id=event_id))
