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

    displayThumbnail stringnullable
    description stringnullable

    Possible values: <= 3000 characters

    displayInteractive stringnullable
    thumbnail urlnullable
    categoryId stringnullable
    data string

    Possible values: >= 2 characters

    postProcessing stringnullable
    state schemaState (string)

    Possible values: [draft, open, closed]

    tags string[]nullable
    name schemaName (string)

    Possible values: <= 32 characters

    Name of the schema

Responses

Schema successfully updated

Schema

    name schemaName (string)required

    Possible values: <= 32 characters

    Name of the schema

    createdAt date-time

    Time representation of schema creation

    state schemaState (string)

    Possible values: [draft, open, closed]

    category object[]

    Categories for schema

    projectId projectId (string)required

    Unique identifier for Project

    categoryId string

    Unique identifier for Category

    description string

    Possible values: <= 3000 characters

    displayInteractive string
    voteThresholdSettings string

    Vote threshold

    credits integer

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

    tags string[]
    postProcessing string

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

    data stringrequired
    thumbnail urinullable

    Url for schema's thumbnail

    type string
    id string

    Unique identifier for Schema

    approvalMethod string
    displayThumbnail string
Loading...