Support Questions
Find answers, ask questions, and share your expertise

Query to fetch all Taxonomy terms

Query to fetch all Taxonomy terms

Hi,

Atlas allows you to query a list of all tags and taxonomy terms using the below api.

http://<atlasserver>:<atlasport>/api/atlas/types?type=TRAIT

and you could get their details individually using

http://<atlasserver>:<atlasport>/api/atlas/types/Catalog.term

or

http://<atlasserver>:<atlasport>/api/atlas/types/tag

Is there a way to fetch all tags and Taxonomy terms using one search query?

Thanks

1 REPLY 1

Re: Query to fetch all Taxonomy terms

Super Guru

Traits and Tags are used interchangeably and in Atlas to mean the same thing.

Since Traits are a specific metatype like Classes, the API to list a specific metatype can be used to list Traits:

GET http:///api/atlas/types?type=TRAIT

The response to this API is a list of Trait names

and to list all terms

GET http:///api/atlas/v1/taxonomies/Catalog/terms