{ "uuid": "a5bd7e1b-c527-4d3f-be37-dee9ffa239da", "lastMigration": 29, "name": "Resource Settings API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "c00023db-fb07-4b15-9cc9-04f73e9b48bc", "documentation": "Returns a specified setting. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the setting does not exist.", "method": "get", "endpoint": "v1/:name", "responses": [ { "uuid": "1c08cb2d-f530-43a8-b424-2d2cc4492e86", "body": "{\n \"effectiveValue\": {\n \"booleanValue\": {{faker 'datatype.boolean'}},\n \"durationValue\": \"\",\n \"enumValue\": {\n \"value\": \"\"\n },\n \"stringMapValue\": {\n \"mappings\": {}\n },\n \"stringSetValue\": {\n \"values\": [\n \"\"\n ]\n },\n \"stringValue\": \"\"\n },\n \"etag\": \"\",\n \"localValue\": {\n \"booleanValue\": {{faker 'datatype.boolean'}},\n \"durationValue\": \"\",\n \"enumValue\": {\n \"value\": \"\"\n },\n \"stringMapValue\": {\n \"mappings\": {}\n },\n \"stringSetValue\": {\n \"values\": [\n \"\"\n ]\n },\n \"stringValue\": \"\"\n },\n \"metadata\": {\n \"dataType\": \"{{oneOf (array 'DATA_TYPE_UNSPECIFIED' 'BOOLEAN' 'STRING' 'STRING_SET' 'ENUM_VALUE' 'DURATION_VALUE' 'STRING_MAP')}}\",\n \"defaultValue\": {\n \"booleanValue\": {{faker 'datatype.boolean'}},\n \"durationValue\": \"\",\n \"enumValue\": {\n \"value\": \"\"\n },\n \"stringMapValue\": {\n \"mappings\": {}\n },\n \"stringSetValue\": {\n \"values\": [\n \"\"\n ]\n },\n \"stringValue\": \"\"\n },\n \"description\": \"\",\n \"displayName\": \"\",\n \"readOnly\": {{faker 'datatype.boolean'}}\n },\n \"name\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b299c9b0-cb92-45bc-81c1-580386a5833a", "documentation": "Updates a specified setting. Returns a `google.rpc.Status` with `google.rpc.Code.NOT_FOUND` if the setting does not exist. Returns a `google.rpc.Status` with `google.rpc.Code.FAILED_PRECONDITION` if the setting is flagged as read only. Returns a `google.rpc.Status` with `google.rpc.Code.ABORTED` if the etag supplied in the request does not match the persisted etag of the setting value. On success, the response will contain only `name`, `local_value` and `etag`. The `metadata` and `effective_value` cannot be updated through this API. Note: the supplied setting will perform a full overwrite of the `local_value` field.", "method": "patch", "endpoint": "v1/:name", "responses": [ { "uuid": "6a0cdafd-c760-40f8-87e0-5bf3023edc9d", "body": "{\n \"effectiveValue\": {\n \"booleanValue\": {{faker 'datatype.boolean'}},\n \"durationValue\": \"\",\n \"enumValue\": {\n \"value\": \"\"\n },\n \"stringMapValue\": {\n \"mappings\": {}\n },\n \"stringSetValue\": {\n \"values\": [\n \"\"\n ]\n },\n \"stringValue\": \"\"\n },\n \"etag\": \"\",\n \"localValue\": {\n \"booleanValue\": {{faker 'datatype.boolean'}},\n \"durationValue\": \"\",\n \"enumValue\": {\n \"value\": \"\"\n },\n \"stringMapValue\": {\n \"mappings\": {}\n },\n \"stringSetValue\": {\n \"values\": [\n \"\"\n ]\n },\n \"stringValue\": \"\"\n },\n \"metadata\": {\n \"dataType\": \"{{oneOf (array 'DATA_TYPE_UNSPECIFIED' 'BOOLEAN' 'STRING' 'STRING_SET' 'ENUM_VALUE' 'DURATION_VALUE' 'STRING_MAP')}}\",\n \"defaultValue\": {\n \"booleanValue\": {{faker 'datatype.boolean'}},\n \"durationValue\": \"\",\n \"enumValue\": {\n \"value\": \"\"\n },\n \"stringMapValue\": {\n \"mappings\": {}\n },\n \"stringSetValue\": {\n \"values\": [\n \"\"\n ]\n },\n \"stringValue\": \"\"\n },\n \"description\": \"\",\n \"displayName\": \"\",\n \"readOnly\": {{faker 'datatype.boolean'}}\n },\n \"name\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ba6ee511-1c4b-4558-b841-70e67d8ed36b", "documentation": "Lists all the settings that are available on the Cloud resource `parent`.", "method": "get", "endpoint": "v1/:parent/settings", "responses": [ { "uuid": "75a0d47f-9a37-4a88-9f86-598b66bf3ae1", "body": "{\n \"nextPageToken\": \"\",\n \"settings\": [\n {\n \"effectiveValue\": {\n \"booleanValue\": {{faker 'datatype.boolean'}},\n \"durationValue\": \"\",\n \"enumValue\": {\n \"value\": \"\"\n },\n \"stringMapValue\": {\n \"mappings\": {}\n },\n \"stringSetValue\": {\n \"values\": [\n \"\"\n ]\n },\n \"stringValue\": \"\"\n },\n \"etag\": \"\",\n \"localValue\": {\n \"booleanValue\": {{faker 'datatype.boolean'}},\n \"durationValue\": \"\",\n \"enumValue\": {\n \"value\": \"\"\n },\n \"stringMapValue\": {\n \"mappings\": {}\n },\n \"stringSetValue\": {\n \"values\": [\n \"\"\n ]\n },\n \"stringValue\": \"\"\n },\n \"metadata\": {\n \"dataType\": \"{{oneOf (array 'DATA_TYPE_UNSPECIFIED' 'BOOLEAN' 'STRING' 'STRING_SET' 'ENUM_VALUE' 'DURATION_VALUE' 'STRING_MAP')}}\",\n \"defaultValue\": {\n \"booleanValue\": {{faker 'datatype.boolean'}},\n \"durationValue\": \"\",\n \"enumValue\": {\n \"value\": \"\"\n },\n \"stringMapValue\": {\n \"mappings\": {}\n },\n \"stringSetValue\": {\n \"values\": [\n \"\"\n ]\n },\n \"stringValue\": \"\"\n },\n \"description\": \"\",\n \"displayName\": \"\",\n \"readOnly\": {{faker 'datatype.boolean'}}\n },\n \"name\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "c00023db-fb07-4b15-9cc9-04f73e9b48bc" }, { "type": "route", "uuid": "b299c9b0-cb92-45bc-81c1-580386a5833a" }, { "type": "route", "uuid": "ba6ee511-1c4b-4558-b841-70e67d8ed36b" } ] }