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

    description stringnullable

    Possible values: <= 3000 characters

    state schemaState (string)

    Possible values: [draft, open, closed]

    categoryId stringnullable
    data string

    Possible values: >= 2 characters

    displayInteractive stringnullable
    displayThumbnail stringnullable
    thumbnail urlnullable
    postProcessing stringnullable
    name schemaName (string)

    Possible values: <= 32 characters

    Name of the schema

    tags string[]nullable

Responses

Schema successfully updated

Schema

    category object[]

    Categories for schema

    projectId projectId (string)required

    Unique identifier for Project

    categoryId string

    Unique identifier for Category

    id string

    Unique identifier for Schema

    displayInteractive string
    voteThresholdSettings string

    Vote threshold

    approvalMethod string
    tags string[]
    postProcessing string

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

    state schemaState (string)

    Possible values: [draft, open, closed]

    description string

    Possible values: <= 3000 characters

    data stringrequired
    type string
    credits integer

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

    displayThumbnail string
    createdAt date-time

    Time representation of schema creation

    thumbnail urinullable

    Url for schema's thumbnail

    name schemaName (string)required

    Possible values: <= 32 characters

    Name of the schema

Loading...