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

    state schemaState (string)

    Possible values: [draft, open, closed]

    data string

    Possible values: >= 2 characters

    description stringnullable

    Possible values: <= 3000 characters

    categoryId stringnullable
    displayInteractive stringnullable
    displayThumbnail stringnullable
    name string

    Possible values: <= 32 characters

    tags string[]nullable
    postProcessing stringnullable

Responses

Schema successfully updated

Schema

    type string
    thumbnail string

    Url for thumbnail

    description string

    Possible values: <= 3000 characters

    displayThumbnail string
    categoryId string

    Unique identifier for Category

    id string

    Unique identifier for Schema

    projectId projectId (string)required

    Unique identifier for Project

    state schemaState (string)

    Possible values: [draft, open, closed]

    data stringrequired
    approvalMethod string
    displayInteractive string
    category object[]

    Categories for schema

    name stringrequired
    createdAt date-time

    Time representation of schema creation

    tags string[]
    postProcessing string

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

    voteThresholdSettings string

    Vote threshold

Loading...