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

POST - system/apikey/withsetting

Generates an apiKey for subsequent calls to the other webservice functions. Use SetWorkingEnvironment to use your user account (if it is an administrator) to access different environments

URI

system/apikey/withsetting

HTTP Method

Post

Request parameters

Name

Location

Type

Description

environmentNameOrURL

unknown

string

The identifier for the environment in which to log in

This can be:

userName

body

string

The user to log in with.
This user needs to exist in the specified environment.

password

body

string

The user's password.
This can be provided as a MD5 encoded string (which of course is the preferred method)

settingsXML

body

xmlString

XML representation of name/value pairs of the settings to apply. Eg:
<settings>
<item name='userAssetDirectory' value='users\USER_NAME' />
<item name='allowWorkspaceAdministration' value='false' />
</settings>

Key names are case sensitive. An exception will be thrown for invalid key names.
Possible key names are:

  • allowWorkspaceAdministration
  • allowContentAdministration
  • noAutomaticPreviewForNewItems
  • noApiKeyInURL
  • userLanguage
  • userLanguageIgnoreWorkSpaceLanguage
  • xinetUser
  • xinetPW
  • userAssetDirectory
  • userGroupAssetDirectory
  • documentAssetDirectory

HTTP Return Status

Created

Returns

loginResult

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