Skip to main content

Create Metadata

POST 

/api/v1/metadata/:namespace

Create Metadata

Request​

Path Parameters

    namespace stringrequired

    Possible values: [questionnaire, higg]

    The logical type of data that is set by Inspectorio

Body

    items

    object[]

    required

    Possible values: >= 1, <= 50

    Metadata items

  • Array [

  • object
  • ]

  • uid stringrequired

    Possible values: non-empty and <= 100 characters

    Unique identifier of a Metadata. If the namespace is questionnaire, then the uid should be your organization id. If the namespace is higg, then the uid should be your higg id.

Responses​

Created

Schema

    data

    object

    items

    object[]

    required

    Possible values: >= 1, <= 50

    Metadata items

  • Array [

  • oneOf

    key stringrequired

    Possible values: non-empty and <= 100 characters, Value must match regular expression ^[a-zA-Z_]\w*$

    The key

    type stringrequired

    Possible values: [string]

    The type of the value

    value stringrequired

    The value

  • ]

  • uid stringrequired

    Possible values: non-empty and <= 100 characters

    Unique identifier of a Metadata. If the namespace is questionnaire, then the uid should be your organization id. If the namespace is higg, then the uid should be your higg id.

Loading...