Zum Ende der Metadaten springen
Zum Anfang der Metadaten

Sie zeigen eine alte Version dieses Inhalts an. Zeigen Sie die aktuelle Version an.

Unterschiede anzeigen Versionsverlauf anzeigen

Version 1 Aktuelle »

Attribute that shall be assigned to sentences in the Authoring Memory must be defined first.

The endpoint to define attributes, i.e. to make them known and usable within the Authoring Memory is : <host>/Congree/Congree/api/AuthoringMemory/v1/Attributes

The attribute to be defined is passed as a JSON object in the body.

{
  "Type": "Undefined",
  "Name": "string",
  "Values": [
    "string"
  ]
}
PropertyDescription
TypeThe type of the attribute. Possible values are Undefined, Text or Pickllist
NameThe name of the attribute
ValuesAn array of possible values

Let's assume we want to add an attribute allowing us to store the ID of a module coming from a CMS. To be able to do so we define an attribute Module-ID.

  • Keine Stichwörter