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
    displayInteractive stringnullable
    state schemaState (string)

    Possible values: [draft, open, closed]

    data string

    Possible values: >= 2 characters

    tags string[]nullable
    thumbnail urlnullable
    description stringnullable

    Possible values: <= 3000 characters

    categoryId stringnullable
    name schemaName (string)

    Possible values: <= 32 characters

    Name of the schema

    displayThumbnail stringnullable

Responses

Schema successfully updated

Schema

    displayThumbnail string
    approvalMethod string
    categoryId string

    Unique identifier for Category

    description string

    Possible values: <= 3000 characters

    category object[]

    Categories for schema

    voteThresholdSettings string

    Vote threshold

    tags string[]
    thumbnail urinullable

    Url for schema's thumbnail

    data stringrequired
    state schemaState (string)

    Possible values: [draft, open, closed]

    displayInteractive string
    postProcessing string

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

    type string
    projectId projectId (string)required

    Unique identifier for Project

    id string

    Unique identifier for Schema

    name schemaName (string)required

    Possible values: <= 32 characters

    Name of the schema

    credits integer

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

    createdAt date-time

    Time representation of schema creation

Loading...