Get list of all trait definitions available

GET {{baseUrl}}/trait-definitions?namespace=minim ut aliqua&expandAll=false&page=61627017&items-per-page=61627017&filter=minim ut aliqua&sortby=minim ut aliqua

Returns list of all trait definitions

Request Params

KeyDatatypeRequiredDescription
namespacestringNamespace of the trait-definitions
expandAllbooleanIncludes all the related artifacts (attributes, index-definitions, operations...) in this call.
pagenumberThe page number required
items-per-pagenumberNumber of items per page
filterstringFilter the list of trait-definitions. For example, ?filter = name like '%de%'
sortbystringSort by field/attribute names. Default sort order is ascending and multiple sort condition should be separated by comma.

Pass 'asc/desc' text after the value to change the sort order. e.g., to sort by 'display_name' and 'active' attribute in ascending order use ?sortby=display_name asc, active asc

Note: Not all attributes support sort. |

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"_embedded":{"collection":[{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"system_name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"display_name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"description":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"namespace":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"namespace_prefix":{"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"},"updated_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"},"owner":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"default_locale":{"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"},"active":{"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"},"acl_id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"_links":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},{"name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"system_name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"display_name":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"description":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"namespace":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"namespace_prefix":{"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"},"updated_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"},"owner":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"default_locale":{"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"},"active":{"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"},"acl_id":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"_links":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}],"_links":{"next":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"previous":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"self":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"first":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},"last":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}}