{ "uuid": "4c8ada39-f917-4722-9cac-5f47db9d4407", "lastMigration": 29, "name": "Drive Labels API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "6c8fc7c1-cb2a-4665-b387-25948ccf3b08", "documentation": "List labels.", "method": "get", "endpoint": "v2beta/labels", "responses": [ { "uuid": "6683bdf7-1459-4722-b41f-c23c25a9f942", "body": "{\n \"labels\": [\n {\n \"appliedCapabilities\": {\n \"canApply\": {{faker 'datatype.boolean'}},\n \"canRead\": {{faker 'datatype.boolean'}},\n \"canRemove\": {{faker 'datatype.boolean'}}\n },\n \"appliedLabelPolicy\": {\n \"copyMode\": \"{{oneOf (array 'COPY_MODE_UNSPECIFIED' 'DO_NOT_COPY' 'ALWAYS_COPY' 'COPY_APPLIABLE')}}\"\n },\n \"createTime\": \"\",\n \"creator\": {\n \"person\": \"\"\n },\n \"disableTime\": \"\",\n \"disabler\": {\n \"person\": \"\"\n },\n \"displayHints\": {\n \"disabled\": {{faker 'datatype.boolean'}},\n \"hiddenInSearch\": {{faker 'datatype.boolean'}},\n \"priority\": \"\",\n \"shownInApply\": {{faker 'datatype.boolean'}}\n },\n \"fields\": [\n {\n \"appliedCapabilities\": {\n \"canRead\": {{faker 'datatype.boolean'}},\n \"canSearch\": {{faker 'datatype.boolean'}},\n \"canWrite\": {{faker 'datatype.boolean'}}\n },\n \"createTime\": \"\",\n \"creator\": {\n \"person\": \"\"\n },\n \"dateOptions\": {\n \"dateFormat\": \"\",\n \"dateFormatType\": \"{{oneOf (array 'DATE_FORMAT_UNSPECIFIED' 'LONG_DATE' 'SHORT_DATE')}}\",\n \"maxValue\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n },\n \"minValue\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n }\n },\n \"disableTime\": \"\",\n \"disabler\": {\n \"person\": \"\"\n },\n \"displayHints\": {\n \"disabled\": {{faker 'datatype.boolean'}},\n \"hiddenInSearch\": {{faker 'datatype.boolean'}},\n \"required\": {{faker 'datatype.boolean'}},\n \"shownInApply\": {{faker 'datatype.boolean'}}\n },\n \"id\": \"\",\n \"integerOptions\": {\n \"maxValue\": \"\",\n \"minValue\": \"\"\n },\n \"lifecycle\": {\n \"disabledPolicy\": {\n \"hideInSearch\": {{faker 'datatype.boolean'}},\n \"showInApply\": {{faker 'datatype.boolean'}}\n },\n \"hasUnpublishedChanges\": {{faker 'datatype.boolean'}},\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'UNPUBLISHED_DRAFT' 'PUBLISHED' 'DISABLED' 'DELETED')}}\"\n },\n \"lockStatus\": {\n \"locked\": {{faker 'datatype.boolean'}}\n },\n \"properties\": {\n \"displayName\": \"\",\n \"insertBeforeField\": \"\",\n \"required\": {{faker 'datatype.boolean'}}\n },\n \"publisher\": {\n \"person\": \"\"\n },\n \"queryKey\": \"\",\n \"schemaCapabilities\": {\n \"canDelete\": {{faker 'datatype.boolean'}},\n \"canDisable\": {{faker 'datatype.boolean'}},\n \"canEnable\": {{faker 'datatype.boolean'}},\n \"canUpdate\": {{faker 'datatype.boolean'}}\n },\n \"selectionOptions\": {\n \"choices\": [\n {\n \"appliedCapabilities\": {\n \"canRead\": {{faker 'datatype.boolean'}},\n \"canSearch\": {{faker 'datatype.boolean'}},\n \"canSelect\": {{faker 'datatype.boolean'}}\n },\n \"createTime\": \"\",\n \"creator\": {\n \"person\": \"\"\n },\n \"disableTime\": \"\",\n \"disabler\": {\n \"person\": \"\"\n },\n \"displayHints\": {\n \"badgeColors\": {\n \"backgroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"foregroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"soloColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n }\n },\n \"badgePriority\": \"\",\n \"darkBadgeColors\": {\n \"backgroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"foregroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"soloColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n }\n },\n \"disabled\": {{faker 'datatype.boolean'}},\n \"hiddenInSearch\": {{faker 'datatype.boolean'}},\n \"shownInApply\": {{faker 'datatype.boolean'}}\n },\n \"id\": \"\",\n \"lifecycle\": {\n \"disabledPolicy\": {\n \"hideInSearch\": {{faker 'datatype.boolean'}},\n \"showInApply\": {{faker 'datatype.boolean'}}\n },\n \"hasUnpublishedChanges\": {{faker 'datatype.boolean'}},\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'UNPUBLISHED_DRAFT' 'PUBLISHED' 'DISABLED' 'DELETED')}}\"\n },\n \"lockStatus\": {\n \"locked\": {{faker 'datatype.boolean'}}\n },\n \"properties\": {\n \"badgeConfig\": {\n \"color\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"priorityOverride\": \"\"\n },\n \"description\": \"\",\n \"displayName\": \"\",\n \"insertBeforeChoice\": \"\"\n },\n \"publishTime\": \"\",\n \"publisher\": {\n \"person\": \"\"\n },\n \"schemaCapabilities\": {\n \"canDelete\": {{faker 'datatype.boolean'}},\n \"canDisable\": {{faker 'datatype.boolean'}},\n \"canEnable\": {{faker 'datatype.boolean'}},\n \"canUpdate\": {{faker 'datatype.boolean'}}\n },\n \"updateTime\": \"\",\n \"updater\": {\n \"person\": \"\"\n }\n }\n ],\n \"listOptions\": {\n \"maxEntries\": {{faker 'number.int' max=99999}}\n }\n },\n \"textOptions\": {\n \"maxLength\": {{faker 'number.int' max=99999}},\n \"minLength\": {{faker 'number.int' max=99999}}\n },\n \"updateTime\": \"\",\n \"updater\": {\n \"person\": \"\"\n },\n \"userOptions\": {\n \"listOptions\": {\n \"maxEntries\": {{faker 'number.int' max=99999}}\n }\n }\n }\n ],\n \"id\": \"\",\n \"labelType\": \"{{oneOf (array 'LABEL_TYPE_UNSPECIFIED' 'SHARED' 'ADMIN')}}\",\n \"learnMoreUri\": \"\",\n \"lifecycle\": {\n \"disabledPolicy\": {\n \"hideInSearch\": {{faker 'datatype.boolean'}},\n \"showInApply\": {{faker 'datatype.boolean'}}\n },\n \"hasUnpublishedChanges\": {{faker 'datatype.boolean'}},\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'UNPUBLISHED_DRAFT' 'PUBLISHED' 'DISABLED' 'DELETED')}}\"\n },\n \"lockStatus\": {\n \"locked\": {{faker 'datatype.boolean'}}\n },\n \"name\": \"\",\n \"properties\": {\n \"description\": \"\",\n \"title\": \"\"\n },\n \"publishTime\": \"\",\n \"publisher\": {\n \"person\": \"\"\n },\n \"revisionCreateTime\": \"\",\n \"revisionCreator\": {\n \"person\": \"\"\n },\n \"revisionId\": \"\",\n \"schemaCapabilities\": {\n \"canDelete\": {{faker 'datatype.boolean'}},\n \"canDisable\": {{faker 'datatype.boolean'}},\n \"canEnable\": {{faker 'datatype.boolean'}},\n \"canUpdate\": {{faker 'datatype.boolean'}}\n }\n }\n ],\n \"nextPageToken\": \"\"\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": "eaac58d8-8803-44de-a6b8-772d49013f37", "documentation": "Creates a new Label.", "method": "post", "endpoint": "v2beta/labels", "responses": [ { "uuid": "3d6479b8-18e0-422c-97cd-756cbf89cf3c", "body": "{\n \"appliedCapabilities\": {\n \"canApply\": {{faker 'datatype.boolean'}},\n \"canRead\": {{faker 'datatype.boolean'}},\n \"canRemove\": {{faker 'datatype.boolean'}}\n },\n \"appliedLabelPolicy\": {\n \"copyMode\": \"{{oneOf (array 'COPY_MODE_UNSPECIFIED' 'DO_NOT_COPY' 'ALWAYS_COPY' 'COPY_APPLIABLE')}}\"\n },\n \"createTime\": \"\",\n \"creator\": {\n \"person\": \"\"\n },\n \"disableTime\": \"\",\n \"disabler\": {\n \"person\": \"\"\n },\n \"displayHints\": {\n \"disabled\": {{faker 'datatype.boolean'}},\n \"hiddenInSearch\": {{faker 'datatype.boolean'}},\n \"priority\": \"\",\n \"shownInApply\": {{faker 'datatype.boolean'}}\n },\n \"fields\": [\n {\n \"appliedCapabilities\": {\n \"canRead\": {{faker 'datatype.boolean'}},\n \"canSearch\": {{faker 'datatype.boolean'}},\n \"canWrite\": {{faker 'datatype.boolean'}}\n },\n \"createTime\": \"\",\n \"creator\": {\n \"person\": \"\"\n },\n \"dateOptions\": {\n \"dateFormat\": \"\",\n \"dateFormatType\": \"{{oneOf (array 'DATE_FORMAT_UNSPECIFIED' 'LONG_DATE' 'SHORT_DATE')}}\",\n \"maxValue\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n },\n \"minValue\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n }\n },\n \"disableTime\": \"\",\n \"disabler\": {\n \"person\": \"\"\n },\n \"displayHints\": {\n \"disabled\": {{faker 'datatype.boolean'}},\n \"hiddenInSearch\": {{faker 'datatype.boolean'}},\n \"required\": {{faker 'datatype.boolean'}},\n \"shownInApply\": {{faker 'datatype.boolean'}}\n },\n \"id\": \"\",\n \"integerOptions\": {\n \"maxValue\": \"\",\n \"minValue\": \"\"\n },\n \"lifecycle\": {\n \"disabledPolicy\": {\n \"hideInSearch\": {{faker 'datatype.boolean'}},\n \"showInApply\": {{faker 'datatype.boolean'}}\n },\n \"hasUnpublishedChanges\": {{faker 'datatype.boolean'}},\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'UNPUBLISHED_DRAFT' 'PUBLISHED' 'DISABLED' 'DELETED')}}\"\n },\n \"lockStatus\": {\n \"locked\": {{faker 'datatype.boolean'}}\n },\n \"properties\": {\n \"displayName\": \"\",\n \"insertBeforeField\": \"\",\n \"required\": {{faker 'datatype.boolean'}}\n },\n \"publisher\": {\n \"person\": \"\"\n },\n \"queryKey\": \"\",\n \"schemaCapabilities\": {\n \"canDelete\": {{faker 'datatype.boolean'}},\n \"canDisable\": {{faker 'datatype.boolean'}},\n \"canEnable\": {{faker 'datatype.boolean'}},\n \"canUpdate\": {{faker 'datatype.boolean'}}\n },\n \"selectionOptions\": {\n \"choices\": [\n {\n \"appliedCapabilities\": {\n \"canRead\": {{faker 'datatype.boolean'}},\n \"canSearch\": {{faker 'datatype.boolean'}},\n \"canSelect\": {{faker 'datatype.boolean'}}\n },\n \"createTime\": \"\",\n \"creator\": {\n \"person\": \"\"\n },\n \"disableTime\": \"\",\n \"disabler\": {\n \"person\": \"\"\n },\n \"displayHints\": {\n \"badgeColors\": {\n \"backgroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"foregroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"soloColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n }\n },\n \"badgePriority\": \"\",\n \"darkBadgeColors\": {\n \"backgroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"foregroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"soloColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n }\n },\n \"disabled\": {{faker 'datatype.boolean'}},\n \"hiddenInSearch\": {{faker 'datatype.boolean'}},\n \"shownInApply\": {{faker 'datatype.boolean'}}\n },\n \"id\": \"\",\n \"lifecycle\": {\n \"disabledPolicy\": {\n \"hideInSearch\": {{faker 'datatype.boolean'}},\n \"showInApply\": {{faker 'datatype.boolean'}}\n },\n \"hasUnpublishedChanges\": {{faker 'datatype.boolean'}},\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'UNPUBLISHED_DRAFT' 'PUBLISHED' 'DISABLED' 'DELETED')}}\"\n },\n \"lockStatus\": {\n \"locked\": {{faker 'datatype.boolean'}}\n },\n \"properties\": {\n \"badgeConfig\": {\n \"color\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"priorityOverride\": \"\"\n },\n \"description\": \"\",\n \"displayName\": \"\",\n \"insertBeforeChoice\": \"\"\n },\n \"publishTime\": \"\",\n \"publisher\": {\n \"person\": \"\"\n },\n \"schemaCapabilities\": {\n \"canDelete\": {{faker 'datatype.boolean'}},\n \"canDisable\": {{faker 'datatype.boolean'}},\n \"canEnable\": {{faker 'datatype.boolean'}},\n \"canUpdate\": {{faker 'datatype.boolean'}}\n },\n \"updateTime\": \"\",\n \"updater\": {\n \"person\": \"\"\n }\n }\n ],\n \"listOptions\": {\n \"maxEntries\": {{faker 'number.int' max=99999}}\n }\n },\n \"textOptions\": {\n \"maxLength\": {{faker 'number.int' max=99999}},\n \"minLength\": {{faker 'number.int' max=99999}}\n },\n \"updateTime\": \"\",\n \"updater\": {\n \"person\": \"\"\n },\n \"userOptions\": {\n \"listOptions\": {\n \"maxEntries\": {{faker 'number.int' max=99999}}\n }\n }\n }\n ],\n \"id\": \"\",\n \"labelType\": \"{{oneOf (array 'LABEL_TYPE_UNSPECIFIED' 'SHARED' 'ADMIN')}}\",\n \"learnMoreUri\": \"\",\n \"lifecycle\": {\n \"disabledPolicy\": {\n \"hideInSearch\": {{faker 'datatype.boolean'}},\n \"showInApply\": {{faker 'datatype.boolean'}}\n },\n \"hasUnpublishedChanges\": {{faker 'datatype.boolean'}},\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'UNPUBLISHED_DRAFT' 'PUBLISHED' 'DISABLED' 'DELETED')}}\"\n },\n \"lockStatus\": {\n \"locked\": {{faker 'datatype.boolean'}}\n },\n \"name\": \"\",\n \"properties\": {\n \"description\": \"\",\n \"title\": \"\"\n },\n \"publishTime\": \"\",\n \"publisher\": {\n \"person\": \"\"\n },\n \"revisionCreateTime\": \"\",\n \"revisionCreator\": {\n \"person\": \"\"\n },\n \"revisionId\": \"\",\n \"schemaCapabilities\": {\n \"canDelete\": {{faker 'datatype.boolean'}},\n \"canDisable\": {{faker 'datatype.boolean'}},\n \"canEnable\": {{faker 'datatype.boolean'}},\n \"canUpdate\": {{faker 'datatype.boolean'}}\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" }, { "uuid": "5f26b637-ab31-4339-ae41-0dd54fbbf768", "documentation": "Deletes Label permissions. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.", "method": "post", "endpoint": "v2beta/labels/:labelsId/permissions:batchDelete", "responses": [ { "uuid": "f4ae55d8-b49d-4579-81b8-94928faf868a", "body": "{}", "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": "41054db4-7863-4265-bd16-e16bda51110d", "documentation": "Deletes Label permissions. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.", "method": "post", "endpoint": "v2beta/labels/:labelsId/revisions/:revisionsId/permissions:batchDelete", "responses": [ { "uuid": "f6d079c0-e1d9-4d19-9f74-60af38f99ec4", "body": "{}", "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": "4c416ae0-a6e4-4956-8638-728d20df3756", "documentation": "Get the constraints on the structure of a Label; such as, the maximum number of Fields allowed and maximum length of the label title.", "method": "get", "endpoint": "v2beta/limits/label", "responses": [ { "uuid": "74877ae1-be51-44ef-bf41-e94d6dcc5e0f", "body": "{\n \"fieldLimits\": {\n \"dateLimits\": {\n \"maxValue\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n },\n \"minValue\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n }\n },\n \"integerLimits\": {\n \"maxValue\": \"\",\n \"minValue\": \"\"\n },\n \"longTextLimits\": {\n \"maxLength\": {{faker 'number.int' max=99999}},\n \"minLength\": {{faker 'number.int' max=99999}}\n },\n \"maxDescriptionLength\": {{faker 'number.int' max=99999}},\n \"maxDisplayNameLength\": {{faker 'number.int' max=99999}},\n \"maxIdLength\": {{faker 'number.int' max=99999}},\n \"selectionLimits\": {\n \"listLimits\": {\n \"maxEntries\": {{faker 'number.int' max=99999}}\n },\n \"maxChoices\": {{faker 'number.int' max=99999}},\n \"maxDeletedChoices\": {{faker 'number.int' max=99999}},\n \"maxDisplayNameLength\": {{faker 'number.int' max=99999}},\n \"maxIdLength\": {{faker 'number.int' max=99999}}\n },\n \"textLimits\": {\n \"maxLength\": {{faker 'number.int' max=99999}},\n \"minLength\": {{faker 'number.int' max=99999}}\n },\n \"userLimits\": {\n \"listLimits\": {\n \"maxEntries\": {{faker 'number.int' max=99999}}\n }\n }\n },\n \"maxDeletedFields\": {{faker 'number.int' max=99999}},\n \"maxDescriptionLength\": {{faker 'number.int' max=99999}},\n \"maxDraftRevisions\": {{faker 'number.int' max=99999}},\n \"maxFields\": {{faker 'number.int' max=99999}},\n \"maxTitleLength\": {{faker 'number.int' max=99999}},\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": "b300571f-587c-41ff-afef-912aca443c07", "documentation": "Deletes a Label's permission. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.", "method": "delete", "endpoint": "v2beta/:name", "responses": [ { "uuid": "7bca1fd0-4e7e-4515-86b4-868eb415e072", "body": "{}", "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": "b124169f-32f9-4329-9cf5-8ff0adfedd62", "documentation": "Gets the user capabilities.", "method": "get", "endpoint": "v2beta/:name", "responses": [ { "uuid": "ec9a9cfd-f3e2-4345-897e-cbac6a77a745", "body": "{\n \"canAccessLabelManager\": {{faker 'datatype.boolean'}},\n \"canAdministrateLabels\": {{faker 'datatype.boolean'}},\n \"canCreateAdminLabels\": {{faker 'datatype.boolean'}},\n \"canCreateSharedLabels\": {{faker 'datatype.boolean'}},\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": "ec6e1017-f9e1-4f09-8f52-54d570cf5609", "documentation": "Updates a single Label by applying a set of update requests resulting in a new draft revision. The batch update is all-or-nothing: If any of the update requests are invalid, no changes are applied. The resulting draft revision must be published before the changes may be used with Drive Items.", "method": "post", "endpoint": "v2beta/:name:delta", "responses": [ { "uuid": "c192a0d7-66d6-4ba4-b885-e94c30da3c23", "body": "{\n \"responses\": [\n {\n \"createField\": {\n \"id\": \"\",\n \"priority\": {{faker 'number.int' max=99999}}\n },\n \"createSelectionChoice\": {\n \"fieldId\": \"\",\n \"id\": \"\"\n },\n \"deleteField\": {},\n \"deleteSelectionChoice\": {},\n \"disableField\": {},\n \"disableSelectionChoice\": {},\n \"enableField\": {},\n \"enableSelectionChoice\": {},\n \"updateField\": {\n \"priority\": {{faker 'number.int' max=99999}}\n },\n \"updateFieldType\": {},\n \"updateLabel\": {},\n \"updateSelectionChoiceProperties\": {\n \"priority\": {{faker 'number.int' max=99999}}\n }\n }\n ],\n \"updatedLabel\": {\n \"appliedCapabilities\": {\n \"canApply\": {{faker 'datatype.boolean'}},\n \"canRead\": {{faker 'datatype.boolean'}},\n \"canRemove\": {{faker 'datatype.boolean'}}\n },\n \"appliedLabelPolicy\": {\n \"copyMode\": \"{{oneOf (array 'COPY_MODE_UNSPECIFIED' 'DO_NOT_COPY' 'ALWAYS_COPY' 'COPY_APPLIABLE')}}\"\n },\n \"createTime\": \"\",\n \"creator\": {\n \"person\": \"\"\n },\n \"disableTime\": \"\",\n \"disabler\": {\n \"person\": \"\"\n },\n \"displayHints\": {\n \"disabled\": {{faker 'datatype.boolean'}},\n \"hiddenInSearch\": {{faker 'datatype.boolean'}},\n \"priority\": \"\",\n \"shownInApply\": {{faker 'datatype.boolean'}}\n },\n \"fields\": [\n {\n \"appliedCapabilities\": {\n \"canRead\": {{faker 'datatype.boolean'}},\n \"canSearch\": {{faker 'datatype.boolean'}},\n \"canWrite\": {{faker 'datatype.boolean'}}\n },\n \"createTime\": \"\",\n \"creator\": {\n \"person\": \"\"\n },\n \"dateOptions\": {\n \"dateFormat\": \"\",\n \"dateFormatType\": \"{{oneOf (array 'DATE_FORMAT_UNSPECIFIED' 'LONG_DATE' 'SHORT_DATE')}}\",\n \"maxValue\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n },\n \"minValue\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n }\n },\n \"disableTime\": \"\",\n \"disabler\": {\n \"person\": \"\"\n },\n \"displayHints\": {\n \"disabled\": {{faker 'datatype.boolean'}},\n \"hiddenInSearch\": {{faker 'datatype.boolean'}},\n \"required\": {{faker 'datatype.boolean'}},\n \"shownInApply\": {{faker 'datatype.boolean'}}\n },\n \"id\": \"\",\n \"integerOptions\": {\n \"maxValue\": \"\",\n \"minValue\": \"\"\n },\n \"lifecycle\": {\n \"disabledPolicy\": {\n \"hideInSearch\": {{faker 'datatype.boolean'}},\n \"showInApply\": {{faker 'datatype.boolean'}}\n },\n \"hasUnpublishedChanges\": {{faker 'datatype.boolean'}},\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'UNPUBLISHED_DRAFT' 'PUBLISHED' 'DISABLED' 'DELETED')}}\"\n },\n \"lockStatus\": {\n \"locked\": {{faker 'datatype.boolean'}}\n },\n \"properties\": {\n \"displayName\": \"\",\n \"insertBeforeField\": \"\",\n \"required\": {{faker 'datatype.boolean'}}\n },\n \"publisher\": {\n \"person\": \"\"\n },\n \"queryKey\": \"\",\n \"schemaCapabilities\": {\n \"canDelete\": {{faker 'datatype.boolean'}},\n \"canDisable\": {{faker 'datatype.boolean'}},\n \"canEnable\": {{faker 'datatype.boolean'}},\n \"canUpdate\": {{faker 'datatype.boolean'}}\n },\n \"selectionOptions\": {\n \"choices\": [\n {\n \"appliedCapabilities\": {\n \"canRead\": {{faker 'datatype.boolean'}},\n \"canSearch\": {{faker 'datatype.boolean'}},\n \"canSelect\": {{faker 'datatype.boolean'}}\n },\n \"createTime\": \"\",\n \"creator\": {\n \"person\": \"\"\n },\n \"disableTime\": \"\",\n \"disabler\": {\n \"person\": \"\"\n },\n \"displayHints\": {\n \"badgeColors\": {\n \"backgroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"foregroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"soloColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n }\n },\n \"badgePriority\": \"\",\n \"darkBadgeColors\": {\n \"backgroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"foregroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"soloColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n }\n },\n \"disabled\": {{faker 'datatype.boolean'}},\n \"hiddenInSearch\": {{faker 'datatype.boolean'}},\n \"shownInApply\": {{faker 'datatype.boolean'}}\n },\n \"id\": \"\",\n \"lifecycle\": {\n \"disabledPolicy\": {\n \"hideInSearch\": {{faker 'datatype.boolean'}},\n \"showInApply\": {{faker 'datatype.boolean'}}\n },\n \"hasUnpublishedChanges\": {{faker 'datatype.boolean'}},\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'UNPUBLISHED_DRAFT' 'PUBLISHED' 'DISABLED' 'DELETED')}}\"\n },\n \"lockStatus\": {\n \"locked\": {{faker 'datatype.boolean'}}\n },\n \"properties\": {\n \"badgeConfig\": {\n \"color\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"priorityOverride\": \"\"\n },\n \"description\": \"\",\n \"displayName\": \"\",\n \"insertBeforeChoice\": \"\"\n },\n \"publishTime\": \"\",\n \"publisher\": {\n \"person\": \"\"\n },\n \"schemaCapabilities\": {\n \"canDelete\": {{faker 'datatype.boolean'}},\n \"canDisable\": {{faker 'datatype.boolean'}},\n \"canEnable\": {{faker 'datatype.boolean'}},\n \"canUpdate\": {{faker 'datatype.boolean'}}\n },\n \"updateTime\": \"\",\n \"updater\": {\n \"person\": \"\"\n }\n }\n ],\n \"listOptions\": {\n \"maxEntries\": {{faker 'number.int' max=99999}}\n }\n },\n \"textOptions\": {\n \"maxLength\": {{faker 'number.int' max=99999}},\n \"minLength\": {{faker 'number.int' max=99999}}\n },\n \"updateTime\": \"\",\n \"updater\": {\n \"person\": \"\"\n },\n \"userOptions\": {\n \"listOptions\": {\n \"maxEntries\": {{faker 'number.int' max=99999}}\n }\n }\n }\n ],\n \"id\": \"\",\n \"labelType\": \"{{oneOf (array 'LABEL_TYPE_UNSPECIFIED' 'SHARED' 'ADMIN')}}\",\n \"learnMoreUri\": \"\",\n \"lifecycle\": {\n \"disabledPolicy\": {\n \"hideInSearch\": {{faker 'datatype.boolean'}},\n \"showInApply\": {{faker 'datatype.boolean'}}\n },\n \"hasUnpublishedChanges\": {{faker 'datatype.boolean'}},\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'UNPUBLISHED_DRAFT' 'PUBLISHED' 'DISABLED' 'DELETED')}}\"\n },\n \"lockStatus\": {\n \"locked\": {{faker 'datatype.boolean'}}\n },\n \"name\": \"\",\n \"properties\": {\n \"description\": \"\",\n \"title\": \"\"\n },\n \"publishTime\": \"\",\n \"publisher\": {\n \"person\": \"\"\n },\n \"revisionCreateTime\": \"\",\n \"revisionCreator\": {\n \"person\": \"\"\n },\n \"revisionId\": \"\",\n \"schemaCapabilities\": {\n \"canDelete\": {{faker 'datatype.boolean'}},\n \"canDisable\": {{faker 'datatype.boolean'}},\n \"canEnable\": {{faker 'datatype.boolean'}},\n \"canUpdate\": {{faker 'datatype.boolean'}}\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" }, { "uuid": "96799499-0926-4a9d-b47e-ec665650d12c", "documentation": "Disable a published Label. Disabling a Label will result in a new disabled published revision based on the current published revision. If there is a draft revision, a new disabled draft revision will be created based on the latest draft revision. Older draft revisions will be deleted. Once disabled, a label may be deleted with `DeleteLabel`.", "method": "post", "endpoint": "v2beta/:name:disable", "responses": [ { "uuid": "14ac6c9f-52fa-4bb9-8802-54ac1bd45674", "body": "{\n \"appliedCapabilities\": {\n \"canApply\": {{faker 'datatype.boolean'}},\n \"canRead\": {{faker 'datatype.boolean'}},\n \"canRemove\": {{faker 'datatype.boolean'}}\n },\n \"appliedLabelPolicy\": {\n \"copyMode\": \"{{oneOf (array 'COPY_MODE_UNSPECIFIED' 'DO_NOT_COPY' 'ALWAYS_COPY' 'COPY_APPLIABLE')}}\"\n },\n \"createTime\": \"\",\n \"creator\": {\n \"person\": \"\"\n },\n \"disableTime\": \"\",\n \"disabler\": {\n \"person\": \"\"\n },\n \"displayHints\": {\n \"disabled\": {{faker 'datatype.boolean'}},\n \"hiddenInSearch\": {{faker 'datatype.boolean'}},\n \"priority\": \"\",\n \"shownInApply\": {{faker 'datatype.boolean'}}\n },\n \"fields\": [\n {\n \"appliedCapabilities\": {\n \"canRead\": {{faker 'datatype.boolean'}},\n \"canSearch\": {{faker 'datatype.boolean'}},\n \"canWrite\": {{faker 'datatype.boolean'}}\n },\n \"createTime\": \"\",\n \"creator\": {\n \"person\": \"\"\n },\n \"dateOptions\": {\n \"dateFormat\": \"\",\n \"dateFormatType\": \"{{oneOf (array 'DATE_FORMAT_UNSPECIFIED' 'LONG_DATE' 'SHORT_DATE')}}\",\n \"maxValue\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n },\n \"minValue\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n }\n },\n \"disableTime\": \"\",\n \"disabler\": {\n \"person\": \"\"\n },\n \"displayHints\": {\n \"disabled\": {{faker 'datatype.boolean'}},\n \"hiddenInSearch\": {{faker 'datatype.boolean'}},\n \"required\": {{faker 'datatype.boolean'}},\n \"shownInApply\": {{faker 'datatype.boolean'}}\n },\n \"id\": \"\",\n \"integerOptions\": {\n \"maxValue\": \"\",\n \"minValue\": \"\"\n },\n \"lifecycle\": {\n \"disabledPolicy\": {\n \"hideInSearch\": {{faker 'datatype.boolean'}},\n \"showInApply\": {{faker 'datatype.boolean'}}\n },\n \"hasUnpublishedChanges\": {{faker 'datatype.boolean'}},\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'UNPUBLISHED_DRAFT' 'PUBLISHED' 'DISABLED' 'DELETED')}}\"\n },\n \"lockStatus\": {\n \"locked\": {{faker 'datatype.boolean'}}\n },\n \"properties\": {\n \"displayName\": \"\",\n \"insertBeforeField\": \"\",\n \"required\": {{faker 'datatype.boolean'}}\n },\n \"publisher\": {\n \"person\": \"\"\n },\n \"queryKey\": \"\",\n \"schemaCapabilities\": {\n \"canDelete\": {{faker 'datatype.boolean'}},\n \"canDisable\": {{faker 'datatype.boolean'}},\n \"canEnable\": {{faker 'datatype.boolean'}},\n \"canUpdate\": {{faker 'datatype.boolean'}}\n },\n \"selectionOptions\": {\n \"choices\": [\n {\n \"appliedCapabilities\": {\n \"canRead\": {{faker 'datatype.boolean'}},\n \"canSearch\": {{faker 'datatype.boolean'}},\n \"canSelect\": {{faker 'datatype.boolean'}}\n },\n \"createTime\": \"\",\n \"creator\": {\n \"person\": \"\"\n },\n \"disableTime\": \"\",\n \"disabler\": {\n \"person\": \"\"\n },\n \"displayHints\": {\n \"badgeColors\": {\n \"backgroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"foregroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"soloColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n }\n },\n \"badgePriority\": \"\",\n \"darkBadgeColors\": {\n \"backgroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"foregroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"soloColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n }\n },\n \"disabled\": {{faker 'datatype.boolean'}},\n \"hiddenInSearch\": {{faker 'datatype.boolean'}},\n \"shownInApply\": {{faker 'datatype.boolean'}}\n },\n \"id\": \"\",\n \"lifecycle\": {\n \"disabledPolicy\": {\n \"hideInSearch\": {{faker 'datatype.boolean'}},\n \"showInApply\": {{faker 'datatype.boolean'}}\n },\n \"hasUnpublishedChanges\": {{faker 'datatype.boolean'}},\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'UNPUBLISHED_DRAFT' 'PUBLISHED' 'DISABLED' 'DELETED')}}\"\n },\n \"lockStatus\": {\n \"locked\": {{faker 'datatype.boolean'}}\n },\n \"properties\": {\n \"badgeConfig\": {\n \"color\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"priorityOverride\": \"\"\n },\n \"description\": \"\",\n \"displayName\": \"\",\n \"insertBeforeChoice\": \"\"\n },\n \"publishTime\": \"\",\n \"publisher\": {\n \"person\": \"\"\n },\n \"schemaCapabilities\": {\n \"canDelete\": {{faker 'datatype.boolean'}},\n \"canDisable\": {{faker 'datatype.boolean'}},\n \"canEnable\": {{faker 'datatype.boolean'}},\n \"canUpdate\": {{faker 'datatype.boolean'}}\n },\n \"updateTime\": \"\",\n \"updater\": {\n \"person\": \"\"\n }\n }\n ],\n \"listOptions\": {\n \"maxEntries\": {{faker 'number.int' max=99999}}\n }\n },\n \"textOptions\": {\n \"maxLength\": {{faker 'number.int' max=99999}},\n \"minLength\": {{faker 'number.int' max=99999}}\n },\n \"updateTime\": \"\",\n \"updater\": {\n \"person\": \"\"\n },\n \"userOptions\": {\n \"listOptions\": {\n \"maxEntries\": {{faker 'number.int' max=99999}}\n }\n }\n }\n ],\n \"id\": \"\",\n \"labelType\": \"{{oneOf (array 'LABEL_TYPE_UNSPECIFIED' 'SHARED' 'ADMIN')}}\",\n \"learnMoreUri\": \"\",\n \"lifecycle\": {\n \"disabledPolicy\": {\n \"hideInSearch\": {{faker 'datatype.boolean'}},\n \"showInApply\": {{faker 'datatype.boolean'}}\n },\n \"hasUnpublishedChanges\": {{faker 'datatype.boolean'}},\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'UNPUBLISHED_DRAFT' 'PUBLISHED' 'DISABLED' 'DELETED')}}\"\n },\n \"lockStatus\": {\n \"locked\": {{faker 'datatype.boolean'}}\n },\n \"name\": \"\",\n \"properties\": {\n \"description\": \"\",\n \"title\": \"\"\n },\n \"publishTime\": \"\",\n \"publisher\": {\n \"person\": \"\"\n },\n \"revisionCreateTime\": \"\",\n \"revisionCreator\": {\n \"person\": \"\"\n },\n \"revisionId\": \"\",\n \"schemaCapabilities\": {\n \"canDelete\": {{faker 'datatype.boolean'}},\n \"canDisable\": {{faker 'datatype.boolean'}},\n \"canEnable\": {{faker 'datatype.boolean'}},\n \"canUpdate\": {{faker 'datatype.boolean'}}\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" }, { "uuid": "07f5fbe2-9d39-44ca-b90b-17815b73d096", "documentation": "Enable a disabled Label and restore it to its published state. This will result in a new published revision based on the current disabled published revision. If there is an existing disabled draft revision, a new revision will be created based on that draft and will be enabled.", "method": "post", "endpoint": "v2beta/:name:enable", "responses": [ { "uuid": "ae63aa95-8a73-4665-aa40-049e0face454", "body": "{\n \"appliedCapabilities\": {\n \"canApply\": {{faker 'datatype.boolean'}},\n \"canRead\": {{faker 'datatype.boolean'}},\n \"canRemove\": {{faker 'datatype.boolean'}}\n },\n \"appliedLabelPolicy\": {\n \"copyMode\": \"{{oneOf (array 'COPY_MODE_UNSPECIFIED' 'DO_NOT_COPY' 'ALWAYS_COPY' 'COPY_APPLIABLE')}}\"\n },\n \"createTime\": \"\",\n \"creator\": {\n \"person\": \"\"\n },\n \"disableTime\": \"\",\n \"disabler\": {\n \"person\": \"\"\n },\n \"displayHints\": {\n \"disabled\": {{faker 'datatype.boolean'}},\n \"hiddenInSearch\": {{faker 'datatype.boolean'}},\n \"priority\": \"\",\n \"shownInApply\": {{faker 'datatype.boolean'}}\n },\n \"fields\": [\n {\n \"appliedCapabilities\": {\n \"canRead\": {{faker 'datatype.boolean'}},\n \"canSearch\": {{faker 'datatype.boolean'}},\n \"canWrite\": {{faker 'datatype.boolean'}}\n },\n \"createTime\": \"\",\n \"creator\": {\n \"person\": \"\"\n },\n \"dateOptions\": {\n \"dateFormat\": \"\",\n \"dateFormatType\": \"{{oneOf (array 'DATE_FORMAT_UNSPECIFIED' 'LONG_DATE' 'SHORT_DATE')}}\",\n \"maxValue\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n },\n \"minValue\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n }\n },\n \"disableTime\": \"\",\n \"disabler\": {\n \"person\": \"\"\n },\n \"displayHints\": {\n \"disabled\": {{faker 'datatype.boolean'}},\n \"hiddenInSearch\": {{faker 'datatype.boolean'}},\n \"required\": {{faker 'datatype.boolean'}},\n \"shownInApply\": {{faker 'datatype.boolean'}}\n },\n \"id\": \"\",\n \"integerOptions\": {\n \"maxValue\": \"\",\n \"minValue\": \"\"\n },\n \"lifecycle\": {\n \"disabledPolicy\": {\n \"hideInSearch\": {{faker 'datatype.boolean'}},\n \"showInApply\": {{faker 'datatype.boolean'}}\n },\n \"hasUnpublishedChanges\": {{faker 'datatype.boolean'}},\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'UNPUBLISHED_DRAFT' 'PUBLISHED' 'DISABLED' 'DELETED')}}\"\n },\n \"lockStatus\": {\n \"locked\": {{faker 'datatype.boolean'}}\n },\n \"properties\": {\n \"displayName\": \"\",\n \"insertBeforeField\": \"\",\n \"required\": {{faker 'datatype.boolean'}}\n },\n \"publisher\": {\n \"person\": \"\"\n },\n \"queryKey\": \"\",\n \"schemaCapabilities\": {\n \"canDelete\": {{faker 'datatype.boolean'}},\n \"canDisable\": {{faker 'datatype.boolean'}},\n \"canEnable\": {{faker 'datatype.boolean'}},\n \"canUpdate\": {{faker 'datatype.boolean'}}\n },\n \"selectionOptions\": {\n \"choices\": [\n {\n \"appliedCapabilities\": {\n \"canRead\": {{faker 'datatype.boolean'}},\n \"canSearch\": {{faker 'datatype.boolean'}},\n \"canSelect\": {{faker 'datatype.boolean'}}\n },\n \"createTime\": \"\",\n \"creator\": {\n \"person\": \"\"\n },\n \"disableTime\": \"\",\n \"disabler\": {\n \"person\": \"\"\n },\n \"displayHints\": {\n \"badgeColors\": {\n \"backgroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"foregroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"soloColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n }\n },\n \"badgePriority\": \"\",\n \"darkBadgeColors\": {\n \"backgroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"foregroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"soloColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n }\n },\n \"disabled\": {{faker 'datatype.boolean'}},\n \"hiddenInSearch\": {{faker 'datatype.boolean'}},\n \"shownInApply\": {{faker 'datatype.boolean'}}\n },\n \"id\": \"\",\n \"lifecycle\": {\n \"disabledPolicy\": {\n \"hideInSearch\": {{faker 'datatype.boolean'}},\n \"showInApply\": {{faker 'datatype.boolean'}}\n },\n \"hasUnpublishedChanges\": {{faker 'datatype.boolean'}},\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'UNPUBLISHED_DRAFT' 'PUBLISHED' 'DISABLED' 'DELETED')}}\"\n },\n \"lockStatus\": {\n \"locked\": {{faker 'datatype.boolean'}}\n },\n \"properties\": {\n \"badgeConfig\": {\n \"color\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"priorityOverride\": \"\"\n },\n \"description\": \"\",\n \"displayName\": \"\",\n \"insertBeforeChoice\": \"\"\n },\n \"publishTime\": \"\",\n \"publisher\": {\n \"person\": \"\"\n },\n \"schemaCapabilities\": {\n \"canDelete\": {{faker 'datatype.boolean'}},\n \"canDisable\": {{faker 'datatype.boolean'}},\n \"canEnable\": {{faker 'datatype.boolean'}},\n \"canUpdate\": {{faker 'datatype.boolean'}}\n },\n \"updateTime\": \"\",\n \"updater\": {\n \"person\": \"\"\n }\n }\n ],\n \"listOptions\": {\n \"maxEntries\": {{faker 'number.int' max=99999}}\n }\n },\n \"textOptions\": {\n \"maxLength\": {{faker 'number.int' max=99999}},\n \"minLength\": {{faker 'number.int' max=99999}}\n },\n \"updateTime\": \"\",\n \"updater\": {\n \"person\": \"\"\n },\n \"userOptions\": {\n \"listOptions\": {\n \"maxEntries\": {{faker 'number.int' max=99999}}\n }\n }\n }\n ],\n \"id\": \"\",\n \"labelType\": \"{{oneOf (array 'LABEL_TYPE_UNSPECIFIED' 'SHARED' 'ADMIN')}}\",\n \"learnMoreUri\": \"\",\n \"lifecycle\": {\n \"disabledPolicy\": {\n \"hideInSearch\": {{faker 'datatype.boolean'}},\n \"showInApply\": {{faker 'datatype.boolean'}}\n },\n \"hasUnpublishedChanges\": {{faker 'datatype.boolean'}},\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'UNPUBLISHED_DRAFT' 'PUBLISHED' 'DISABLED' 'DELETED')}}\"\n },\n \"lockStatus\": {\n \"locked\": {{faker 'datatype.boolean'}}\n },\n \"name\": \"\",\n \"properties\": {\n \"description\": \"\",\n \"title\": \"\"\n },\n \"publishTime\": \"\",\n \"publisher\": {\n \"person\": \"\"\n },\n \"revisionCreateTime\": \"\",\n \"revisionCreator\": {\n \"person\": \"\"\n },\n \"revisionId\": \"\",\n \"schemaCapabilities\": {\n \"canDelete\": {{faker 'datatype.boolean'}},\n \"canDisable\": {{faker 'datatype.boolean'}},\n \"canEnable\": {{faker 'datatype.boolean'}},\n \"canUpdate\": {{faker 'datatype.boolean'}}\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" }, { "uuid": "9d187429-c089-4fbf-819e-bee83abd99e1", "documentation": "Publish all draft changes to the Label. Once published, the Label may not return to its draft state. See `google.apps.drive.labels.v2.Lifecycle` for more information. Publishing a Label will result in a new published revision. All previous draft revisions will be deleted. Previous published revisions will be kept but are subject to automated deletion as needed. Once published, some changes are no longer permitted. Generally, any change that would invalidate or cause new restrictions on existing metadata related to the Label will be rejected. For example, the following changes to a Label will be rejected after the Label is published: * The label cannot be directly deleted. It must be disabled first, then deleted. * Field.FieldType cannot be changed. * Changes to Field validation options cannot reject something that was previously accepted. * Reducing the max entries.", "method": "post", "endpoint": "v2beta/:name:publish", "responses": [ { "uuid": "f8737de7-8c22-42b9-932e-2a7b527c74c9", "body": "{\n \"appliedCapabilities\": {\n \"canApply\": {{faker 'datatype.boolean'}},\n \"canRead\": {{faker 'datatype.boolean'}},\n \"canRemove\": {{faker 'datatype.boolean'}}\n },\n \"appliedLabelPolicy\": {\n \"copyMode\": \"{{oneOf (array 'COPY_MODE_UNSPECIFIED' 'DO_NOT_COPY' 'ALWAYS_COPY' 'COPY_APPLIABLE')}}\"\n },\n \"createTime\": \"\",\n \"creator\": {\n \"person\": \"\"\n },\n \"disableTime\": \"\",\n \"disabler\": {\n \"person\": \"\"\n },\n \"displayHints\": {\n \"disabled\": {{faker 'datatype.boolean'}},\n \"hiddenInSearch\": {{faker 'datatype.boolean'}},\n \"priority\": \"\",\n \"shownInApply\": {{faker 'datatype.boolean'}}\n },\n \"fields\": [\n {\n \"appliedCapabilities\": {\n \"canRead\": {{faker 'datatype.boolean'}},\n \"canSearch\": {{faker 'datatype.boolean'}},\n \"canWrite\": {{faker 'datatype.boolean'}}\n },\n \"createTime\": \"\",\n \"creator\": {\n \"person\": \"\"\n },\n \"dateOptions\": {\n \"dateFormat\": \"\",\n \"dateFormatType\": \"{{oneOf (array 'DATE_FORMAT_UNSPECIFIED' 'LONG_DATE' 'SHORT_DATE')}}\",\n \"maxValue\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n },\n \"minValue\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n }\n },\n \"disableTime\": \"\",\n \"disabler\": {\n \"person\": \"\"\n },\n \"displayHints\": {\n \"disabled\": {{faker 'datatype.boolean'}},\n \"hiddenInSearch\": {{faker 'datatype.boolean'}},\n \"required\": {{faker 'datatype.boolean'}},\n \"shownInApply\": {{faker 'datatype.boolean'}}\n },\n \"id\": \"\",\n \"integerOptions\": {\n \"maxValue\": \"\",\n \"minValue\": \"\"\n },\n \"lifecycle\": {\n \"disabledPolicy\": {\n \"hideInSearch\": {{faker 'datatype.boolean'}},\n \"showInApply\": {{faker 'datatype.boolean'}}\n },\n \"hasUnpublishedChanges\": {{faker 'datatype.boolean'}},\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'UNPUBLISHED_DRAFT' 'PUBLISHED' 'DISABLED' 'DELETED')}}\"\n },\n \"lockStatus\": {\n \"locked\": {{faker 'datatype.boolean'}}\n },\n \"properties\": {\n \"displayName\": \"\",\n \"insertBeforeField\": \"\",\n \"required\": {{faker 'datatype.boolean'}}\n },\n \"publisher\": {\n \"person\": \"\"\n },\n \"queryKey\": \"\",\n \"schemaCapabilities\": {\n \"canDelete\": {{faker 'datatype.boolean'}},\n \"canDisable\": {{faker 'datatype.boolean'}},\n \"canEnable\": {{faker 'datatype.boolean'}},\n \"canUpdate\": {{faker 'datatype.boolean'}}\n },\n \"selectionOptions\": {\n \"choices\": [\n {\n \"appliedCapabilities\": {\n \"canRead\": {{faker 'datatype.boolean'}},\n \"canSearch\": {{faker 'datatype.boolean'}},\n \"canSelect\": {{faker 'datatype.boolean'}}\n },\n \"createTime\": \"\",\n \"creator\": {\n \"person\": \"\"\n },\n \"disableTime\": \"\",\n \"disabler\": {\n \"person\": \"\"\n },\n \"displayHints\": {\n \"badgeColors\": {\n \"backgroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"foregroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"soloColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n }\n },\n \"badgePriority\": \"\",\n \"darkBadgeColors\": {\n \"backgroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"foregroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"soloColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n }\n },\n \"disabled\": {{faker 'datatype.boolean'}},\n \"hiddenInSearch\": {{faker 'datatype.boolean'}},\n \"shownInApply\": {{faker 'datatype.boolean'}}\n },\n \"id\": \"\",\n \"lifecycle\": {\n \"disabledPolicy\": {\n \"hideInSearch\": {{faker 'datatype.boolean'}},\n \"showInApply\": {{faker 'datatype.boolean'}}\n },\n \"hasUnpublishedChanges\": {{faker 'datatype.boolean'}},\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'UNPUBLISHED_DRAFT' 'PUBLISHED' 'DISABLED' 'DELETED')}}\"\n },\n \"lockStatus\": {\n \"locked\": {{faker 'datatype.boolean'}}\n },\n \"properties\": {\n \"badgeConfig\": {\n \"color\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"priorityOverride\": \"\"\n },\n \"description\": \"\",\n \"displayName\": \"\",\n \"insertBeforeChoice\": \"\"\n },\n \"publishTime\": \"\",\n \"publisher\": {\n \"person\": \"\"\n },\n \"schemaCapabilities\": {\n \"canDelete\": {{faker 'datatype.boolean'}},\n \"canDisable\": {{faker 'datatype.boolean'}},\n \"canEnable\": {{faker 'datatype.boolean'}},\n \"canUpdate\": {{faker 'datatype.boolean'}}\n },\n \"updateTime\": \"\",\n \"updater\": {\n \"person\": \"\"\n }\n }\n ],\n \"listOptions\": {\n \"maxEntries\": {{faker 'number.int' max=99999}}\n }\n },\n \"textOptions\": {\n \"maxLength\": {{faker 'number.int' max=99999}},\n \"minLength\": {{faker 'number.int' max=99999}}\n },\n \"updateTime\": \"\",\n \"updater\": {\n \"person\": \"\"\n },\n \"userOptions\": {\n \"listOptions\": {\n \"maxEntries\": {{faker 'number.int' max=99999}}\n }\n }\n }\n ],\n \"id\": \"\",\n \"labelType\": \"{{oneOf (array 'LABEL_TYPE_UNSPECIFIED' 'SHARED' 'ADMIN')}}\",\n \"learnMoreUri\": \"\",\n \"lifecycle\": {\n \"disabledPolicy\": {\n \"hideInSearch\": {{faker 'datatype.boolean'}},\n \"showInApply\": {{faker 'datatype.boolean'}}\n },\n \"hasUnpublishedChanges\": {{faker 'datatype.boolean'}},\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'UNPUBLISHED_DRAFT' 'PUBLISHED' 'DISABLED' 'DELETED')}}\"\n },\n \"lockStatus\": {\n \"locked\": {{faker 'datatype.boolean'}}\n },\n \"name\": \"\",\n \"properties\": {\n \"description\": \"\",\n \"title\": \"\"\n },\n \"publishTime\": \"\",\n \"publisher\": {\n \"person\": \"\"\n },\n \"revisionCreateTime\": \"\",\n \"revisionCreator\": {\n \"person\": \"\"\n },\n \"revisionId\": \"\",\n \"schemaCapabilities\": {\n \"canDelete\": {{faker 'datatype.boolean'}},\n \"canDisable\": {{faker 'datatype.boolean'}},\n \"canEnable\": {{faker 'datatype.boolean'}},\n \"canUpdate\": {{faker 'datatype.boolean'}}\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" }, { "uuid": "11bb79e4-edd3-413d-a633-03bf002aa9c8", "documentation": "Updates a Label's `CopyMode`. Changes to this policy are not revisioned, do not require publishing, and take effect immediately.", "method": "post", "endpoint": "v2beta/:name:updateLabelCopyMode", "responses": [ { "uuid": "43649191-1447-46c7-8c28-4edb49b01bc1", "body": "{\n \"appliedCapabilities\": {\n \"canApply\": {{faker 'datatype.boolean'}},\n \"canRead\": {{faker 'datatype.boolean'}},\n \"canRemove\": {{faker 'datatype.boolean'}}\n },\n \"appliedLabelPolicy\": {\n \"copyMode\": \"{{oneOf (array 'COPY_MODE_UNSPECIFIED' 'DO_NOT_COPY' 'ALWAYS_COPY' 'COPY_APPLIABLE')}}\"\n },\n \"createTime\": \"\",\n \"creator\": {\n \"person\": \"\"\n },\n \"disableTime\": \"\",\n \"disabler\": {\n \"person\": \"\"\n },\n \"displayHints\": {\n \"disabled\": {{faker 'datatype.boolean'}},\n \"hiddenInSearch\": {{faker 'datatype.boolean'}},\n \"priority\": \"\",\n \"shownInApply\": {{faker 'datatype.boolean'}}\n },\n \"fields\": [\n {\n \"appliedCapabilities\": {\n \"canRead\": {{faker 'datatype.boolean'}},\n \"canSearch\": {{faker 'datatype.boolean'}},\n \"canWrite\": {{faker 'datatype.boolean'}}\n },\n \"createTime\": \"\",\n \"creator\": {\n \"person\": \"\"\n },\n \"dateOptions\": {\n \"dateFormat\": \"\",\n \"dateFormatType\": \"{{oneOf (array 'DATE_FORMAT_UNSPECIFIED' 'LONG_DATE' 'SHORT_DATE')}}\",\n \"maxValue\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n },\n \"minValue\": {\n \"day\": {{faker 'number.int' max=99999}},\n \"month\": {{faker 'number.int' max=99999}},\n \"year\": {{faker 'number.int' max=99999}}\n }\n },\n \"disableTime\": \"\",\n \"disabler\": {\n \"person\": \"\"\n },\n \"displayHints\": {\n \"disabled\": {{faker 'datatype.boolean'}},\n \"hiddenInSearch\": {{faker 'datatype.boolean'}},\n \"required\": {{faker 'datatype.boolean'}},\n \"shownInApply\": {{faker 'datatype.boolean'}}\n },\n \"id\": \"\",\n \"integerOptions\": {\n \"maxValue\": \"\",\n \"minValue\": \"\"\n },\n \"lifecycle\": {\n \"disabledPolicy\": {\n \"hideInSearch\": {{faker 'datatype.boolean'}},\n \"showInApply\": {{faker 'datatype.boolean'}}\n },\n \"hasUnpublishedChanges\": {{faker 'datatype.boolean'}},\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'UNPUBLISHED_DRAFT' 'PUBLISHED' 'DISABLED' 'DELETED')}}\"\n },\n \"lockStatus\": {\n \"locked\": {{faker 'datatype.boolean'}}\n },\n \"properties\": {\n \"displayName\": \"\",\n \"insertBeforeField\": \"\",\n \"required\": {{faker 'datatype.boolean'}}\n },\n \"publisher\": {\n \"person\": \"\"\n },\n \"queryKey\": \"\",\n \"schemaCapabilities\": {\n \"canDelete\": {{faker 'datatype.boolean'}},\n \"canDisable\": {{faker 'datatype.boolean'}},\n \"canEnable\": {{faker 'datatype.boolean'}},\n \"canUpdate\": {{faker 'datatype.boolean'}}\n },\n \"selectionOptions\": {\n \"choices\": [\n {\n \"appliedCapabilities\": {\n \"canRead\": {{faker 'datatype.boolean'}},\n \"canSearch\": {{faker 'datatype.boolean'}},\n \"canSelect\": {{faker 'datatype.boolean'}}\n },\n \"createTime\": \"\",\n \"creator\": {\n \"person\": \"\"\n },\n \"disableTime\": \"\",\n \"disabler\": {\n \"person\": \"\"\n },\n \"displayHints\": {\n \"badgeColors\": {\n \"backgroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"foregroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"soloColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n }\n },\n \"badgePriority\": \"\",\n \"darkBadgeColors\": {\n \"backgroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"foregroundColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"soloColor\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n }\n },\n \"disabled\": {{faker 'datatype.boolean'}},\n \"hiddenInSearch\": {{faker 'datatype.boolean'}},\n \"shownInApply\": {{faker 'datatype.boolean'}}\n },\n \"id\": \"\",\n \"lifecycle\": {\n \"disabledPolicy\": {\n \"hideInSearch\": {{faker 'datatype.boolean'}},\n \"showInApply\": {{faker 'datatype.boolean'}}\n },\n \"hasUnpublishedChanges\": {{faker 'datatype.boolean'}},\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'UNPUBLISHED_DRAFT' 'PUBLISHED' 'DISABLED' 'DELETED')}}\"\n },\n \"lockStatus\": {\n \"locked\": {{faker 'datatype.boolean'}}\n },\n \"properties\": {\n \"badgeConfig\": {\n \"color\": {\n \"alpha\": {{faker 'number.float'}},\n \"blue\": {{faker 'number.float'}},\n \"green\": {{faker 'number.float'}},\n \"red\": {{faker 'number.float'}}\n },\n \"priorityOverride\": \"\"\n },\n \"description\": \"\",\n \"displayName\": \"\",\n \"insertBeforeChoice\": \"\"\n },\n \"publishTime\": \"\",\n \"publisher\": {\n \"person\": \"\"\n },\n \"schemaCapabilities\": {\n \"canDelete\": {{faker 'datatype.boolean'}},\n \"canDisable\": {{faker 'datatype.boolean'}},\n \"canEnable\": {{faker 'datatype.boolean'}},\n \"canUpdate\": {{faker 'datatype.boolean'}}\n },\n \"updateTime\": \"\",\n \"updater\": {\n \"person\": \"\"\n }\n }\n ],\n \"listOptions\": {\n \"maxEntries\": {{faker 'number.int' max=99999}}\n }\n },\n \"textOptions\": {\n \"maxLength\": {{faker 'number.int' max=99999}},\n \"minLength\": {{faker 'number.int' max=99999}}\n },\n \"updateTime\": \"\",\n \"updater\": {\n \"person\": \"\"\n },\n \"userOptions\": {\n \"listOptions\": {\n \"maxEntries\": {{faker 'number.int' max=99999}}\n }\n }\n }\n ],\n \"id\": \"\",\n \"labelType\": \"{{oneOf (array 'LABEL_TYPE_UNSPECIFIED' 'SHARED' 'ADMIN')}}\",\n \"learnMoreUri\": \"\",\n \"lifecycle\": {\n \"disabledPolicy\": {\n \"hideInSearch\": {{faker 'datatype.boolean'}},\n \"showInApply\": {{faker 'datatype.boolean'}}\n },\n \"hasUnpublishedChanges\": {{faker 'datatype.boolean'}},\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'UNPUBLISHED_DRAFT' 'PUBLISHED' 'DISABLED' 'DELETED')}}\"\n },\n \"lockStatus\": {\n \"locked\": {{faker 'datatype.boolean'}}\n },\n \"name\": \"\",\n \"properties\": {\n \"description\": \"\",\n \"title\": \"\"\n },\n \"publishTime\": \"\",\n \"publisher\": {\n \"person\": \"\"\n },\n \"revisionCreateTime\": \"\",\n \"revisionCreator\": {\n \"person\": \"\"\n },\n \"revisionId\": \"\",\n \"schemaCapabilities\": {\n \"canDelete\": {{faker 'datatype.boolean'}},\n \"canDisable\": {{faker 'datatype.boolean'}},\n \"canEnable\": {{faker 'datatype.boolean'}},\n \"canUpdate\": {{faker 'datatype.boolean'}}\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" }, { "uuid": "3a047c27-378b-4e7d-99fe-99cd1e0050df", "documentation": "Updates a Label's permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.", "method": "patch", "endpoint": "v2beta/:parent", "responses": [ { "uuid": "e2d6e790-efe6-4fb5-a628-d93bf267f388", "body": "{\n \"audience\": \"\",\n \"email\": \"\",\n \"group\": \"\",\n \"name\": \"\",\n \"person\": \"\",\n \"role\": \"{{oneOf (array 'LABEL_ROLE_UNSPECIFIED' 'READER' 'APPLIER' 'ORGANIZER' 'EDITOR')}}\"\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": "20d37897-aa45-4599-b5a4-53f139bca682", "documentation": "Lists the Locks on a Label.", "method": "get", "endpoint": "v2beta/:parent/locks", "responses": [ { "uuid": "c21e9683-0e75-4643-aa67-0ac2a982c738", "body": "{\n \"labelLocks\": [\n {\n \"capabilities\": {\n \"canViewPolicy\": {{faker 'datatype.boolean'}}\n },\n \"choiceId\": \"\",\n \"createTime\": \"\",\n \"creator\": {\n \"person\": \"\"\n },\n \"deleteTime\": \"\",\n \"fieldId\": \"\",\n \"name\": \"\",\n \"policyUri\": \"\",\n \"state\": \"{{oneOf (array 'STATE_UNSPECIFIED' 'ACTIVE' 'DELETING')}}\"\n }\n ],\n \"nextPageToken\": \"\"\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": "04f9b18c-bca4-4602-90bb-21b27f2679e7", "documentation": "Lists a Label's permissions.", "method": "get", "endpoint": "v2beta/:parent/permissions", "responses": [ { "uuid": "b1e77f7e-a46f-49a8-af09-0168cc82d85c", "body": "{\n \"labelPermissions\": [\n {\n \"audience\": \"\",\n \"email\": \"\",\n \"group\": \"\",\n \"name\": \"\",\n \"person\": \"\",\n \"role\": \"{{oneOf (array 'LABEL_ROLE_UNSPECIFIED' 'READER' 'APPLIER' 'ORGANIZER' 'EDITOR')}}\"\n }\n ],\n \"nextPageToken\": \"\"\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": "f7f2f40f-cb3b-495f-87ec-0bf01f843d93", "documentation": "Updates a Label's permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.", "method": "post", "endpoint": "v2beta/:parent/permissions", "responses": [ { "uuid": "2380c28d-4c3d-42c9-ba7b-182f0a1e6267", "body": "{\n \"audience\": \"\",\n \"email\": \"\",\n \"group\": \"\",\n \"name\": \"\",\n \"person\": \"\",\n \"role\": \"{{oneOf (array 'LABEL_ROLE_UNSPECIFIED' 'READER' 'APPLIER' 'ORGANIZER' 'EDITOR')}}\"\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": "4d9968aa-9a71-49fd-a222-02762abd32e4", "documentation": "Updates Label permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.", "method": "post", "endpoint": "v2beta/:parent/permissions:batchUpdate", "responses": [ { "uuid": "0e197b4e-1513-4014-93ec-b3cc3036fc3c", "body": "{\n \"permissions\": [\n {\n \"audience\": \"\",\n \"email\": \"\",\n \"group\": \"\",\n \"name\": \"\",\n \"person\": \"\",\n \"role\": \"{{oneOf (array 'LABEL_ROLE_UNSPECIFIED' 'READER' 'APPLIER' 'ORGANIZER' 'EDITOR')}}\"\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": "6c8fc7c1-cb2a-4665-b387-25948ccf3b08" }, { "type": "route", "uuid": "eaac58d8-8803-44de-a6b8-772d49013f37" }, { "type": "route", "uuid": "5f26b637-ab31-4339-ae41-0dd54fbbf768" }, { "type": "route", "uuid": "41054db4-7863-4265-bd16-e16bda51110d" }, { "type": "route", "uuid": "4c416ae0-a6e4-4956-8638-728d20df3756" }, { "type": "route", "uuid": "b300571f-587c-41ff-afef-912aca443c07" }, { "type": "route", "uuid": "b124169f-32f9-4329-9cf5-8ff0adfedd62" }, { "type": "route", "uuid": "ec6e1017-f9e1-4f09-8f52-54d570cf5609" }, { "type": "route", "uuid": "96799499-0926-4a9d-b47e-ec665650d12c" }, { "type": "route", "uuid": "07f5fbe2-9d39-44ca-b90b-17815b73d096" }, { "type": "route", "uuid": "9d187429-c089-4fbf-819e-bee83abd99e1" }, { "type": "route", "uuid": "11bb79e4-edd3-413d-a633-03bf002aa9c8" }, { "type": "route", "uuid": "3a047c27-378b-4e7d-99fe-99cd1e0050df" }, { "type": "route", "uuid": "20d37897-aa45-4599-b5a4-53f139bca682" }, { "type": "route", "uuid": "04f9b18c-bca4-4602-90bb-21b27f2679e7" }, { "type": "route", "uuid": "f7f2f40f-cb3b-495f-87ec-0bf01f843d93" }, { "type": "route", "uuid": "4d9968aa-9a71-49fd-a222-02762abd32e4" } ] }