Tavio Public API
...
Solutions
Retrieve a solution by id
1 min
code examples curl location globoff 'https //api integrationmarketplace io/v1/{orgdomain}/solutions/{solutionid}' \\ \ header 'accept application/json' \\ \ header 'content type application/json'var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); var requestoptions = { method 'get', headers myheaders, redirect 'follow' }; fetch("https //api integrationmarketplace io/v1/{orgdomain}/solutions/{solutionid}", requestoptions) then(response => response text()) then(result => console log(result)) catch(error => console log('error', error));require "uri" require "json" require "net/http" url = uri("https //api integrationmarketplace io/v1/{orgdomain}/solutions/{solutionid}") https = net http new(url host, url port) https use ssl = true request = net http get new(url) request\["accept"] = "application/json" request\["content type"] = "application/json" response = https request(request) puts response read body import requests import json url = "https //api integrationmarketplace io/v1/{orgdomain}/solutions/{solutionid}" payload = {} headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("get", url, headers=headers, data=payload) print(response text) responses // successful operation { "name" "acme inc core workflows", "description" "description of the solution", "status" "staged", "tags" \[ "" ], "type" \[ "" ], "deploymenttime" {}, "logo" "https //acme com/logo png", "documentation" { "name" "acme inc core workflows documentation", "type" "url", "url" "https //acme com/docs/core workflows" }, "organization" { "orgdomain" "acme", "name" "acme inc ", "description" "acme inc is a company that provides software solutions for businesses " }, "version" "1 0 0", "releasenotes" "release notes of the solution v1 0 0", "createdat" "2021 01 01t00 00 00z", "updatedat" "2021 01 01t00 00 00z", "id" "000a0000 a00a 00a0 a000 000000000000", "configs" \[ { "id" "000a0000 a00a 00a0 a000 000000000000", "name" "acme inc secret configuration", "userinput" false, "description" "description of the acme inc secret configuration", "type" "secret", "tags" \[ "\[\\"access\ edit employee\\",\\"access\ view employee\\"]" ] } ], "workflows" \[ { "id" "000a0000 a00a 00a0 a000 000000000000", "title" "new hire workflow", "version" 1, "userinput" false, "description" "description of the workflow", "workertype" "lambda", "dependencies" { "workflows" \[ "" ], "configs" \[ "" ], "attributes" \[ { "id" "000a0000 a00a 00a0 a000 000000000000", "key" "employee id", "name" "employee id", "isuserinput" false, "description" "description of the attribute", "type" "string", "options" \[ { "name" "employee id", "value" "employee id" } ] } ], "triggers" \[ { "id" "" } ], "alerts" \[ { "recipients" \[ { "type" "email", "value" "john doe\@acme com" } ], "rules" \[ { "id" "000a0000 a00a 00a0 a000 000000000000", "name" "employee id", "description" "description of the rule", "type" "system" } ] } ] } } ], "deployments" \[ { "id" "000a0000 a00a 00a0 a000 000000000000", "title" "acme inc core workflows", "bundlereleaseid" "000a0000 a00a 00a0 a000 000000000000", "workflows" \[ { "id" "000a0000 a00a 00a0 a000 000000000000", "attributes" "{\\"employee id\\" \\"123456\\",\\"employee name\\" \\"john doe\\"}" } ], "configs" \[ { "id" "" } ], "status" "draft", "createdat" "2021 01 01t00 00 00z", "updatedat" "2021 01 01t00 00 00z", "deployedat" "2021 01 01t00 00 00z", "deployedby" { "id" "000a0000 a00a 00a0 a000 000000000000", "type" "user" } } ] }// returned when the authenticated user does not have the necessary permissions to access the requested resource { "status" 400, "error" "bad request", "message" "invalid request parameters", "path" "/v1/{orgdomain}/environments", "timestamp" "2021 01 01t00 00 00z" }// returned when the requested resource could not be found this can be due to an incorrect url or a resource that has been deleted { "status" 400, "error" "bad request", "message" "invalid request parameters", "path" "/v1/{orgdomain}/environments", "timestamp" "2021 01 01t00 00 00z" }// returned when the server encounters an unexpected error that prevents it from fulfilling the request { "status" 400, "error" "bad request", "message" "invalid request parameters", "path" "/v1/{orgdomain}/environments", "timestamp" "2021 01 01t00 00 00z" }