Component Folders

Create component folders

Creates one or more folders in the component library.

post/componentFolders

Request

  • Base URL: https://api.dittowords.com/v2
  • URL: https://api.dittowords.com/v2/componentFolders
  • Auth: API key in header Authorization

Request body

Example request

{
  "folders": [
    {
      "name": "Inputs"
    },
    {
      "name": "Text Fields",
      "developerId": "text-fields",
      "parentId": "inputs"
    }
  ]
}

Response

Returns the developer IDs of the created folders, in request order

developerIdsstring[] required

Array of developer IDs for the created folders, in request order

Example response

{
  "developerIds": [
    "inputs",
    "text-fields"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.