TraitGroup

Create a Trait Group

Creates a Trait Group with declarative trait schemas for this Memory Store.

post/v1/ControlPlane/Stores/{storeId}/TraitGroups

Request body

displayNamestring required

Unique name of the Trait Group

descriptionstring

description of the Trait Group

traitsobject

Map of traits belonging to this Trait Group, keyed by trait name.

Example request

{
  "displayName": "Contact",
  "description": "This Trait Group contains traits related to contact information.",
  "traits": {
    "email": {
      "dataType": "STRING",
      "description": "User's email address"
    },
    "dob": {
      "dataType": "STRING",
      "description": "User's date of birth"
    }
  }
}

Response

TraitGroup creation request accepted.

messagestring
statusUrlstring

URI to check operation status.

Example response

{
  "message": "TraitGroup creation request accepted."
}

Changes

Changed in 1 of the 8 revisions of this API.5

    • the response property's max was increased from 99999.00 to 999999.00 for the response status

      response-property-max-increased

    • the response property's max was increased from 99999.00 to 999999.00 for the response status

      response-property-max-increased

    • the response property's max was increased from 99999.00 to 999999.00 for the response status

      response-property-max-increased

    • the response property's max was increased from 99999.00 to 999999.00 for the response status

      response-property-max-increased

    • the response property's max was increased from 99999.00 to 999999.00 for the response status

      response-property-max-increased

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 8 revisions, 1 has no diff computed.