Skip to main content

Create a Generic Object

POST 

/dynamic-svc/object

Creates a new object with the provided details. Requires authorization and user authentication.

Request

Body

required

Create request payload

    object

    object

    authors string[]

    Authors is a list of user ID and organization ID who created the object. If an organization ID is not provided, the currently active organization will be queried from the User Svc.

    data

    object

    required

    property name* any
    deleters string[]

    Deleters is a list of user IDs and role IDs that can delete the object. _self can be used to refer to the caller user's userId and _org can be used to refer to the user's currently active organization (if exists).

    id string
    readers string[]

    Readers is a list of user IDs and role IDs that can read the object. _self can be used to refer to the caller user's userId and _org can be used to refer to the user's currently active organization (if exists).

    table stringrequired
    writers string[]

    Writers is a list of user IDs and role IDs that can write the object. _self can be used to refer to the caller user's userId and _org can be used to refer to the user's currently active organization (if exists).

Responses

Success

Schema

    object

    object

    authors string[]

    Authors is a list of user ID and organization ID who created the object. If an organization ID is not provided, the currently active organization will be queried from the User Svc.

    createdAt string

    data

    object

    required

    property name* any
    deleters string[]

    Deleters is a list of user IDs and role IDs that can delete the object. _self can be used to refer to the caller user's userId and _org can be used to refer to the user's currently active organization (if exists).

    id string
    readers string[]

    Readers is a list of user IDs and role IDs that can read the object. _self can be used to refer to the caller user's userId and _org can be used to refer to the user's currently active organization (if exists).

    table stringrequired
    updatedAt string
    writers string[]

    Writers is a list of user IDs and role IDs that can write the object. _self can be used to refer to the caller user's userId and _org can be used to refer to the user's currently active organization (if exists).

Loading...