Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Modify schema for teams for integration mapping api #462

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
108 changes: 51 additions & 57 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"url": "http://www.apache.org/licenses/LICENSE-2.0"
},
"version": "2.0.0",
"x-box-commit-hash": "7422d8d30e"
"x-box-commit-hash": "d56cad66a5"
},
"servers": [
{
Expand Down Expand Up @@ -24062,8 +24062,8 @@
}
}
},
"400": {
"description": "An unexpected client error.",
"500": {
"description": "An unexpected server error.",
"content": {
"application/json": {
"schema": {
Expand All @@ -24072,8 +24072,8 @@
}
}
},
"500": {
"description": "An unexpected server error.",
"default": {
"description": "An unexpected error.",
"content": {
"application/json": {
"schema": {
Expand Down Expand Up @@ -24116,8 +24116,8 @@
}
}
},
"400": {
"description": "An unexpected client error.",
"500": {
"description": "An unexpected server error.",
"content": {
"application/json": {
"schema": {
Expand All @@ -24126,8 +24126,8 @@
}
}
},
"500": {
"description": "An unexpected server error.",
"default": {
"description": "An unexpected error.",
"content": {
"application/json": {
"schema": {
Expand Down Expand Up @@ -24212,8 +24212,8 @@
}
}
},
"400": {
"description": "An unexpected client error.",
"500": {
"description": "An unexpected server error.",
"content": {
"application/json": {
"schema": {
Expand All @@ -24222,8 +24222,8 @@
}
}
},
"500": {
"description": "An unexpected server error.",
"default": {
"description": "An unexpected error.",
"content": {
"application/json": {
"schema": {
Expand Down Expand Up @@ -24266,8 +24266,8 @@
}
}
},
"400": {
"description": "An unexpected client error.",
"500": {
"description": "An unexpected server error.",
"content": {
"application/json": {
"schema": {
Expand All @@ -24276,8 +24276,8 @@
}
}
},
"500": {
"description": "An unexpected server error.",
"default": {
"description": "An unexpected error.",
"content": {
"application/json": {
"schema": {
Expand Down Expand Up @@ -24320,8 +24320,8 @@
}
}
},
"400": {
"description": "An unexpected client error.",
"500": {
"description": "An unexpected server error.",
"content": {
"application/json": {
"schema": {
Expand All @@ -24330,8 +24330,8 @@
}
}
},
"500": {
"description": "An unexpected server error.",
"default": {
"description": "An unexpected error.",
"content": {
"application/json": {
"schema": {
Expand Down Expand Up @@ -25676,14 +25676,8 @@
"context_info": {
"description": "A free-form object that contains additional context\nabout the error. The possible fields are defined on\na per-endpoint basis. `message` is only one example.",
"type": "object",
"nullable": true,
"properties": {
"message": {
"description": "More details on the error.",
"type": "string",
"example": "Something went wrong."
}
}
"additionalProperties": true,
"nullable": true
},
"help_url": {
"description": "A URL that links to more information about why this error occurred.",
Expand Down Expand Up @@ -30268,34 +30262,6 @@
],
"nullable": false
},
"partner_item": {
"description": "Mapped item object for Slack or Teams",
"example": {
"id": "C12378991223",
"type": "channel",
"slack_org_id": "E1234567"
},
"nullable": false,
"oneOf": [
{
"$ref": "#/components/schemas/IntegrationMappingPartnerItemSlack"
}
]
}
}
},
{
"type": "object",
"properties": {
"box_item": {
"description": "The Box folder, to which the object from the\npartner app domain (referenced in `partner_item_id`) is mapped",
"allOf": [
{
"$ref": "#/components/schemas/Folder--Mini"
}
],
"nullable": false
},
"is_manually_created": {
"description": "Identifies whether the mapping has\nbeen manually set\n(as opposed to being automatically created)",
"type": "boolean",
Expand Down Expand Up @@ -30328,6 +30294,34 @@
],
"nullable": false
},
"partner_item": {
"description": "Mapped item object for Slack",
"example": {
"id": "C12378991223",
"type": "channel",
"slack_org_id": "E1234567"
},
"nullable": false,
"oneOf": [
{
"$ref": "#/components/schemas/IntegrationMappingPartnerItemSlack"
}
]
}
}
},
{
"type": "object",
"properties": {
"box_item": {
"description": "The Box folder, to which the object from the\npartner app domain (referenced in `partner_item_id`) is mapped",
"allOf": [
{
"$ref": "#/components/schemas/Folder--Mini"
}
],
"nullable": false
},
"created_at": {
"description": "When the integration mapping object was created",
"type": "string",
Expand Down
Loading