Skip to main content

Create a new schema for projectId

POST 

/schema

Create a new schema for projectId

Request

Body

Schema data

    postProcessing string

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

    projectId projectId (string)required

    Unique identifier for Project

    thumbnail urinullable

    Url for schema's thumbnail

    displayInteractive string
    tags string[]
    displayThumbnail string
    data stringrequired
    voteThresholdSettings string

    Vote threshold

    description string

    Possible values: <= 3000 characters

    state schemaState (string)

    Possible values: [draft, open, closed]

    approvalMethod string
    categoryId string

    Unique identifier for Category

    name schemaName (string)required

    Possible values: <= 32 characters

    Name of the schema

    credits integer

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

Responses

Schema successfully created

Schema

    postProcessing string

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

    projectId projectId (string)required

    Unique identifier for Project

    category object[]

    Categories for schema

    thumbnail urinullable

    Url for schema's thumbnail

    displayInteractive string
    type string
    createdAt date-time

    Time representation of schema creation

    tags string[]
    displayThumbnail string
    id string

    Unique identifier for Schema

    data stringrequired
    voteThresholdSettings string

    Vote threshold

    description string

    Possible values: <= 3000 characters

    state schemaState (string)

    Possible values: [draft, open, closed]

    approvalMethod string
    categoryId string

    Unique identifier for Category

    name schemaName (string)required

    Possible values: <= 32 characters

    Name of the schema

    credits integer

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

Loading...