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

    postProcessing stringnullable
    displayThumbnail stringnullable
    name schemaName (string)

    Possible values: <= 32 characters

    Name of the schema

    state schemaState (string)

    Possible values: [draft, open, closed]

    data string

    Possible values: >= 2 characters

    categoryId stringnullable
    description stringnullable

    Possible values: <= 3000 characters

    displayInteractive stringnullable
    tags string[]nullable

Responses

Schema successfully updated

Schema

    projectId projectId (string)required

    Unique identifier for Project

    displayInteractive string
    categoryId string

    Unique identifier for Category

    id string

    Unique identifier for Schema

    state schemaState (string)

    Possible values: [draft, open, closed]

    approvalMethod string
    data stringrequired
    thumbnail string

    Url for thumbnail

    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

    name schemaName (string)required

    Possible values: <= 32 characters

    Name of the schema

    voteThresholdSettings string

    Vote threshold

    type string
    category object[]

    Categories for schema

    tags string[]
    description string

    Possible values: <= 3000 characters

    displayThumbnail string
Loading...