cloudfoundry/cloud_controller_ng

View on GitHub
docs/v2/feature_flags/get_the_space_developer_environment_variable_visibility_feature_flag_(experimental).html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html>
<head>
  <title>Feature Flags API</title>
  <meta charset="utf-8">
  <link id="bootstrapcss" rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" />
  <script>
    if( "file:" == document.location.protocol ) {
      var csslink = document.getElementById("bootstrapcss");
      csslink.href = "http://" + csslink.href.replace(/.*\/\//, "");
    }
  </script>
  <style>
    p {
      padding: 15px;
      font-size: 130%;
    }

    pre {
      white-space: pre;
    }

    td.required .name:after {
      float: right;
      content: " required";
      font-weight: normal;
      color: #F08080;
    }

    td.experimental:after {
      float: right;
      content: " experimental";
      font-weight: normal;
      color: #FFA500;
      padding: 2px;
    }

    tr.deprecated td:first-child:before {
      content: "deprecated: ";
      font-weight: bold;
      color: gray;
    }

    tr.deprecated span, tr.deprecated ul {
      text-decoration: line-through;
      color: gray;
    }

    tr.readonly .name:after {
      float: right;
      content: " read-only";
      font-weight: normal;
    }

    tr.readonly {
      color: grey;
    }

    table ul {
      padding-left: 1.2em;
    }
  </style>
</head>
<body>
<div class="container">
  <h1>Feature Flags API</h1>

  <div class="article">
    <h2>Get the Space Developer Environment Variable Visibility feature flag (experimental)</h2>
    <h3>GET /v2/config/feature_flags/space_developer_env_var_visibility</h3>
      <p class="explanation">
        When enabled, space developers can perform a get on the /v2/apps/:guid/env endpoint, and both space developers and space supporters can perform a get on the /v3/apps/:guid/env and /v3/apps/:guid/environment_variables endpoints.
                   When disabled, neither space developers nor space supporters can access these endpoints.
      </p>

      <h3>Request</h3>
      <h4>Route</h4>
      <pre class="request route highlight">GET /v2/config/feature_flags/space_developer_env_var_visibility</pre>





      <h4>Headers</h4>
      <pre class="request headers">Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0MyIsImVtYWlsIjoiZW1haWwtMjM4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDB9.HX-ICDymsHSR2KVIiPuSk0igf1wsG2OWq2aml4Y_tCI
Host: example.org
Cookie: </pre>

        <h4>cURL</h4>
        <pre class="request curl">curl &quot;https://api.[your-domain.com]/v2/config/feature_flags/space_developer_env_var_visibility&quot; -X GET \
    -H &quot;Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0MyIsImVtYWlsIjoiZW1haWwtMjM4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDB9.HX-ICDymsHSR2KVIiPuSk0igf1wsG2OWq2aml4Y_tCI&quot; \
    -H &quot;Host: example.org&quot; \
    -H &quot;Cookie: &quot;</pre>

        <h3>Response</h3>

        <h4>Status</h4>
        <pre class="response status">200 OK</pre>

          <h4>Body</h4>

          <pre class="response body">{
  "name": "space_developer_env_var_visibility",
  "enabled": true,
  "error_message": null,
  "url": "/v2/config/feature_flags/space_developer_env_var_visibility"
}</pre>

        <h4>Headers</h4>
        <pre class="response headers">Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: eb82c551-c189-4055-b30b-082a9b987443
Content-Length: 166
X-Content-Type-Options: nosniff</pre>

  </div>
</div>
</body>
</html>