Tavio Public API
...
Configurations
Retrieve a configuration definition by id
1 min
code examples curl location globoff 'https //api integrationmarketplace io/v1/{orgdomain}/solutions/{solutionid}/configs/{configid}/definition' \\ \ 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}/configs/{configid}/definition", 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}/configs/{configid}/definition") 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}/configs/{configid}/definition" payload = {} headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("get", url, headers=headers, data=payload) print(response text) responses // successful operation { "type" "secret", "pack" "pack name", "category" "pack name", "label" "pack name", "description" "configurations for an pack name login", "version" "configurations for an pack name login", "defaults" "{\\"field name 01\\" \\"value 01\\",\\"field name 02\\" \\"value 02\\"}", "fields" \[ { "type" "boolean", "name" "field name 01", "description" "description of the field name 01", "required" false, "exclude from bundles" false, "help" "this is a description of the field name 01", "options" \[ "" ], "show if" {} } ] }// 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" }