Semantria
  1. Taxonomy
Semantria
  • Blacklist
    • Remove items from blacklist
      DELETE
    • Retrieve blacklisted items
      GET
    • Add items to blacklist
      POST
    • Update items in blacklist
      PUT
  • Categories
    • Remove user categories
      DELETE
    • Retrieve user categories
      GET
    • Add user categories
      POST
    • Updates user categories
      PUT
  • ProcessingCollections
    • Queue collection for analysis
      POST
    • Retrieve collections analysis
      GET
    • Cancel collection analysis
      DELETE
    • Retrieve collection analysis or its status in queue
      GET
  • Configuration
    • Remove user configurations
      DELETE
    • Retrieve user configurations
      GET
    • Create user configurations
      POST
    • Update user configurations
      PUT
  • ProcessingDocuments
    • Queue document for analysis
      POST
    • Queue batch of documents for analysis
      POST
    • Retrieve documents analysis
      GET
    • Cancel document analysis
      DELETE
    • Retrieve document analysis or its status in queue
      GET
  • Entities
    • Remove user entities
    • Retrieve user entities
    • Add user entities
    • Update user entities
  • Features
    • Retrieve supported features
  • Phrases
    • Remove sentiment-bearing phrases
    • Retrieve sentiment-bearing phrases
    • Add sentiment-bearing phrases
    • Updates sentiment-bearing phrases
  • Queries
    • Remove queries
    • Retrieve queries
    • Add or update queries
    • Update queries
  • Statistics
    • Retrieve usage statistics
  • Status
    • Retrieve API status
  • Subscription
    • Retrieve subscription details
  • Taxonomy
    • Remove taxonomy nodes
      DELETE
    • Retrieve taxonomy
      GET
    • Add taxonomy nodes
      POST
    • Update taxonomy nodes
      PUT
  1. Taxonomy

Retrieve taxonomy

GET
/taxonomy.{content_type}
This method retrieves list of taxonomy available on Semantria side.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.semantria.com//taxonomy.'
Response Response Example
200 - Example 1
[
    {
        "enforce_parent_matching": true,
        "id": "string",
        "modified": "string",
        "name": "string",
        "nodes": [
            null
        ],
        "topics": [
            {
                "id": "string",
                "type": "string"
            }
        ]
    }
]

Request

Path Params
content_type
string 
required
Query Params
config_id
string 
optional
Identifier of configuration taxonomy linked to.

Responses

🟢200Client request accepted and queued. Server responds with the taxonomy list.
application/json
Body
array of:
enforce_parent_matching
boolean 
optional
Enforces parent nodes to match on a content if the current node matches
id
string 
required
Unique taxonomy node identifier
modified
string 
required
The timestamp of the latest update of the record. Creation date of update didn't occur
name
string 
required
Taxonomy name
nodes
array
optional
The list of sub-nodes associated with the current taxonomy node
topics
array[object (TaxonomyTopic) {2}] 
optional
The list of the topics associated with the current taxonomy node
id
string 
optional
Unique taxonomy topic identifier
type
string 
required
Type of the topic (category or query) associated with the certain taxonomy node
🟢202Client request accepted and no taxonomy found. Server responds with empty body.
🟠401Authentication failed.
🟠402Unauthorized. Limit of system calls is reached or subscription is expired.
🔴500Server side issue. Server may respond with the details in response body.
Modified at 2022-09-10 18:38:13
Previous
Remove taxonomy nodes
Next
Add taxonomy nodes
Built with