Skip to main content

Create a new schema for projectId

POST 

/schema

Create a new schema for projectId

Request

Body

Schema data

    projectId projectId (string)required

    Unique identifier for Project

    categoryId string

    Unique identifier for Category

    displayInteractive string
    voteThresholdSettings string

    Vote threshold

    approvalMethod string
    tags string[]
    postProcessing string

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

    state schemaState (string)

    Possible values: [draft, open, closed]

    description string

    Possible values: <= 3000 characters

    data stringrequired
    credits integer

    The amount of project credits required to create a submission for this schema

    displayThumbnail string
    thumbnail urinullable

    Url for schema's thumbnail

    name schemaName (string)required

    Possible values: <= 32 characters

    Name of the schema

Responses

Schema successfully created

Schema

    category object[]

    Categories for schema

    projectId projectId (string)required

    Unique identifier for Project

    categoryId string

    Unique identifier for Category

    id string

    Unique identifier for Schema

    displayInteractive string
    voteThresholdSettings string

    Vote threshold

    approvalMethod string
    tags string[]
    postProcessing string

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

    state schemaState (string)

    Possible values: [draft, open, closed]

    description string

    Possible values: <= 3000 characters

    data stringrequired
    type string
    credits integer

    The amount of project credits required to create a submission for this schema

    displayThumbnail string
    createdAt date-time

    Time representation of schema creation

    thumbnail urinullable

    Url for schema's thumbnail

    name schemaName (string)required

    Possible values: <= 32 characters

    Name of the schema

Loading...