Content
List content templates
Changed onList all existing content templates. Returns an array of content template objects in the content_templates attribute.
get/api/content/templates
Request
- Base URLhttps://go.urbanairship.com
- Auth
- HTTP basic
- or OAuth 2Client credentialsToken URLhttp://oauth2.{domain}.com/tokenScopestpl
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageinteger
Example:1
Specifies the desired page number. Defaults to 1.
page_sizeinteger
Example:25
Specifies how many results to return per page.
sort'created_at' | 'modified_at'
Example:created_at
Specifies the name of the field you want to sort results by. Defaults to created_at.
order'asc' | 'desc'
Example:asc
Specifies the sort order as ascending (asc) or descending (desc). Defaults to asc.
Response
Returned on success, with the JSON representation of the content templates in the body of the response.
Changes
- info
endpoint added
This list may be incomplete.
- info