Skip to Content
Docs

Create a service from template

POST
/services/from-template

Authorization

jwt
headerAuthorizationBearer <JWT>

Header Parameters

Request Body

application/json
  1. body
id*string
Length1 <= length
name*string
Length1 <= length
templateId*string
Length1 <= length
configuration?

Response Body

application/json
  1. response
id*string
Length1 <= length
name*string
Length1 <= length
version?number
Default1
endpoint?string
releaseTrack?string
Value in"development""release-candidate""general-availability""removed-from-distribution"
sourceTenantId?string
description?string
_metaData*
Example Request
curl -X POST 'https://services.your-tenant-id.my.contextual.io/api/v1/services/from-template' \  -H 'Content-Type: application/json' \  -d '{  "id": "string",  "name": "string",  "templateId": "string"}'
Example Response
{  "id": "string",  "name": "string",  "version": 1,  "endpoint": "string",  "releaseTrack": "development",  "sourceTenantId": "string",  "description": "string",  "_metaData": {    "id": "string",    "createdAt": "2019-08-24T14:15:22Z",    "updatedAt": "2019-08-24T14:15:22Z"  }}