Skip to content

Commit a7f8f0a

Browse files
committed
Update en to output generated at 80102bd
1 parent a5ab661 commit a7f8f0a

File tree

1 file changed

+58
-149
lines changed

1 file changed

+58
-149
lines changed

openapi.json

Lines changed: 58 additions & 149 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"url": "http://www.apache.org/licenses/LICENSE-2.0"
1515
},
1616
"version": "2.0.0",
17-
"x-box-commit-hash": "80879af1ee"
17+
"x-box-commit-hash": "9e8bda337c"
1818
},
1919
"servers": [
2020
{
@@ -3660,11 +3660,17 @@
36603660
"name": "Aaron Levie"
36613661
},
36623662
"additionalProperties": {
3663-
"type": "string",
3664-
"description": "A value for each of the fields that are present on the metadata\ntemplate.\n\nFor the `global.properties` template this can be an a list of zero\nor more fields, as this template allows for any generic key-value\npairs to be stored on the template.",
3665-
"example": "Aaron Levie",
3666-
"x-box-example-key": "name"
3667-
}
3663+
"allOf": [
3664+
{},
3665+
{
3666+
"example": "Aaron Levie"
3667+
},
3668+
{
3669+
"description": "A value for each of the fields that are present\non the metadata template.\nFor the `global.properties` template this can be\na list of zero or more fields,\nas this template allows for any generic key-value pairs \nto be stored stored in the template."
3670+
}
3671+
]
3672+
},
3673+
"x-box-example-key": "name"
36683674
}
36693675
}
36703676
}
@@ -3675,7 +3681,7 @@
36753681
"content": {
36763682
"application/json": {
36773683
"schema": {
3678-
"$ref": "#/components/schemas/Metadata"
3684+
"$ref": "#/components/schemas/Metadata--Full"
36793685
}
36803686
}
36813687
}
@@ -3818,7 +3824,7 @@
38183824
"content": {
38193825
"application/json": {
38203826
"schema": {
3821-
"$ref": "#/components/schemas/Metadata"
3827+
"$ref": "#/components/schemas/Metadata--Full"
38223828
}
38233829
}
38243830
}
@@ -6761,11 +6767,17 @@
67616767
"name": "Aaron Levie"
67626768
},
67636769
"additionalProperties": {
6764-
"type": "string",
6765-
"description": "A value for each of the fields that are present on the metadata\ntemplate.\n\nFor the `global.properties` template this can be an a list of zero\nor more fields, as this template allows for any generic key-value\npairs to be stored on the template.",
6766-
"example": "Aaron Levie",
6767-
"x-box-example-key": "name"
6768-
}
6770+
"allOf": [
6771+
{},
6772+
{
6773+
"example": "Aaron Levie"
6774+
},
6775+
{
6776+
"description": "A value for each of the fields that are present on the metadata\ntemplate.\nFor the `global.properties` template this can be a list of zero\nor more fields, as this template allows for any generic key-value\npairs to be stored in the template."
6777+
}
6778+
]
6779+
},
6780+
"x-box-example-key": "name"
67696781
}
67706782
}
67716783
}
@@ -6776,7 +6788,7 @@
67766788
"content": {
67776789
"application/json": {
67786790
"schema": {
6779-
"$ref": "#/components/schemas/Metadata"
6791+
"$ref": "#/components/schemas/Metadata--Full"
67806792
}
67816793
}
67826794
}
@@ -6920,7 +6932,7 @@
69206932
"content": {
69216933
"application/json": {
69226934
"schema": {
6923-
"$ref": "#/components/schemas/Metadata"
6935+
"$ref": "#/components/schemas/Metadata--Full"
69246936
}
69256937
}
69266938
}
@@ -7728,31 +7740,6 @@
77287740
}
77297741
}
77307742
}
7731-
},
7732-
"delete": {
7733-
"operationId": "delete_metadata_templates_enterprise_securityClassification-6VMVochwUWo_schema",
7734-
"summary": "Delete all classifications",
7735-
"tags": [
7736-
"Classifications"
7737-
],
7738-
"x-box-tag": "classifications",
7739-
"x-box-sanitized": true,
7740-
"description": "Delete all classifications by deleting the classification\nmetadata template.",
7741-
"responses": {
7742-
"204": {
7743-
"description": "Returns an empty response when the metadata\ntemplate for classifications is successfully deleted."
7744-
},
7745-
"default": {
7746-
"description": "An unexpected client error.",
7747-
"content": {
7748-
"application/json": {
7749-
"schema": {
7750-
"$ref": "#/components/schemas/ClientError"
7751-
}
7752-
}
7753-
}
7754-
}
7755-
}
77567743
}
77577744
},
77587745
"/metadata_templates/enterprise/securityClassification-6VMVochwUWo/schema#add": {
@@ -8022,102 +8009,6 @@
80228009
}
80238010
}
80248011
},
8025-
"/metadata_templates/enterprise/securityClassification-6VMVochwUWo/schema#delete": {
8026-
"put": {
8027-
"operationId": "put_metadata_templates_enterprise_securityClassification-6VMVochwUWo_schema#delete",
8028-
"summary": "Delete classification",
8029-
"tags": [
8030-
"Classifications"
8031-
],
8032-
"x-box-tag": "classifications",
8033-
"x-box-sanitized": true,
8034-
"description": "Removes a classification from the list of classifications\navailable to the enterprise.\n\nThis API can also be called by including the enterprise ID in the\nURL explicitly, for example\n`/metadata_templates/enterprise_12345/securityClassification-6VMVochwUWo/schema`.",
8035-
"requestBody": {
8036-
"content": {
8037-
"application/json-patch+json": {
8038-
"schema": {
8039-
"description": "An array that contains one or more classifications to remove.",
8040-
"type": "array",
8041-
"items": {
8042-
"type": "object",
8043-
"description": "A single classification to remove.",
8044-
"required": [
8045-
"op",
8046-
"fieldKey",
8047-
"enumOptionKey"
8048-
],
8049-
"properties": {
8050-
"op": {
8051-
"type": "string",
8052-
"example": "removeEnumOption",
8053-
"description": "The type of change to perform on the classification\nobject.",
8054-
"enum": [
8055-
"removeEnumOption"
8056-
]
8057-
},
8058-
"fieldKey": {
8059-
"type": "string",
8060-
"example": "Box__Security__Classification__Key",
8061-
"description": "Defines classifications \navailable in the enterprise.",
8062-
"enum": [
8063-
"Box__Security__Classification__Key"
8064-
]
8065-
},
8066-
"enumOptionKey": {
8067-
"type": "string",
8068-
"example": "Sensitive",
8069-
"description": "The label of the classification to remove."
8070-
}
8071-
}
8072-
}
8073-
}
8074-
}
8075-
}
8076-
},
8077-
"responses": {
8078-
"200": {
8079-
"description": "Returns the updated `securityClassification` metadata template, which\ncontains a `Box__Security__Classification__Key` field that lists all\nthe classifications available to this enterprise.",
8080-
"content": {
8081-
"application/json": {
8082-
"schema": {
8083-
"$ref": "#/components/schemas/ClassificationTemplate"
8084-
}
8085-
}
8086-
}
8087-
},
8088-
"400": {
8089-
"description": "Returned if any of the request parameters are not valid.",
8090-
"content": {
8091-
"application/json": {
8092-
"schema": {
8093-
"$ref": "#/components/schemas/ClientError"
8094-
}
8095-
}
8096-
}
8097-
},
8098-
"404": {
8099-
"description": "Returned when a template name is not correct. Please make sure\nthe URL for the request is correct.",
8100-
"content": {
8101-
"application/json": {
8102-
"schema": {
8103-
"$ref": "#/components/schemas/ClientError"
8104-
}
8105-
}
8106-
}
8107-
},
8108-
"default": {
8109-
"description": "An unexpected client error.",
8110-
"content": {
8111-
"application/json": {
8112-
"schema": {
8113-
"$ref": "#/components/schemas/ClientError"
8114-
}
8115-
}
8116-
}
8117-
}
8118-
}
8119-
}
8120-
},
81218012
"/metadata_templates/{scope}/{template_key}/schema": {
81228013
"get": {
81238014
"operationId": "get_metadata_templates_id_id_schema",
@@ -8273,9 +8164,15 @@
82738164
"name": "Aaron Levie"
82748165
},
82758166
"additionalProperties": {
8276-
"type": "string",
8277-
"description": "The value of a custom data entry.",
8278-
"example": "Aaron Levie",
8167+
"allOf": [
8168+
{},
8169+
{
8170+
"example": "Aaron Levie"
8171+
},
8172+
{
8173+
"description": "A value for each of the fields that are present\non the metadata template.\nFor the `global.properties` template this can be\na list of zero or more fields,\nas this template allows for any generic key-value pairs \nto be stored stored in the template."
8174+
}
8175+
],
82798176
"x-box-example-key": "name"
82808177
}
82818178
},
@@ -25342,6 +25239,10 @@
2534225239
"x-box-resource-id": "collaboration",
2534325240
"x-box-tag": "user_collaborations",
2534425241
"description": "Collaborations define access permissions for users and groups to files and\nfolders, similar to access control lists. A collaboration object grants a\nuser or group access to a file or folder with permissions defined by a\nspecific role.",
25242+
"required": [
25243+
"id",
25244+
"type"
25245+
],
2534525246
"properties": {
2534625247
"id": {
2534725248
"type": "string",
@@ -29786,7 +29687,7 @@
2978629687
"items": {
2978729688
"oneOf": [
2978829689
{
29789-
"$ref": "#/components/schemas/File--Mini"
29690+
"$ref": "#/components/schemas/File--Full"
2979029691
},
2979129692
{
2979229693
"$ref": "#/components/schemas/Folder--Mini"
@@ -30186,8 +30087,15 @@
3018630087
},
3018730088
{
3018830089
"additionalProperties": {
30189-
"type": "string",
30190-
"example": "Aaron Levie",
30090+
"allOf": [
30091+
{},
30092+
{
30093+
"example": "Aaron Levie"
30094+
},
30095+
{
30096+
"description": "A value for each of the fields that are present\non the metadata template.\nFor the `global.properties` template this can be\na list of zero or more fields,\nas this template allows for any generic key-value pairs \nto be stored stored in the template."
30097+
}
30098+
],
3019130099
"x-box-example-key": "name"
3019230100
}
3019330101
}
@@ -30504,7 +30412,8 @@
3050430412
"x-box-tag": "metadata_templates",
3050530413
"description": "A template for metadata that can be applied to files and folders",
3050630414
"required": [
30507-
"type"
30415+
"type",
30416+
"id"
3050830417
],
3050930418
"properties": {
3051030419
"id": {
@@ -30789,10 +30698,10 @@
3078930698
{
3079030699
"oneOf": [
3079130700
{
30792-
"$ref": "#/components/schemas/File"
30701+
"$ref": "#/components/schemas/File--Full"
3079330702
},
3079430703
{
30795-
"$ref": "#/components/schemas/Folder"
30704+
"$ref": "#/components/schemas/Folder--Full"
3079630705
},
3079730706
{
3079830707
"$ref": "#/components/schemas/WebLink"
@@ -32085,10 +31994,10 @@
3208531994
"items": {
3208631995
"oneOf": [
3208731996
{
32088-
"$ref": "#/components/schemas/File"
31997+
"$ref": "#/components/schemas/File--Full"
3208931998
},
3209031999
{
32091-
"$ref": "#/components/schemas/Folder"
32000+
"$ref": "#/components/schemas/Folder--Full"
3209232001
},
3209332002
{
3209432003
"$ref": "#/components/schemas/WebLink"
@@ -32173,10 +32082,10 @@
3217332082
{
3217432083
"oneOf": [
3217532084
{
32176-
"$ref": "#/components/schemas/File"
32085+
"$ref": "#/components/schemas/File--Full"
3217732086
},
3217832087
{
32179-
"$ref": "#/components/schemas/Folder"
32088+
"$ref": "#/components/schemas/Folder--Full"
3218032089
},
3218132090
{
3218232091
"$ref": "#/components/schemas/WebLink"

0 commit comments

Comments
 (0)