Create new type attribute
POST {{baseUrl}}/type-definitions/:typeName/attributes
Create new type attribute
Request Body
{"data_type"=>"string", "display_name"=>"ex non sunt", "name"=>"s3cjnwyg87r", "repeating"=>true, "size"=>46166463, "searchable"=>true, "sortable"=>false, "read_only"=>false, "auditable"=>true, "required"=>true, "unique"=>false, "description"=>"est dolor amet", "localizable"=>true, "validators"=>[{"type"=>"minim aliqua", "operation"=>"proident in deserunt anim", "params"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}, {"type"=>"ipsum consequ", "operation"=>"mollit nisi", "params"=>[{"value"=>"<Error: Too many levels of nesting to fake this schema>"}, {"value"=>"<Error: Too many levels of nesting to fake this schema>"}]}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"id":"1e2eb420-2d4a-b467-d37c-37b6e225489f","system":false,"data_type":"id","display_name":"nostrud nulla aliqua","default_value":{},"size":23667697,"searchable":false,"sortable":false,"read_only":false,"auditable":true,"unique":false,"description":"nisi quis magna","localizable":true,"internal":false,"validators":[{"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"created_by":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"create_time":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"update_time":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"updated_by":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"operation":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"etag":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"system":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"params":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"type":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"created_by":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"create_time":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"update_time":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"updated_by":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"operation":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"etag":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"system":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"params":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"name":"t","search-name":"dolor","_links":{"self":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"edit":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"parent":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"repeating":true,"required":true}