Awesome Support Developer Documentation

List Priorities

Arguments

context Scope under which the request is made; determines fields present in response.

Default: view

One of: view, embed, edit

page Current page of the collection.

Default: 1

per_page Maximum number of items to be returned in result set.

Default: 10

search Limit results to those matching a string.
exclude Ensure result set excludes specific IDs.

Default:

include Limit result set to specific IDs.

Default:

order Order sort attribute ascending or descending.

Default: asc

One of: asc, desc

orderby Sort collection by term attribute.

Default: name

One of: id, include, name, slug, include_slugs, term_group, description, count

hide_empty Whether to hide terms not assigned to any posts.
parent Limit result set to terms assigned to a specific parent.
post Limit result set to terms assigned to a specific post.
slug Limit result set to terms with one or more specific slugs.

 


Definition

GET /wpas-api/v1/ticket_priority

Example Request

$ curl http://demo.getawesomesupport.com/wp-json/wpas-api/v1/ticket_priority

Share: