BabelBirdBabelBird Docs

Create material library classification

Properties Values
HTTP method POST
Interface path /nd/api/file/create_material_class
Category File API

Interface description

Interface path: /nd/api/file/create_material_class

HTTP method: POST

HTTP method: POST

POST request body parameters

Parameter name Comment (description) destDirFileId fileId of the destination folder (required) string name The name of the created category library (required) string accessType Classification visibility (optional) Defaults to public 0. 0: // public 1: // Need to apply 2: // Department is public 3: // Department application 4: // Confidential managerIds The id array type of the person in charge [usrId1,userId2] departmentIds Classification visibility-limited department id of department (optional) Array type [departmentId1,departmentId2]

The return information is as follows

{"code":0, "success":true, "materialClass": {}}

Call instructions

  • Before calling, you need to complete Get token or the corresponding login-free authentication, and carry Authorization: Bearer <access_token> in the request header.
  • If there are differences in parameters and return fields due to deployment versions, the actual private cloud API documents and joint debugging results should prevail.
  • Category: File API.
BabelBird capabilities may change by product version, licensed modules and deployment configuration; actual availability depends on the deployed environment and administrator settings.