Component Folders

Fetch component folders

Returns all folders in your component library, with their developer IDs, names, and parent folder (by developer ID; null when the folder sits directly under the library root).

Folders are a separate namespace from project folders.

get/componentFolders

Request

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

Response

Returns an array of all folders in the component library

idstring required

The developer ID of the folder

namestring required

The name of the folder

parentIdstring nullable required

Developer ID of the parent folder, or null if the folder sits directly under the library root

Example response

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

Changes

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