Information Classification: External Restricted.
See https://www.chili-publish.com/security

POST - resources/{resourceName}/items

Adds a ResourceItem to the specified Resource, and returns its definition XML

URI

resources/{resourceName}/items

HTTP Method

Post

Request parameters

Name

Location

Type

Description

API-KEY

http header

apiKey

The API key previously generated by calling the GenerateApiKey function

resourceName

uri

resourceName

The name of the resource

newName

query

itemName

The name of the new resource item

folderPath

query

folderPath

The relative path of the resource item in the resource's tree (for resources of type directory_object or directory_file)

xml

body

xmlString

The underlying XML of the resource (for resources of type list or directory_object)

fileData

body

fileOrData

The path to the file, or its base64 encoded data, for the new resource item (for resources of type directory_object or directory_file)

HTTP Return Status

Created

Returns

resourceItemXML

Definition XML of the ResourceItem

Security rights needed

  • Add

Apply on resource

Resource from function parameter resourceName

All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security