PUT /a/share/cell

Put or Create a share room

Body Parameters

Name Description Type Required
CreateEmptyRoot Whether to create a dedicated folder for this cell at creation boolean
Room Content of the Cell (Room is legacy name) #/definitions/restCell

Body Example

{
  "CreateEmptyRoot": true,
  "Room": {
    "ACLs": {},
    "AccessEnd": "string",
    "Description": "string",
    "Label": "string",
    "Policies": [
      {
        "Action": "string",
        "Effect": "string",
        "JsonConditions": "string",
        "Resource": "string",
        "Subject": "string",
        "id": "string"
      }
    ],
    "PoliciesContextEditable": true,
    "RootNodes": [
      {
        "Path": "string"
      }
    ],
    "Uuid": "string"
  }
}

Response Example (200)

Response Type /definitions/restCell

{
  "ACLs": {},
  "AccessEnd": "string",
  "Description": "string",
  "Label": "string",
  "Policies": [
    {
      "Action": "string",
      "Effect": "string",
      "JsonConditions": "string",
      "Resource": "string",
      "Subject": "string",
      "id": "string"
    }
  ],
  "PoliciesContextEditable": true,
  "RootNodes": [
    {
      "AppearsIn": [
        {
          "Path": "string",
          "WsLabel": "string",
          "WsScope": "string",
          "WsSlug": "string",
          "WsUuid": "string"
        }
      ],
      "Commits": [
        {
          "Data": "string",
          "Description": "string",
          "Event": {
            "Metadata": {},
            "Optimistic": true,
            "Silent": true,
            "Source": "[Recursive structure]",
            "Target": "[Recursive structure]",
            "Type": "string"
          },
          "Location": "[Recursive structure]",
          "MTime": "string",
          "OwnerUuid": "string",
          "Size": "string",
          "Uuid": "string"
        }
      ],
      "Etag": "string",
      "MTime": "string",
      "MetaStore": {},
      "Mode": 10,
      "Path": "string",
      "Size": "string",
      "Type": "string",
      "Uuid": "string"
    }
  ],
  "Uuid": "string"
}
Auto generated by Pydio Cells Enterprise Distribution v4.4.3 on 18-Jun-2024
Back to top