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

    name string

    Possible values: <= 32 characters

    displayThumbnail stringnullable
    state schemaState (string)

    Possible values: [draft, open, closed]

    displayInteractive stringnullable
    categoryId stringnullable
    data string

    Possible values: >= 2 characters

    description stringnullable

    Possible values: <= 3000 characters

    tags string[]nullable
    postProcessing stringnullable

Responses

Schema successfully updated

Schema

    postProcessing string

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

    tags string[]
    description string

    Possible values: <= 3000 characters

    data stringrequired
    voteThresholdSettings string

    Vote threshold

    state schemaState (string)

    Possible values: [draft, open, closed]

    thumbnail string

    Url for thumbnail

    displayThumbnail string
    approvalMethod string
    type string
    createdAt date-time

    Time representation of schema creation

    projectId projectId (string)required

    Unique identifier for Project

    id string

    Unique identifier for Schema

    categoryId string

    Unique identifier for Category

    displayInteractive string
    name stringrequired
    category object[]

    Categories for schema

Loading...