Changed format of story type api