solarOSsolarOS Docs

Create a Project Template from a manifest

Creates an independent Disabled Project Template at version 1. Legacy manifest.type is ignored. options.isPublished=true or options.isActive=true returns 400; enable explicitly using PATCH after reviewing the saved definition.

POST
/manifests/templates

Creates an independent Disabled Project Template at version 1. Legacy manifest.type is ignored. options.isPublished=true or options.isActive=true returns 400; enable explicitly using PATCH after reviewing the saved definition.

Authorization

Authorization<token>

Organization API key. Format: Bearer sk_live_...

In: header

Request Body

application/json

JSON request payload for createTemplateFromManifest.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/manifests/templates" \  -H "Content-Type: application/json" \  -d '{    "name": "Residential PV install",    "stages": [      {        "name": "Install",        "items": [          {            "type": "WORK_ORDER",            "title": "Install array"          }        ]      }    ]  }'
{  "data": {},  "meta": {    "requestId": "string",    "version": "v1",    "timestamp": "2019-08-24T14:15:22Z",    "rateLimit": {      "limit": 0,      "remaining": 0,      "reset": 0    }  }}