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.
Returns
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.
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"
}
]
}