Awesome Support Developer Documentation

Departments: Schema

The schema defines all the fields that exist for a department object.

id
integer
Unique identifier for the term.

Read only

Context: view, embed, edit

count
integer
Number of published posts for the term.

Read only

Context: view, edit

description
string
HTML description of the term.

Context: view, edit

name
string
HTML title for the term.

Context: view, embed, edit

slug
string
An alphanumeric identifier for the term unique to its type.

Context: view, embed, edit

taxonomy
string
Type attribution for the term.

Read only

Context: view, embed, edit

One of: category, post_tag, nav_menu, link_category, post_format, action-group, product_type, product_visibility, product_cat, product_tag, product_shipping_class, ticket-tag, product, department, ticket_priority, ticket_channel

parent
integer
The parent term ID.

Context: view, edit

meta
object
Meta fields.

Context: view, edit

 


Example Request

$ curl -X OPTIONS -i http://demo.getawesomesupport.com/wp-json/wpas-api/v1/department


 

Share: