/
Webservice Functions - UploadExternalAsset

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

Webservice Functions - UploadExternalAsset

Adds an asset to an External Asset Library

Declaration

public string UploadExternalAsset ( string apiKey, string url, string fileName, string fileData );

Arguments

Name

Type

Description

apiKey

apiKey

The API key previously generated by calling the GenerateApiKey function

url

url

The URL to post the asset to

fileName

fileName

The name of the uploaded file

fileData

fileOrData

The path to the file, or its base64 encoded data

Returns

resourceItemXML

Definition XML of the ResourceItem

Security rights needed

  • Add

Apply on resource

Assets

Related content

External Assets XML
Read with this
POST - resources/assets/external
POST - resources/assets/external
More like this
Webservice Functions - AssetGetImageInfo
Webservice Functions - AssetGetImageInfo
More like this
Webservice Functions - DataSourceAddSampleFile
Webservice Functions - DataSourceAddSampleFile
More like this
Webservice Functions - ResourceItemAdd
Webservice Functions - ResourceItemAdd
More like this
Webservice Functions - DocumentGetUsedAssets
Webservice Functions - DocumentGetUsedAssets
More like this

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