Skip to main content

Create a new schema for projectId

POST 

/schema

Create a new schema for projectId

Request

Body

Schema data

    description string

    Possible values: <= 3000 characters

    displayThumbnail string
    categoryId string

    Unique identifier for Category

    projectId projectId (string)required

    Unique identifier for Project

    state schemaState (string)

    Possible values: [draft, open, closed]

    data stringrequired
    approvalMethod string
    displayInteractive string
    name stringrequired
    tags string[]
    postProcessing string

    A json holding certain regulations for the post processing of submissions assigned to the schema

    voteThresholdSettings string

    Vote threshold

Responses

Schema successfully created

Schema

    type string
    thumbnail string

    Url for thumbnail

    description string

    Possible values: <= 3000 characters

    displayThumbnail string
    categoryId string

    Unique identifier for Category

    id string

    Unique identifier for Schema

    projectId projectId (string)required

    Unique identifier for Project

    state schemaState (string)

    Possible values: [draft, open, closed]

    data stringrequired
    approvalMethod string
    displayInteractive string
    category object[]

    Categories for schema

    name stringrequired
    createdAt date-time

    Time representation of schema creation

    tags string[]
    postProcessing string

    A json holding certain regulations for the post processing of submissions assigned to the schema

    voteThresholdSettings string

    Vote threshold

Loading...