lib/seismic_api/teamsites.rb
# Create a folder in the teamsite
#
# @param teamsiteId [String] ID of teamsite
# @param name [String] name of folder
# @param parentFolderId [String] ID of parent folder (it not supplied,
#   it goes into the root directory for that teamsite)
# @option args [String] :externalId ID in external system
# @option args [String] :externalConnectionId ID of external system
#
# @return [SeismicAPI::Response]
Create a folder in the teamsite
Create a folder in the teamsite
def add_folder(teamsiteId:, name:, parentFolderId: "root", **args)
      request.post(
        "#{teamsites_url}/#{teamsiteId}/folders",
        body: { name: name, parentFolderId: parentFolderId, **args }
      )
    end
def add_folder ( teamsiteId : , name : , parentFolderId : "root" , ** args ) request . post ( "#{teamsites_url}/#{teamsiteId}/folders" , body : { name : name , parentFolderId : parentFolderId , ** args } ) end
Create a folder in the teamsite
Create a folder in the teamsite
None
SeismicAPI::Response
teamsiteId
ID of teamsite
ID of teamsite
name
name of folder
name of folder
parentFolderId
ID of parent folder (it not supplied, it goes into the root directory for that teamsite)
ID of parent folder ( it not supplied it goes into the root directory for that teamsite )
args
:externalConnectionId ID of external system
: externalConnectionId ID of external system