Pixelsilk API function to get the skins object for a page type--requires the advanced-admin-access permission
pageTypeId: the unique identifier for the page type

The function getPageTypeSkins returns an object containing the skins

C# Example:
Guid pageTypeId = <page type's id>;
object pageTypeSkins = GetPageTypeSkins(pageTypeId);
Note the capital first letter of the C# method.

HTTP Example:
Request Headers:
POST /api2/getPageTypeSkins HTTP/1.1
Content-Length: 124
Content-Type: application/x-www-form-urlencoded
Cookie: auth=983FA759425E...308AD7097B7B

Request Data:
Unencoded Data:

Url-encoded Data:

Response Headers:
HTTP/1.1 200 OK
Set-Cookie: auth=FFEC0500E646...FE1C25FDAD7; path=/
Content-Type: text/javascript; charset=UTF-8
Content-Length: 2225

Response Data:
NOTE: The skin contents have been removed so you can see
the organization of the returned data easily.

JavaScript Example:
Method Call:
pixelsilk2.getPageTypeSkins(input, callback);

Input Object:

Returned Data:
    "viewItem":"    ",
    "itemDetail":"    ",

Back to Page Types »