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

    displayInteractive stringnullable
    postProcessing stringnullable
    name string

    Possible values: <= 32 characters

    categoryId stringnullable
    data string

    Possible values: >= 2 characters

    displayThumbnail stringnullable
    tags string[]nullable
    state schemaState (string)

    Possible values: [draft, open, closed]

    description stringnullable

    Possible values: <= 3000 characters

Responses

Schema successfully updated

Schema

    state schemaState (string)

    Possible values: [draft, open, closed]

    type string
    description string

    Possible values: <= 3000 characters

    approvalMethod string
    voteThresholdSettings string

    Vote threshold

    tags string[]
    data stringrequired
    projectId projectId (string)required

    Unique identifier for Project

    name stringrequired
    categoryId string

    Unique identifier for Category

    id string

    Unique identifier for Schema

    createdAt date-time

    Time representation of schema creation

    thumbnail string

    Url for thumbnail

    displayInteractive string
    category object[]

    Categories for schema

    displayThumbnail string
    postProcessing string

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

Loading...