Skip to content
  • Auto
  • Light
  • Dark
Get Started

Create

Create
post/api/v1/directories

Create a directory.

Body Parameters
appIdstring
optional

The AppID to make into a directory, providing identities and more for the C1 app.

expandMaskobject
optional

The fields to be included in the directory response.

Hide ParametersShow Parameters
pathsarray of string
optional

An array of fields to be included in the directory response.

Returns
directoryViewappPathstringdirectoryobjectDirectoryView
optional

The directory view contains a directory and an app_path which is a JSONPATH set to the location in the expand mask that the expanded app will live if requested by the expander.

expandedarray of object
optional

List of serialized related objects.

Hide ParametersShow Parameters
@typestring
optional

The type of the serialized message.

Request example cURL
curl https://{tenantDomain}.conductor.one/api/v1/directories \
    -H 'Content-Type: application/json' \
    -H "Authorization: Bearer $CONDUCTORONE_SDK_API_KEY"
200 Example
{
  "directoryView": {
    "appPath": "appPath",
    "directory": {}
  },
  "expanded": [
    {
      "@type": "@type"
    }
  ]
}