ContentType domain

ContentType domain

This question is answered

I'm using the REST API to integrate search functionality into my product. I'd like to create a mapping between ContentType (or ContentTypeId) and a friendly name suitable for display to users, but I'll need to know the complete domain of ContentType values that are returned via search. Is such a list available? I wasn't able to find anything in the REST documentation for the search endpoint.

Thanks,

Michael

Verified Answer
  • Strictly speaking, the ContentType can be *any* string. Custom content types can be added by the APIs you use to add content to search.

    However http://telligent.com/community/developers/w/developer6/20651.search-fields-by-type.aspx does document all the content types we include OOTB.

All Replies
  • Strictly speaking, the ContentType can be *any* string. Custom content types can be added by the APIs you use to add content to search.

    However http://telligent.com/community/developers/w/developer6/20651.search-fields-by-type.aspx does document all the content types we include OOTB.

  • Those match up with what I'm seeing. In addition, I'm seeing "forumreply" for replies so I'll incorporate that as well and add more as they are encountered. Thanks.