--- layout: default navsection: api navmenu: API Methods title: "traits" ... Required arguments are displayed in %{background:#ccffcc}green%. h2. create Create a new Trait. Arguments: table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | |trait|object||query|| h2. delete Delete an existing Trait. Arguments: table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | {background:#ccffcc}.|uuid|string|The UUID of the Trait in question.|path|| h2. destroy destroy traits Arguments: table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | {background:#ccffcc}.|uuid|string||path|| h2. get Gets a Trait's metadata by UUID. Arguments: table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | {background:#ccffcc}.|uuid|string|The UUID of the Trait in question.|path|| h2. index index traits Arguments: table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | |order|string||query|| |where|object||query|| h2. list List traits. Arguments: table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | |limit|integer (default 100)|Maximum number of traits to return.|query|| |order|string|Order in which to return matching traits.|query|| |pageToken|string|Page token.|query|| |q|string|Query string for searching traits.|query|| |where|object|Conditions for filtering traits.|query|| h2. show show traits Arguments: table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | {background:#ccffcc}.|uuid|string||path|| h2. update Update attributes of an existing Trait. Arguments: table(table table-bordered table-condensed). |_. Argument |_. Type |_. Description |_. Location |_. Example | {background:#ccffcc}.|uuid|string|The UUID of the Trait in question.|path|| |trait|object||query||