Folder

Create View

Create a new view for a specific folder. Column types can be:

FieldType values:

  • text
  • url
  • boolean
  • date
  • datetime
  • number
  • currency

DefaultViewColumn values:

  • name
  • duration
  • tags
  • sentiment
  • datetime
  • createdAt
  • updatedAt
post/folder/{folderId}/views

Request

  • Base URL: https://api.speakai.co/v1
  • URL: https://api.speakai.co/v1/folder/{folderId}/views
  • Auth: API key in header x-speakai-key and API key in header x-access-token

Path parameters

folderIdstring required

The ID of the folder to create view for

Request body

namestring required

The name for the new view. Required.

isDefaultboolean

Whether this view becomes the folder's default view. Setting it to true clears the default flag on your other active views in the folder. Optional. The schema declares a default of false, but the middleware discards the schema's converted value, so an omitted isDefault reaches the handler as undefined. The stored value still ends up false, because the FolderView model defaults isDefault to false.

Response

Success. This spec records no example response body for this endpoint.

Changes

No recorded changes to this operation across all 2 revisions of this API.