Templates API
Get All Templates
GET https://integrator.dckap.com/api/templates/get/all
Retrieves all the public templates and also, private templates (associated to the account)
Headers
Authorization
string
Bearer {access_token}
{
"additional_data": null,
"data": [
{
"_id": "6026068415bea94e909c5d6e",
"account_id": "5db04e9e2943b4255fe71d0a",
"author_name": "Sureka Selvam",
"created_at": "Fri, 12 Feb 2021 04:39:32 GMT",
"created_by": "5db04e9e2943b4255fe71d0a",
"detailed_description": "<p>dfd</p>",
"isDeleted": false,
"is_published": true,
"last_published_version": "1.0.2",
"pipe_description": {},
"pipes": [
"5f89ae892943b4000fc54005",
"5facbf252943b4000d4b1a76"
],
"project_id": "5f894b9d2943b4000fc53044",
"published_on": "Sat, 13 Feb 2021 16:53:53 GMT",
"short_description": "sdfdf",
"template_name": "Test_API",
"type": "public",
"updated_at": "Sat, 13 Feb 2021 16:53:55 GMT",
"updated_by": "AnonymousUser",
"version_info": "master"
},
{
"_id": "6026066615bea94e909c5d6b",
"account_id": "5db04e9e2943b4255fe71d0a",
"author_name": "Sureka Selvam",
"created_at": "Fri, 12 Feb 2021 04:39:02 GMT",
"created_by": "5db04e9e2943b4255fe71d0a",
"detailed_description": "<p>dfd</p>",
"isDeleted": false,
"is_published": true,
"last_published_version": "master",
"pipe_description": {},
"pipes": [
"5f89ae892943b4000fc54005",
"5facbf252943b4000d4b1a76"
],
"project_id": "5f894b9d2943b4000fc53044",
"published_on": "Fri, 12 Feb 2021 04:39:02 GMT",
"short_description": "sdfdf",
"template_name": "Test",
"type": "public",
"updated_at": "Fri, 12 Feb 2021 04:39:02 GMT",
"updated_by": "5db04e9e2943b4255fe71d0a",
"version_info": "master"
},
{
"_id": "6026056515bea94e909c5d5b",
"account_id": "5db04e9e2943b4255fe71d0a",
"author_name": "Sureka Selvam",
"created_at": "Fri, 12 Feb 2021 04:34:45 GMT",
"created_by": "5db04e9e2943b4255fe71d0a",
"detailed_description": "<p>dfd</p>",
"isDeleted": false,
"is_published": true,
"last_published_version": "1.0.1",
"pipe_description": {},
"pipes": [
"5f89ae892943b4000fc54005",
"5facbf252943b4000d4b1a76"
],
"project_id": "5f894b9d2943b4000fc53044",
"published_on": "Fri, 12 Feb 2021 04:35:30 GMT",
"short_description": "sdfdf",
"template_name": "Test",
"type": "public",
"updated_at": "Fri, 12 Feb 2021 04:35:30 GMT",
"updated_by": "5db04e9e2943b4255fe71d0a",
"version_info": "master"
}
],
"error_code": "",
"message": "Templates listed successfully",
"next": 0,
"page": 1,
"pages": [],
"prev": 0,
"status": 200,
"success": true,
"total": 1,
"total_records": 3
}Get Template Information
GET https://integrator.dckap.com/api/get/template/:id
Retrieves the template information for the given template id.
Path Parameters
id
string
Template ID
Headers
Authorization
string
Bearer {access_token}
Use Template
POST https://integrator.dckap.com/workspace/:project_id/import/template/:template_id
Creates the pipes, flows, systems & API's in the specified project using the existing template.
Path Parameters
project_id*
string
Project ID
template_id*
string
Template ID
Headers
Authorization
string
Bearer {access_token}
Request Body
existing_credentials
object
Existing Credentials
created_credentials
array
Credentials to be created
pipes
object
Pipes ID's with configuration, status and selected flag
global_systems_as_custom*
array
Public System to be created as private system
Sample Request Info
Last updated
Was this helpful?