/v1/siteTemplates (GET) - BlueCat Edge - Service Point v4.x.x

BlueCat Edge User Guide

Locale
English
Product name
BlueCat Edge
Version
Service Point v4.x.x

Returns all existing site templates.

GET https://api-<BlueCat.edge.url>/v1/api/siteTemplates
Authorization: Bearer authorization token

Successful response

200 OK
Content-type: application/JSON
[
   {
     "id": "f3799d9a-9c5e-11ea-bb37-0242ac130002",
     "name": "Default",
     "associatedNamespaces": [
         {
           "id": "662952c8-be70-4732-bd62-c9e4422fdb0a"
         }, 
         {
           "id": "ded32ece-9c5e-11ea-bb37-0242ac130002"
         }, 
         ...
       ]
   }
]
Returns the following information:
  • ID: The ID of the site template.
  • Name: The name of the site template.
  • Associated namespaces: The namespaces assigned to the site template.

Response on unsuccessful authorization

401 Unauthorized
Content-Type: application/JSON
{"code": "UNAUTHORIZED", "brief": "You are not authorized to perform this action"}
Possible error codes
  • INTERNAL_SERVER_ERROR