Skip to main content
POST
Create a new collection

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

project
string
required

Body

application/json
title
any
description
any
iconUrl
string
project
string
lexorank
string
docId
number<double>
parent
string | null
externalId
string
targetAudience
string
default:all
baseAudienceFilter
any
extendedAudienceFilter
any

Response

200 - application/json

Ok

Generic types for Document:

  • T - the type of _id
  • TQueryHelpers - Object with any helpers that should be mixed into the Query type
  • DocType - the type of the actual Document created
updatedAt
string
required
createdAt
string
required
targetAudience
string
required
iconUrl
string
extendedAudienceFilter
any
baseAudienceFilter
any
docId
number<double>
lexorank
string
project
object
parent
object
externalId
string
title
any
description
any