Skip to main content

Create a new schema for projectId

POST 

/schema

Create a new schema for projectId

Request

Body

Schema data

    displayThumbnail string
    categoryId string

    Unique identifier for Category

    name schemaName (string)required

    Possible values: <= 32 characters

    Name of the schema

    postProcessing string

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

    voteThresholdSettings string

    Vote threshold

    description string

    Possible values: <= 3000 characters

    state schemaState (string)

    Possible values: [draft, open, closed]

    projectId projectId (string)required

    Unique identifier for Project

    approvalMethod string
    data stringrequired
    thumbnail urinullable

    Url for schema's thumbnail

    tags string[]
    displayInteractive string
    credits integer

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

Responses

Schema successfully created

Schema

    displayThumbnail string
    categoryId string

    Unique identifier for Category

    name schemaName (string)required

    Possible values: <= 32 characters

    Name of the schema

    category object[]

    Categories for schema

    postProcessing string

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

    createdAt date-time

    Time representation of schema creation

    voteThresholdSettings string

    Vote threshold

    description string

    Possible values: <= 3000 characters

    state schemaState (string)

    Possible values: [draft, open, closed]

    id string

    Unique identifier for Schema

    projectId projectId (string)required

    Unique identifier for Project

    approvalMethod string
    data stringrequired
    thumbnail urinullable

    Url for schema's thumbnail

    tags string[]
    displayInteractive string
    credits integer

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

    type string
Loading...