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

PUT - resources/{resourceName}/items/{itemID}/file

Replaces the underlying file of a Resource Item of type directory_file, and returns its definition XML.

URI

resources/{resourceName}/items/{itemID}/file

HTTP Method

Put

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

itemID

uri

itemID

The ID of the ResourceItem

fileData

body

fileOrData

The path (accessible from the CHILI server) to the file, or its base64 encoded data

HTTP Return Status

Ok

Returns

resourceItemXML

Definition XML of the ResourceItem

Security rights needed

  • Edit

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