Creates a new content definition by persisting the provided model.

Behavior: Saves the provided content definition model to the database. On success, returns a 201 Created response with a location header pointing to the newly created content definition.

Authorization: Requires authentication and the user must be an admin user.

Side Effects: Creates a new content definition in the database, which may create associated MongoDB collections.

Error Scenarios: Returns 400 Bad Request if the user is not an admin or if the save operation fails.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params

The content definition model to create.

uuid
date-time
date-time
string | null
string | null
enum

Read

FileWrite

FolderWrite

Administrator

Guest

Allowed:
boolean
boolean
uuid | null
Headers
string
enum
Defaults to application/json-patch+json

Generated from available request content types

Allowed:
Responses

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json