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]

    categoryId stringnullable
    displayThumbnail stringnullable
    data string

    Possible values: >= 2 characters

    name string

    Possible values: <= 32 characters

    tags string[]nullable
    description stringnullable

    Possible values: <= 3000 characters

    displayInteractive stringnullable

Responses

Schema successfully updated

Schema

    voteThresholdSettings string

    Vote threshold

    data stringrequired
    type string
    projectId projectId (string)required

    Unique identifier for Project

    createdAt date-time

    Time representation of schema creation

    description string

    Possible values: <= 3000 characters

    category object[]

    Categories for schema

    thumbnail string

    Url for thumbnail

    name stringrequired
    state schemaState (string)

    Possible values: [draft, open, closed]

    approvalMethod string
    categoryId string

    Unique identifier for Category

    displayThumbnail string
    displayInteractive string
    id string

    Unique identifier for Schema

    tags string[]
Loading...