Skip to main content

Update a schema

PUT 

/schema/:schemaId

Update a schema

Request

Path Parameters

    schemaId schemaIdrequired

    The schemaId to update

Body

Schema data

    thumbnail urlnullable
    description stringnullable

    Possible values: <= 3000 characters

    name schemaName (string)

    Possible values: <= 32 characters

    Name of the schema

    categoryId stringnullable
    data string

    Possible values: >= 2 characters

    displayInteractive stringnullable
    postProcessing stringnullable
    displayThumbnail stringnullable
    state schemaState (string)

    Possible values: [draft, open, closed]

    tags string[]nullable

Responses

Schema successfully updated

Schema

    postProcessing string

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

    voteThresholdSettings string

    Vote threshold

    displayThumbnail string
    createdAt date-time

    Time representation of schema creation

    data stringrequired
    category object[]

    Categories for schema

    id string

    Unique identifier for Schema

    categoryId string

    Unique identifier for Category

    credits integer

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

    displayInteractive string
    state schemaState (string)

    Possible values: [draft, open, closed]

    tags string[]
    description string

    Possible values: <= 3000 characters

    type string
    name schemaName (string)required

    Possible values: <= 32 characters

    Name of the schema

    projectId projectId (string)required

    Unique identifier for Project

    approvalMethod string
    thumbnail urinullable

    Url for schema's thumbnail

Loading...