Variables

API for getting variables from configrd

get
Get Variables

http://demo.configrd.io/configrd /v1/[{path}/]

General endpoint to get variables from configrd. Querying config profiles is done by either specifying the config profile’s path as the URL or using the p query parameter to query a named config profile.

Different repositories are queried by specifying the r query parameter. The specified config profile URL or named config profile will then apply to the indicated repository. Omitting a repository name queries the default repository if one is defined.

Path Parameters
path
Optional
string

path to config profile

Headers
Accept
Required
string

text/plain

Query Parameters
r
Optional
string

Repository name

p
Optional
boolean

Name of config profile defined for the repository

200: OK

Variables successfully fetched

    <pre><code>  varibale_name=value
  ...
</code></pre>

  

404: Not Found

Query returned no results. Could be result of no variable values being defined at the requested config profile or the repository may not exist.

    
  

Tags: