Schema Documentation

Theme

Description

A theme object

Fields
Field NameDescription
author - String Name of the theme author(s), could also be a company name. This field is equivalent to WP_Theme->get( "Author" ).
authorUri - String URI for the author/company website. This field is equivalent to WP_Theme->get( "AuthorURI" ).
description - String The description of the theme. This field is equivalent to WP_Theme->get( "Description" ).
id - ID! The globally unique identifier of the theme object.
isRestricted - Boolean Whether the object is restricted from the current viewer
name - String Display name of the theme. This field is equivalent to WP_Theme->get( "Name" ).
screenshot - String The URL of the screenshot for the theme. The screenshot is intended to give an overview of what the theme looks like. This field is equivalent to WP_Theme->get_screenshot().
slug - String The theme slug is used to internally match themes. Theme slugs can have subdirectories like: my-theme/sub-theme. This field is equivalent to WP_Theme->get_stylesheet().
tags - [String] URI for the author/company website. This field is equivalent to WP_Theme->get( "Tags" ).
themeUri - String A URI if the theme has a website associated with it. The Theme URI is handy for directing users to a theme site for support etc. This field is equivalent to WP_Theme->get( "ThemeURI" ).
version - String The current version of the theme. This field is equivalent to WP_Theme->get( "Version" ).
Example
{"author":"abc123","authorUri":"abc123","description":"xyz789","id":4,"isRestricted":false,"name":"xyz789","screenshot":"abc123","slug":"xyz789","tags":["abc123"],"themeUri":"xyz789","version":"xyz789"}