Skip to content

Instantly share code, notes, and snippets.

@acunniffe
Created May 5, 2019 22:38
Show Gist options
  • Save acunniffe/569129b9e335d0498b2bf12d12f3cdd4 to your computer and use it in GitHub Desktop.
Save acunniffe/569129b9e335d0498b2bf12d12f3cdd4 to your computer and use it in GitHub Desktop.
Mattermost Spec (Learned from Tests)
This file has been truncated, but you can view the full file.
{
"swagger": "2.0",
"info": {
"title": "undefined/mattermost-api4",
"version": "2.0.0"
},
"basePath": "/api/v4",
"paths": {
"/actions/dialogs/open": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/actions/dialogs/submit": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/analytics/old": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "name",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "team_id",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/audits": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"action": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"extra_info": {
"type": "string"
},
"id": {
"type": "string"
},
"ip_address": {
"type": "string"
},
"session_id": {
"type": "string"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/bots": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "include_deleted",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "only_orphaned",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"owner_id": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
},
"username": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"304": {
"description": "description",
"schema": {
"properties": {},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"201": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"owner_id": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
},
"username": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/bots/{botId}": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "botId",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "include_deleted",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"owner_id": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
},
"username": {
"type": "string"
}
},
"type": "object"
}
},
"304": {
"description": "description",
"schema": {
"properties": {},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "botId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"owner_id": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
},
"username": {
"type": "string"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/bots/{botId}/assign/{assignId}": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "botId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "assignId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"owner_id": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
},
"username": {
"type": "string"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/bots/{botId}/disable": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "botId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"owner_id": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
},
"username": {
"type": "string"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/bots/{botId}/enable": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "botId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"owner_id": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
},
"username": {
"type": "string"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/brand/image": {
"delete": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"consumes": [
"multipart/form-data; boundary=4927911e0d4db5366314d201bf6f4d1661f6075e285b435f83a44bfb5117",
"multipart/form-data; boundary=e0f55b256d2cad3318e6a12d121dc47ca1d5bd9ecd1929ffc9022288a628"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"description": "description",
"in": "body",
"name": "body",
"schema": {
"type": "string"
}
}
],
"responses": {
"201": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/caches/invalidate": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/channels": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"display_name": {
"type": "string"
},
"extra_update_at": {
"type": "integer"
},
"header": {
"type": "string"
},
"id": {
"type": "string"
},
"last_post_at": {
"type": "integer"
},
"name": {
"type": "string"
},
"purpose": {
"type": "string"
},
"team_display_name": {
"type": "string"
},
"team_id": {
"type": "string"
},
"team_name": {
"type": "string"
},
"team_update_at": {
"type": "integer"
},
"total_msg_count": {
"type": "integer"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"201": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"display_name": {
"type": "string"
},
"extra_update_at": {
"type": "integer"
},
"group_constrained": {
"type": "boolean"
},
"header": {
"type": "string"
},
"id": {
"type": "string"
},
"last_post_at": {
"type": "integer"
},
"name": {
"type": "string"
},
"purpose": {
"type": "string"
},
"team_id": {
"type": "string"
},
"total_msg_count": {
"type": "integer"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/channels/members/{user_id}/view": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "memberId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"last_viewed_at_times": {
"properties": {
"sbr85t8oj7br9d1p99e3x8tkhh": {
"type": "integer"
}
},
"type": "object"
},
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/channels/{channel_id}": {
"delete": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"display_name": {
"type": "string"
},
"extra_update_at": {
"type": "integer"
},
"header": {
"type": "string"
},
"id": {
"type": "string"
},
"last_post_at": {
"type": "integer"
},
"name": {
"type": "string"
},
"purpose": {
"type": "string"
},
"team_id": {
"type": "string"
},
"total_msg_count": {
"type": "integer"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"display_name": {
"type": "string"
},
"extra_update_at": {
"type": "integer"
},
"header": {
"type": "string"
},
"id": {
"type": "string"
},
"last_post_at": {
"type": "integer"
},
"name": {
"type": "string"
},
"purpose": {
"type": "string"
},
"team_display_name": {
"type": "string"
},
"team_id": {
"type": "string"
},
"team_name": {
"type": "string"
},
"team_update_at": {
"type": "integer"
},
"total_msg_count": {
"type": "integer"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"201": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"display_name": {
"type": "string"
},
"extra_update_at": {
"type": "integer"
},
"header": {
"type": "string"
},
"id": {
"type": "string"
},
"last_post_at": {
"type": "integer"
},
"name": {
"type": "string"
},
"purpose": {
"type": "string"
},
"team_id": {
"type": "string"
},
"total_msg_count": {
"type": "integer"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"display_name": {
"type": "string"
},
"extra_update_at": {
"type": "integer"
},
"group_constrained": {
"type": "boolean"
},
"header": {
"type": "string"
},
"id": {
"type": "string"
},
"last_post_at": {
"type": "integer"
},
"name": {
"type": "string"
},
"purpose": {
"type": "string"
},
"team_id": {
"type": "string"
},
"total_msg_count": {
"type": "integer"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/channels/{channel_id}/convert": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"display_name": {
"type": "string"
},
"extra_update_at": {
"type": "integer"
},
"header": {
"type": "string"
},
"id": {
"type": "string"
},
"last_post_at": {
"type": "integer"
},
"name": {
"type": "string"
},
"purpose": {
"type": "string"
},
"team_id": {
"type": "string"
},
"total_msg_count": {
"type": "integer"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/channels/{channel_id}/groups": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"has_syncables": {
"type": "boolean"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"remote_id": {
"type": "string"
},
"source": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/channels/{channel_id}/members": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"channel_id": {
"type": "string"
},
"explicit_roles": {
"type": "string"
},
"last_update_at": {
"type": "integer"
},
"last_viewed_at": {
"type": "integer"
},
"mention_count": {
"type": "integer"
},
"msg_count": {
"type": "integer"
},
"notify_props": {
"properties": {
"desktop": {
"type": "string"
},
"email": {
"type": "string"
},
"ignore_channel_mentions": {
"type": "string"
},
"mark_unread": {
"type": "string"
},
"push": {
"type": "string"
}
},
"type": "object"
},
"roles": {
"type": "string"
},
"scheme_admin": {
"type": "boolean"
},
"scheme_user": {
"type": "boolean"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description"
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
}
],
"responses": {
"201": {
"description": "description",
"schema": {
"properties": {
"channel_id": {
"type": "string"
},
"explicit_roles": {
"type": "string"
},
"last_update_at": {
"type": "integer"
},
"last_viewed_at": {
"type": "integer"
},
"mention_count": {
"type": "integer"
},
"msg_count": {
"type": "integer"
},
"notify_props": {
"properties": {
"desktop": {
"type": "string"
},
"email": {
"type": "string"
},
"ignore_channel_mentions": {
"type": "string"
},
"mark_unread": {
"type": "string"
},
"push": {
"type": "string"
}
},
"type": "object"
},
"roles": {
"type": "string"
},
"scheme_admin": {
"type": "boolean"
},
"scheme_user": {
"type": "boolean"
},
"user_id": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/channels/{channel_id}/members/{user_id}": {
"delete": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "memberId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "memberId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"channel_id": {
"type": "string"
},
"explicit_roles": {
"type": "string"
},
"last_update_at": {
"type": "integer"
},
"last_viewed_at": {
"type": "integer"
},
"mention_count": {
"type": "integer"
},
"msg_count": {
"type": "integer"
},
"notify_props": {
"properties": {
"desktop": {
"type": "string"
},
"email": {
"type": "string"
},
"ignore_channel_mentions": {
"type": "string"
},
"mark_unread": {
"type": "string"
},
"push": {
"type": "string"
}
},
"type": "object"
},
"roles": {
"type": "string"
},
"scheme_admin": {
"type": "boolean"
},
"scheme_user": {
"type": "boolean"
},
"user_id": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "memberId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"channel_id": {
"type": "string"
},
"explicit_roles": {
"type": "string"
},
"last_update_at": {
"type": "integer"
},
"last_viewed_at": {
"type": "integer"
},
"mention_count": {
"type": "integer"
},
"msg_count": {
"type": "integer"
},
"notify_props": {
"properties": {
"desktop": {
"type": "string"
},
"email": {
"type": "string"
},
"ignore_channel_mentions": {
"type": "string"
},
"mark_unread": {
"type": "string"
},
"push": {
"type": "string"
}
},
"type": "object"
},
"roles": {
"type": "string"
},
"scheme_admin": {
"type": "boolean"
},
"scheme_user": {
"type": "boolean"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/channels/{channel_id}/members/{user_id}/notify_props": {
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "memberId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/channels/{channel_id}/members/{user_id}/roles": {
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "memberId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/channels/{channel_id}/members/{user_id}/schemeRoles": {
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "memberId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/channels/{channel_id}/patch": {
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"display_name": {
"type": "string"
},
"extra_update_at": {
"type": "integer"
},
"group_constrained": {
"type": "boolean"
},
"header": {
"type": "string"
},
"id": {
"type": "string"
},
"last_post_at": {
"type": "integer"
},
"name": {
"type": "string"
},
"purpose": {
"type": "string"
},
"team_id": {
"type": "string"
},
"total_msg_count": {
"type": "integer"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/channels/{channel_id}/pinned": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"order": {
"items": {
"type": "string"
},
"type": "array"
},
"posts": {
"properties": {
"hquafhgg7by7tqud9odm5krdmw": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
},
"304": {
"description": "description",
"schema": {
"properties": {},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/channels/{channel_id}/posts": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "since",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "before",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "after",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"order": {
"items": {
"type": "string"
},
"type": "array"
},
"posts": {
"properties": {
"3ohidwidd7nqjf7ym3bqeko1qa": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"3pspma18t3dhbbwbyujiwekwha": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"757nohb5c7fiix7e56c9arhgir": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"7jtbowwkef8xbgh4cshqgg7h1y": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"7opajw5hobfqdf4e19m15y1jgh": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"afu7jhb3pfd9zysmy8gxsw3u3a": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {
"username": {
"type": "string"
}
},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"asbotk8hxjn6ipox15t583g9xc": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"fa8bg3aejpfbbmb1dqw1qno4fe": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"g1ce767wabfwdbxn8gu65uaytr": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"ic9i3f3pxpdipgbj3tddsfp3xe": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"izco41uskpf6jym36rimxqfqde": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {
"username": {
"type": "string"
}
},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"jy17nwstp7gb88xquywoytzbuh": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {
"username": {
"type": "string"
}
},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"k1ud1mgihpgq3dkc8585e96gky": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"m8kibc4bgib1ip3e3izoyw8ixh": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"nohnf313t3gifqbmtu6cew948r": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"ny6b9d5onpngixsiqamcpfrpwh": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"p6yncn6so3yw7k5ddnzrmg94bw": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"qm73agyqrtdxzxkd4tpbrbiuwc": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {
"username": {
"type": "string"
}
},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"swhyb8gozbyt986uh5dkdo1brw": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"u61arcunopghfx9ut79tk37nkc": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"wss85rndc7du3j6nzh1jnj9tuc": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"xq3phqzdqtgoxetytpdzjs6m8c": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"xrbf3ax83b8xjb8uowf96xepwy": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"ydna55ynyir3xgemd83qfxj68y": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
},
"304": {
"description": "description",
"schema": {
"properties": {},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/channels/{channel_id}/restore": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"display_name": {
"type": "string"
},
"extra_update_at": {
"type": "integer"
},
"header": {
"type": "string"
},
"id": {
"type": "string"
},
"last_post_at": {
"type": "integer"
},
"name": {
"type": "string"
},
"purpose": {
"type": "string"
},
"team_id": {
"type": "string"
},
"total_msg_count": {
"type": "integer"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/channels/{channel_id}/scheme": {
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/channels/{channel_id}/stats": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"channel_id": {
"type": "string"
},
"member_count": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/channels/{channel_id}/timezones": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"type": "string"
},
"type": "array"
}
}
}
}
},
"/cluster/status": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {},
"type": "array"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/commands": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "team_id",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "custom_only",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"auto_complete": {
"type": "boolean"
},
"auto_complete_desc": {
"type": "string"
},
"auto_complete_hint": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"id": {
"type": "string"
},
"method": {
"type": "string"
},
"team_id": {
"type": "string"
},
"token": {
"type": "string"
},
"trigger": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"url": {
"type": "string"
},
"username": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"201": {
"description": "description",
"schema": {
"properties": {
"auto_complete": {
"type": "boolean"
},
"auto_complete_desc": {
"type": "string"
},
"auto_complete_hint": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"id": {
"type": "string"
},
"method": {
"type": "string"
},
"team_id": {
"type": "string"
},
"token": {
"type": "string"
},
"trigger": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"url": {
"type": "string"
},
"username": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/commands/{command_id}": {
"delete": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "commandId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "commandId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"channel_id": {
"type": "string"
},
"goto_location": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"props": {
"properties": {
"from_webhook": {
"type": "string"
},
"someprop": {
"type": "string"
}
},
"type": "object"
},
"response_type": {
"type": "string"
},
"text": {
"type": "string"
},
"trigger_id": {
"type": "string"
},
"type": {
"type": "string"
},
"username": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "commandId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"auto_complete": {
"type": "boolean"
},
"auto_complete_desc": {
"type": "string"
},
"auto_complete_hint": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"id": {
"type": "string"
},
"method": {
"type": "string"
},
"team_id": {
"type": "string"
},
"token": {
"type": "string"
},
"trigger": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"url": {
"type": "string"
},
"username": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/commands/{command_id}/regen_token": {
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "commandId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"token": {
"type": "string"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/config": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"AnalyticsSettings": {
"properties": {
"MaxUsersForStatistics": {
"type": "integer"
}
},
"type": "object"
},
"AnnouncementSettings": {
"properties": {
"AllowBannerDismissal": {
"type": "boolean"
},
"BannerColor": {
"type": "string"
},
"BannerText": {
"type": "string"
},
"BannerTextColor": {
"type": "string"
},
"EnableBanner": {
"type": "boolean"
}
},
"type": "object"
},
"ClientRequirements": {
"properties": {
"AndroidLatestVersion": {
"type": "string"
},
"AndroidMinVersion": {
"type": "string"
},
"DesktopLatestVersion": {
"type": "string"
},
"DesktopMinVersion": {
"type": "string"
},
"IosLatestVersion": {
"type": "string"
},
"IosMinVersion": {
"type": "string"
}
},
"type": "object"
},
"ClusterSettings": {
"properties": {
"ClusterName": {
"type": "string"
},
"Enable": {
"type": "boolean"
},
"GossipPort": {
"type": "integer"
},
"IdleConnTimeoutMilliseconds": {
"type": "integer"
},
"MaxIdleConns": {
"type": "integer"
},
"MaxIdleConnsPerHost": {
"type": "integer"
},
"OverrideHostname": {
"type": "string"
},
"ReadOnlyConfig": {
"type": "boolean"
},
"StreamingPort": {
"type": "integer"
},
"UseExperimentalGossip": {
"type": "boolean"
},
"UseIpAddress": {
"type": "boolean"
}
},
"type": "object"
},
"ComplianceSettings": {
"properties": {
"Directory": {
"type": "string"
},
"Enable": {
"type": "boolean"
},
"EnableDaily": {
"type": "boolean"
}
},
"type": "object"
},
"DataRetentionSettings": {
"properties": {
"DeletionJobStartTime": {
"type": "string"
},
"EnableFileDeletion": {
"type": "boolean"
},
"EnableMessageDeletion": {
"type": "boolean"
},
"FileRetentionDays": {
"type": "integer"
},
"MessageRetentionDays": {
"type": "integer"
}
},
"type": "object"
},
"DisplaySettings": {
"properties": {
"CustomUrlSchemes": {
"items": {},
"type": "array"
},
"ExperimentalTimezone": {
"type": "boolean"
}
},
"type": "object"
},
"ElasticsearchSettings": {
"properties": {
"AggregatePostsAfterDays": {
"type": "integer"
},
"BulkIndexingTimeWindowSeconds": {
"type": "integer"
},
"ChannelIndexReplicas": {
"type": "integer"
},
"ChannelIndexShards": {
"type": "integer"
},
"ConnectionUrl": {
"type": "string"
},
"EnableAutocomplete": {
"type": "boolean"
},
"EnableIndexing": {
"type": "boolean"
},
"EnableSearching": {
"type": "boolean"
},
"IndexPrefix": {
"type": "string"
},
"LiveIndexingBatchSize": {
"type": "integer"
},
"Password": {
"type": "string"
},
"PostIndexReplicas": {
"type": "integer"
},
"PostIndexShards": {
"type": "integer"
},
"PostsAggregatorJobStartTime": {
"type": "string"
},
"RequestTimeoutSeconds": {
"type": "integer"
},
"Sniff": {
"type": "boolean"
},
"UserIndexReplicas": {
"type": "integer"
},
"UserIndexShards": {
"type": "integer"
},
"Username": {
"type": "string"
}
},
"type": "object"
},
"EmailSettings": {
"properties": {
"ConnectionSecurity": {
"type": "string"
},
"EmailBatchingBufferSize": {
"type": "integer"
},
"EmailBatchingInterval": {
"type": "integer"
},
"EmailNotificationContentsType": {
"type": "string"
},
"EnableEmailBatching": {
"type": "boolean"
},
"EnablePreviewModeBanner": {
"type": "boolean"
},
"EnableSMTPAuth": {
"type": "boolean"
},
"EnableSignInWithEmail": {
"type": "boolean"
},
"EnableSignInWithUsername": {
"type": "boolean"
},
"EnableSignUpWithEmail": {
"type": "boolean"
},
"FeedbackEmail": {
"type": "string"
},
"FeedbackName": {
"type": "string"
},
"FeedbackOrganization": {
"type": "string"
},
"LoginButtonBorderColor": {
"type": "string"
},
"LoginButtonColor": {
"type": "string"
},
"LoginButtonTextColor": {
"type": "string"
},
"PushNotificationContents": {
"type": "string"
},
"PushNotificationServer": {
"type": "string"
},
"ReplyToAddress": {
"type": "string"
},
"RequireEmailVerification": {
"type": "boolean"
},
"SMTPPassword": {
"type": "string"
},
"SMTPPort": {
"type": "string"
},
"SMTPServer": {
"type": "string"
},
"SMTPUsername": {
"type": "string"
},
"SendEmailNotifications": {
"type": "boolean"
},
"SendPushNotifications": {
"type": "boolean"
},
"SkipServerCertificateVerification": {
"type": "boolean"
},
"UseChannelInEmailNotifications": {
"type": "boolean"
}
},
"type": "object"
},
"ExperimentalSettings": {
"properties": {
"ClientSideCertCheck": {
"type": "string"
},
"ClientSideCertEnable": {
"type": "boolean"
},
"DisablePostMetadata": {
"type": "boolean"
},
"EnableClickToReply": {
"type": "boolean"
},
"LinkMetadataTimeoutMilliseconds": {
"type": "integer"
},
"RestrictSystemAdmin": {
"type": "boolean"
}
},
"type": "object"
},
"FileSettings": {
"properties": {
"AmazonS3AccessKeyId": {
"type": "string"
},
"AmazonS3Bucket": {
"type": "string"
},
"AmazonS3Endpoint": {
"type": "string"
},
"AmazonS3Region": {
"type": "string"
},
"AmazonS3SSE": {
"type": "boolean"
},
"AmazonS3SSL": {
"type": "boolean"
},
"AmazonS3SecretAccessKey": {
"type": "string"
},
"AmazonS3SignV2": {
"type": "boolean"
},
"AmazonS3Trace": {
"type": "boolean"
},
"Directory": {
"type": "string"
},
"DriverName": {
"type": "string"
},
"EnableFileAttachments": {
"type": "boolean"
},
"EnableMobileDownload": {
"type": "boolean"
},
"EnableMobileUpload": {
"type": "boolean"
},
"EnablePublicLink": {
"type": "boolean"
},
"InitialFont": {
"type": "string"
},
"MaxFileSize": {
"type": "integer"
},
"PublicLinkSalt": {
"type": "string"
}
},
"type": "object"
},
"GitLabSettings": {
"properties": {
"AuthEndpoint": {
"type": "string"
},
"Enable": {
"type": "boolean"
},
"Id": {
"type": "string"
},
"Scope": {
"type": "string"
},
"Secret": {
"type": "string"
},
"TokenEndpoint": {
"type": "string"
},
"UserApiEndpoint": {
"type": "string"
}
},
"type": "object"
},
"GoogleSettings": {
"properties": {
"AuthEndpoint": {
"type": "string"
},
"Enable": {
"type": "boolean"
},
"Id": {
"type": "string"
},
"Scope": {
"type": "string"
},
"Secret": {
"type": "string"
},
"TokenEndpoint": {
"type": "string"
},
"UserApiEndpoint": {
"type": "string"
}
},
"type": "object"
},
"ImageProxySettings": {
"properties": {
"Enable": {
"type": "boolean"
},
"ImageProxyType": {
"type": "string"
},
"RemoteImageProxyOptions": {
"type": "string"
},
"RemoteImageProxyURL": {
"type": "string"
}
},
"type": "object"
},
"JobSettings": {
"properties": {
"RunJobs": {
"type": "boolean"
},
"RunScheduler": {
"type": "boolean"
}
},
"type": "object"
},
"LdapSettings": {
"properties": {
"BaseDN": {
"type": "string"
},
"BindPassword": {
"type": "string"
},
"BindUsername": {
"type": "string"
},
"ConnectionSecurity": {
"type": "string"
},
"EmailAttribute": {
"type": "string"
},
"Enable": {
"type": "boolean"
},
"EnableSync": {
"type": "boolean"
},
"FirstNameAttribute": {
"type": "string"
},
"GroupDisplayNameAttribute": {
"type": "string"
},
"GroupFilter": {
"type": "string"
},
"GroupIdAttribute": {
"type": "string"
},
"IdAttribute": {
"type": "string"
},
"LastNameAttribute": {
"type": "string"
},
"LdapPort": {
"type": "integer"
},
"LdapServer": {
"type": "string"
},
"LoginButtonBorderColor": {
"type": "string"
},
"LoginButtonColor": {
"type": "string"
},
"LoginButtonTextColor": {
"type": "string"
},
"LoginFieldName": {
"type": "string"
},
"LoginIdAttribute": {
"type": "string"
},
"MaxPageSize": {
"type": "integer"
},
"NicknameAttribute": {
"type": "string"
},
"PositionAttribute": {
"type": "string"
},
"QueryTimeout": {
"type": "integer"
},
"SkipCertificateVerification": {
"type": "boolean"
},
"SyncIntervalMinutes": {
"type": "integer"
},
"UserFilter": {
"type": "string"
},
"UsernameAttribute": {
"type": "string"
}
},
"type": "object"
},
"LocalizationSettings": {
"properties": {
"AvailableLocales": {
"type": "string"
},
"DefaultClientLocale": {
"type": "string"
},
"DefaultServerLocale": {
"type": "string"
}
},
"type": "object"
},
"LogSettings": {
"properties": {
"ConsoleJson": {
"type": "boolean"
},
"ConsoleLevel": {
"type": "string"
},
"EnableConsole": {
"type": "boolean"
},
"EnableDiagnostics": {
"type": "boolean"
},
"EnableFile": {
"type": "boolean"
},
"EnableWebhookDebugging": {
"type": "boolean"
},
"FileJson": {
"type": "boolean"
},
"FileLevel": {
"type": "string"
},
"FileLocation": {
"type": "string"
}
},
"type": "object"
},
"MessageExportSettings": {
"properties": {
"BatchSize": {
"type": "integer"
},
"DailyRunTime": {
"type": "string"
},
"EnableExport": {
"type": "boolean"
},
"ExportFormat": {
"type": "string"
},
"ExportFromTimestamp": {
"type": "integer"
},
"GlobalRelaySettings": {
"properties": {
"CustomerType": {
"type": "string"
},
"EmailAddress": {
"type": "string"
},
"SmtpPassword": {
"type": "string"
},
"SmtpUsername": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"MetricsSettings": {
"properties": {
"BlockProfileRate": {
"type": "integer"
},
"Enable": {
"type": "boolean"
},
"ListenAddress": {
"type": "string"
}
},
"type": "object"
},
"NativeAppSettings": {
"properties": {
"AndroidAppDownloadLink": {
"type": "string"
},
"AppDownloadLink": {
"type": "string"
},
"IosAppDownloadLink": {
"type": "string"
}
},
"type": "object"
},
"Office365Settings": {
"properties": {
"AuthEndpoint": {
"type": "string"
},
"Enable": {
"type": "boolean"
},
"Id": {
"type": "string"
},
"Scope": {
"type": "string"
},
"Secret": {
"type": "string"
},
"TokenEndpoint": {
"type": "string"
},
"UserApiEndpoint": {
"type": "string"
}
},
"type": "object"
},
"PasswordSettings": {
"properties": {
"Lowercase": {
"type": "boolean"
},
"MinimumLength": {
"type": "integer"
},
"integer": {
"type": "boolean"
},
"Symbol": {
"type": "boolean"
},
"Uppercase": {
"type": "boolean"
}
},
"type": "object"
},
"PluginSettings": {
"properties": {
"ClientDirectory": {
"type": "string"
},
"Directory": {
"type": "string"
},
"Enable": {
"type": "boolean"
},
"EnableUploads": {
"type": "boolean"
},
"PluginStates": {
"properties": {
"com.mattermost.nps": {
"properties": {
"Enable": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
},
"Plugins": {
"properties": {},
"type": "object"
}
},
"type": "object"
},
"PrivacySettings": {
"properties": {
"ShowEmailAddress": {
"type": "boolean"
},
"ShowFullName": {
"type": "boolean"
}
},
"type": "object"
},
"RateLimitSettings": {
"properties": {
"Enable": {
"type": "boolean"
},
"MaxBurst": {
"type": "integer"
},
"MemoryStoreSize": {
"type": "integer"
},
"PerSec": {
"type": "integer"
},
"VaryByHeader": {
"type": "string"
},
"VaryByRemoteAddr": {
"type": "boolean"
},
"VaryByUser": {
"type": "boolean"
}
},
"type": "object"
},
"SamlSettings": {
"properties": {
"AssertionConsumerServiceURL": {
"type": "string"
},
"EmailAttribute": {
"type": "string"
},
"Enable": {
"type": "boolean"
},
"EnableSyncWithLdap": {
"type": "boolean"
},
"EnableSyncWithLdapIncludeAuth": {
"type": "boolean"
},
"Encrypt": {
"type": "boolean"
},
"FirstNameAttribute": {
"type": "string"
},
"IdAttribute": {
"type": "string"
},
"IdpCertificateFile": {
"type": "string"
},
"IdpDescriptorUrl": {
"type": "string"
},
"IdpUrl": {
"type": "string"
},
"LastNameAttribute": {
"type": "string"
},
"LocaleAttribute": {
"type": "string"
},
"LoginButtonBorderColor": {
"type": "string"
},
"LoginButtonColor": {
"type": "string"
},
"LoginButtonText": {
"type": "string"
},
"LoginButtonTextColor": {
"type": "string"
},
"NicknameAttribute": {
"type": "string"
},
"PositionAttribute": {
"type": "string"
},
"PrivateKeyFile": {
"type": "string"
},
"PublicCertificateFile": {
"type": "string"
},
"ScopingIDPName": {
"type": "string"
},
"ScopingIDPProviderId": {
"type": "string"
},
"UsernameAttribute": {
"type": "string"
},
"Verify": {
"type": "boolean"
}
},
"type": "object"
},
"ServiceSettings": {
"properties": {
"AllowCookiesForSubdomains": {
"type": "boolean"
},
"AllowCorsFrom": {
"type": "string"
},
"AllowEditPost": {
"type": "string"
},
"AllowedUntrustedInternalConnections": {
"type": "string"
},
"CloseUnusedDirectMessages": {
"type": "boolean"
},
"ClusterLogTimeoutMilliseconds": {
"type": "integer"
},
"ConnectionSecurity": {
"type": "string"
},
"CorsAllowCredentials": {
"type": "boolean"
},
"CorsDebug": {
"type": "boolean"
},
"CorsExposedHeaders": {
"type": "string"
},
"DisableBotsWhenOwnerIsDeactivated": {
"type": "boolean"
},
"DisableLegacyMFA": {
"type": "boolean"
},
"EnableAPITeamDeletion": {
"type": "boolean"
},
"EnableChannelViewedMessages": {
"type": "boolean"
},
"EnableCommands": {
"type": "boolean"
},
"EnableCustomEmoji": {
"type": "boolean"
},
"EnableDeveloper": {
"type": "boolean"
},
"EnableEmailInvitations": {
"type": "boolean"
},
"EnableEmojiPicker": {
"type": "boolean"
},
"EnableGifPicker": {
"type": "boolean"
},
"EnableIncomingWebhooks": {
"type": "boolean"
},
"EnableInsecureOutgoingConnections": {
"type": "boolean"
},
"EnableLinkPreviews": {
"type": "boolean"
},
"EnableMultifactorAuthentication": {
"type": "boolean"
},
"EnableOAuthServiceProvider": {
"type": "boolean"
},
"EnableOnlyAdminIntegrations": {
"type": "boolean"
},
"EnableOutgoingWebhooks": {
"type": "boolean"
},
"EnablePostIconOverride": {
"type": "boolean"
},
"EnablePostSearch": {
"type": "boolean"
},
"EnablePostUsernameOverride": {
"type": "boolean"
},
"EnablePreviewFeatures": {
"type": "boolean"
},
"EnableSecurityFixAlert": {
"type": "boolean"
},
"EnableTesting": {
"type": "boolean"
},
"EnableTutorial": {
"type": "boolean"
},
"EnableUserAccessTokens": {
"type": "boolean"
},
"EnableUserStatuses": {
"type": "boolean"
},
"EnableUserTypingMessages": {
"type": "boolean"
},
"EnforceMultifactorAuthentication": {
"type": "boolean"
},
"ExperimentalChannelOrganization": {
"type": "boolean"
},
"ExperimentalEnableAuthenticationTransfer": {
"type": "boolean"
},
"ExperimentalEnableDefaultChannelLeaveJoinMessages": {
"type": "boolean"
},
"ExperimentalEnableHardenedMode": {
"type": "boolean"
},
"ExperimentalGroupUnreadChannels": {
"type": "string"
},
"ExperimentalLdapGroupSync": {
"type": "boolean"
},
"ExperimentalStrictCSRFEnforcement": {
"type": "boolean"
},
"Forward80To443": {
"type": "boolean"
},
"GfycatApiKey": {
"type": "string"
},
"GfycatApiSecret": {
"type": "string"
},
"GoogleDeveloperKey": {
"type": "string"
},
"GoroutineHealthThreshold": {
"type": "integer"
},
"ImageProxyOptions": {
"type": "string"
},
"ImageProxyType": {
"type": "string"
},
"ImageProxyURL": {
"type": "string"
},
"LetsEncryptCertificateCacheFile": {
"type": "string"
},
"LicenseFileLocation": {
"type": "string"
},
"ListenAddress": {
"type": "string"
},
"MaximumLoginAttempts": {
"type": "integer"
},
"MinimumHashtagLength": {
"type": "integer"
},
"PostEditTimeLimit": {
"type": "integer"
},
"ReadTimeout": {
"type": "integer"
},
"RestrictCustomEmojiCreation": {
"type": "string"
},
"RestrictPostDelete": {
"type": "string"
},
"SessionCacheInMinutes": {
"type": "integer"
},
"SessionIdleTimeoutInMinutes": {
"type": "integer"
},
"SessionLengthMobileInDays": {
"type": "integer"
},
"SessionLengthSSOInDays": {
"type": "integer"
},
"SessionLengthWebInDays": {
"type": "integer"
},
"SiteURL": {
"type": "string"
},
"TLSCertFile": {
"type": "string"
},
"TLSKeyFile": {
"type": "string"
},
"TLSMinVer": {
"type": "string"
},
"TLSOverwriteCiphers": {
"items": {},
"type": "array"
},
"TLSStrictTransport": {
"type": "boolean"
},
"TLSStrictTransportMaxAge": {
"type": "integer"
},
"TimeBetweenUserTypingUpdatesMilliseconds": {
"type": "integer"
},
"UseLetsEncrypt": {
"type": "boolean"
},
"WebserverMode": {
"type": "string"
},
"WebsocketPort": {
"type": "integer"
},
"WebsocketSecurePort": {
"type": "integer"
},
"WebsocketURL": {
"type": "string"
},
"WriteTimeout": {
"type": "integer"
}
},
"type": "object"
},
"SqlSettings": {
"properties": {
"AtRestEncryptKey": {
"type": "string"
},
"ConnMaxLifetimeMilliseconds": {
"type": "integer"
},
"DataSource": {
"type": "string"
},
"DataSourceReplicas": {
"items": {},
"type": "array"
},
"DataSourceSearchReplicas": {
"items": {},
"type": "array"
},
"DriverName": {
"type": "string"
},
"MaxIdleConns": {
"type": "integer"
},
"MaxOpenConns": {
"type": "integer"
},
"QueryTimeout": {
"type": "integer"
},
"Trace": {
"type": "boolean"
}
},
"type": "object"
},
"SupportSettings": {
"properties": {
"AboutLink": {
"type": "string"
},
"CustomTermsOfServiceEnabled": {
"type": "boolean"
},
"CustomTermsOfServiceReAcceptancePeriod": {
"type": "integer"
},
"HelpLink": {
"type": "string"
},
"PrivacyPolicyLink": {
"type": "string"
},
"ReportAProblemLink": {
"type": "string"
},
"SupportEmail": {
"type": "string"
},
"TermsOfServiceLink": {
"type": "string"
}
},
"type": "object"
},
"TeamSettings": {
"properties": {
"CustomBrandText": {
"type": "string"
},
"CustomDescriptionText": {
"type": "string"
},
"EnableConfirmNotificationsToChannel": {
"type": "boolean"
},
"EnableCustomBrand": {
"type": "boolean"
},
"EnableOpenServer": {
"type": "boolean"
},
"EnableTeamCreation": {
"type": "boolean"
},
"EnableUserCreation": {
"type": "boolean"
},
"EnableUserDeactivation": {
"type": "boolean"
},
"EnableXToLeaveChannelsFromLHS": {
"type": "boolean"
},
"ExperimentalDefaultChannels": {
"items": {},
"type": "array"
},
"ExperimentalEnableAutomaticReplies": {
"type": "boolean"
},
"ExperimentalHideTownSquareinLHS": {
"type": "boolean"
},
"ExperimentalPrimaryTeam": {
"type": "string"
},
"ExperimentalTownSquareIsReadOnly": {
"type": "boolean"
},
"ExperimentalViewArchivedChannels": {
"type": "boolean"
},
"MaxChannelsPerTeam": {
"type": "integer"
},
"MaxNotificationsPerChannel": {
"type": "integer"
},
"MaxUsersPerTeam": {
"type": "integer"
},
"RestrictCreationToDomains": {
"type": "string"
},
"RestrictDirectMessage": {
"type": "string"
},
"RestrictPrivateChannelCreation": {
"type": "string"
},
"RestrictPrivateChannelDeletion": {
"type": "string"
},
"RestrictPrivateChannelManageMembers": {
"type": "string"
},
"RestrictPrivateChannelManagement": {
"type": "string"
},
"RestrictPublicChannelCreation": {
"type": "string"
},
"RestrictPublicChannelDeletion": {
"type": "string"
},
"RestrictPublicChannelManagement": {
"type": "string"
},
"RestrictTeamInvite": {
"type": "string"
},
"SiteName": {
"type": "string"
},
"TeammateNameDisplay": {
"type": "string"
},
"UserStatusAwayTimeout": {
"type": "integer"
}
},
"type": "object"
},
"ThemeSettings": {
"properties": {
"AllowCustomThemes": {
"type": "boolean"
},
"AllowedThemes": {
"items": {},
"type": "array"
},
"DefaultTheme": {
"type": "string"
},
"EnableThemeSelection": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"AnalyticsSettings": {
"properties": {
"MaxUsersForStatistics": {
"type": "integer"
}
},
"type": "object"
},
"AnnouncementSettings": {
"properties": {
"AllowBannerDismissal": {
"type": "boolean"
},
"BannerColor": {
"type": "string"
},
"BannerText": {
"type": "string"
},
"BannerTextColor": {
"type": "string"
},
"EnableBanner": {
"type": "boolean"
}
},
"type": "object"
},
"ClientRequirements": {
"properties": {
"AndroidLatestVersion": {
"type": "string"
},
"AndroidMinVersion": {
"type": "string"
},
"DesktopLatestVersion": {
"type": "string"
},
"DesktopMinVersion": {
"type": "string"
},
"IosLatestVersion": {
"type": "string"
},
"IosMinVersion": {
"type": "string"
}
},
"type": "object"
},
"ClusterSettings": {
"properties": {
"ClusterName": {
"type": "string"
},
"Enable": {
"type": "boolean"
},
"GossipPort": {
"type": "integer"
},
"IdleConnTimeoutMilliseconds": {
"type": "integer"
},
"MaxIdleConns": {
"type": "integer"
},
"MaxIdleConnsPerHost": {
"type": "integer"
},
"OverrideHostname": {
"type": "string"
},
"ReadOnlyConfig": {
"type": "boolean"
},
"StreamingPort": {
"type": "integer"
},
"UseExperimentalGossip": {
"type": "boolean"
},
"UseIpAddress": {
"type": "boolean"
}
},
"type": "object"
},
"ComplianceSettings": {
"properties": {
"Directory": {
"type": "string"
},
"Enable": {
"type": "boolean"
},
"EnableDaily": {
"type": "boolean"
}
},
"type": "object"
},
"DataRetentionSettings": {
"properties": {
"DeletionJobStartTime": {
"type": "string"
},
"EnableFileDeletion": {
"type": "boolean"
},
"EnableMessageDeletion": {
"type": "boolean"
},
"FileRetentionDays": {
"type": "integer"
},
"MessageRetentionDays": {
"type": "integer"
}
},
"type": "object"
},
"DisplaySettings": {
"properties": {
"CustomUrlSchemes": {
"items": {},
"type": "array"
},
"ExperimentalTimezone": {
"type": "boolean"
}
},
"type": "object"
},
"ElasticsearchSettings": {
"properties": {
"AggregatePostsAfterDays": {
"type": "integer"
},
"BulkIndexingTimeWindowSeconds": {
"type": "integer"
},
"ChannelIndexReplicas": {
"type": "integer"
},
"ChannelIndexShards": {
"type": "integer"
},
"ConnectionUrl": {
"type": "string"
},
"EnableAutocomplete": {
"type": "boolean"
},
"EnableIndexing": {
"type": "boolean"
},
"EnableSearching": {
"type": "boolean"
},
"IndexPrefix": {
"type": "string"
},
"LiveIndexingBatchSize": {
"type": "integer"
},
"Password": {
"type": "string"
},
"PostIndexReplicas": {
"type": "integer"
},
"PostIndexShards": {
"type": "integer"
},
"PostsAggregatorJobStartTime": {
"type": "string"
},
"RequestTimeoutSeconds": {
"type": "integer"
},
"Sniff": {
"type": "boolean"
},
"UserIndexReplicas": {
"type": "integer"
},
"UserIndexShards": {
"type": "integer"
},
"Username": {
"type": "string"
}
},
"type": "object"
},
"EmailSettings": {
"properties": {
"ConnectionSecurity": {
"type": "string"
},
"EmailBatchingBufferSize": {
"type": "integer"
},
"EmailBatchingInterval": {
"type": "integer"
},
"EmailNotificationContentsType": {
"type": "string"
},
"EnableEmailBatching": {
"type": "boolean"
},
"EnablePreviewModeBanner": {
"type": "boolean"
},
"EnableSMTPAuth": {
"type": "boolean"
},
"EnableSignInWithEmail": {
"type": "boolean"
},
"EnableSignInWithUsername": {
"type": "boolean"
},
"EnableSignUpWithEmail": {
"type": "boolean"
},
"FeedbackEmail": {
"type": "string"
},
"FeedbackName": {
"type": "string"
},
"FeedbackOrganization": {
"type": "string"
},
"LoginButtonBorderColor": {
"type": "string"
},
"LoginButtonColor": {
"type": "string"
},
"LoginButtonTextColor": {
"type": "string"
},
"PushNotificationContents": {
"type": "string"
},
"PushNotificationServer": {
"type": "string"
},
"ReplyToAddress": {
"type": "string"
},
"RequireEmailVerification": {
"type": "boolean"
},
"SMTPPassword": {
"type": "string"
},
"SMTPPort": {
"type": "string"
},
"SMTPServer": {
"type": "string"
},
"SMTPUsername": {
"type": "string"
},
"SendEmailNotifications": {
"type": "boolean"
},
"SendPushNotifications": {
"type": "boolean"
},
"SkipServerCertificateVerification": {
"type": "boolean"
},
"UseChannelInEmailNotifications": {
"type": "boolean"
}
},
"type": "object"
},
"ExperimentalSettings": {
"properties": {
"ClientSideCertCheck": {
"type": "string"
},
"ClientSideCertEnable": {
"type": "boolean"
},
"DisablePostMetadata": {
"type": "boolean"
},
"EnableClickToReply": {
"type": "boolean"
},
"LinkMetadataTimeoutMilliseconds": {
"type": "integer"
},
"RestrictSystemAdmin": {
"type": "boolean"
}
},
"type": "object"
},
"FileSettings": {
"properties": {
"AmazonS3AccessKeyId": {
"type": "string"
},
"AmazonS3Bucket": {
"type": "string"
},
"AmazonS3Endpoint": {
"type": "string"
},
"AmazonS3Region": {
"type": "string"
},
"AmazonS3SSE": {
"type": "boolean"
},
"AmazonS3SSL": {
"type": "boolean"
},
"AmazonS3SecretAccessKey": {
"type": "string"
},
"AmazonS3SignV2": {
"type": "boolean"
},
"AmazonS3Trace": {
"type": "boolean"
},
"Directory": {
"type": "string"
},
"DriverName": {
"type": "string"
},
"EnableFileAttachments": {
"type": "boolean"
},
"EnableMobileDownload": {
"type": "boolean"
},
"EnableMobileUpload": {
"type": "boolean"
},
"EnablePublicLink": {
"type": "boolean"
},
"InitialFont": {
"type": "string"
},
"MaxFileSize": {
"type": "integer"
},
"PublicLinkSalt": {
"type": "string"
}
},
"type": "object"
},
"GitLabSettings": {
"properties": {
"AuthEndpoint": {
"type": "string"
},
"Enable": {
"type": "boolean"
},
"Id": {
"type": "string"
},
"Scope": {
"type": "string"
},
"Secret": {
"type": "string"
},
"TokenEndpoint": {
"type": "string"
},
"UserApiEndpoint": {
"type": "string"
}
},
"type": "object"
},
"GoogleSettings": {
"properties": {
"AuthEndpoint": {
"type": "string"
},
"Enable": {
"type": "boolean"
},
"Id": {
"type": "string"
},
"Scope": {
"type": "string"
},
"Secret": {
"type": "string"
},
"TokenEndpoint": {
"type": "string"
},
"UserApiEndpoint": {
"type": "string"
}
},
"type": "object"
},
"ImageProxySettings": {
"properties": {
"Enable": {
"type": "boolean"
},
"ImageProxyType": {
"type": "string"
},
"RemoteImageProxyOptions": {
"type": "string"
},
"RemoteImageProxyURL": {
"type": "string"
}
},
"type": "object"
},
"JobSettings": {
"properties": {
"RunJobs": {
"type": "boolean"
},
"RunScheduler": {
"type": "boolean"
}
},
"type": "object"
},
"LdapSettings": {
"properties": {
"BaseDN": {
"type": "string"
},
"BindPassword": {
"type": "string"
},
"BindUsername": {
"type": "string"
},
"ConnectionSecurity": {
"type": "string"
},
"EmailAttribute": {
"type": "string"
},
"Enable": {
"type": "boolean"
},
"EnableSync": {
"type": "boolean"
},
"FirstNameAttribute": {
"type": "string"
},
"GroupDisplayNameAttribute": {
"type": "string"
},
"GroupFilter": {
"type": "string"
},
"GroupIdAttribute": {
"type": "string"
},
"IdAttribute": {
"type": "string"
},
"LastNameAttribute": {
"type": "string"
},
"LdapPort": {
"type": "integer"
},
"LdapServer": {
"type": "string"
},
"LoginButtonBorderColor": {
"type": "string"
},
"LoginButtonColor": {
"type": "string"
},
"LoginButtonTextColor": {
"type": "string"
},
"LoginFieldName": {
"type": "string"
},
"LoginIdAttribute": {
"type": "string"
},
"MaxPageSize": {
"type": "integer"
},
"NicknameAttribute": {
"type": "string"
},
"PositionAttribute": {
"type": "string"
},
"QueryTimeout": {
"type": "integer"
},
"SkipCertificateVerification": {
"type": "boolean"
},
"SyncIntervalMinutes": {
"type": "integer"
},
"UserFilter": {
"type": "string"
},
"UsernameAttribute": {
"type": "string"
}
},
"type": "object"
},
"LocalizationSettings": {
"properties": {
"AvailableLocales": {
"type": "string"
},
"DefaultClientLocale": {
"type": "string"
},
"DefaultServerLocale": {
"type": "string"
}
},
"type": "object"
},
"LogSettings": {
"properties": {
"ConsoleJson": {
"type": "boolean"
},
"ConsoleLevel": {
"type": "string"
},
"EnableConsole": {
"type": "boolean"
},
"EnableDiagnostics": {
"type": "boolean"
},
"EnableFile": {
"type": "boolean"
},
"EnableWebhookDebugging": {
"type": "boolean"
},
"FileJson": {
"type": "boolean"
},
"FileLevel": {
"type": "string"
},
"FileLocation": {
"type": "string"
}
},
"type": "object"
},
"MessageExportSettings": {
"properties": {
"BatchSize": {
"type": "integer"
},
"DailyRunTime": {
"type": "string"
},
"EnableExport": {
"type": "boolean"
},
"ExportFormat": {
"type": "string"
},
"ExportFromTimestamp": {
"type": "integer"
},
"GlobalRelaySettings": {
"properties": {
"CustomerType": {
"type": "string"
},
"EmailAddress": {
"type": "string"
},
"SmtpPassword": {
"type": "string"
},
"SmtpUsername": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"MetricsSettings": {
"properties": {
"BlockProfileRate": {
"type": "integer"
},
"Enable": {
"type": "boolean"
},
"ListenAddress": {
"type": "string"
}
},
"type": "object"
},
"NativeAppSettings": {
"properties": {
"AndroidAppDownloadLink": {
"type": "string"
},
"AppDownloadLink": {
"type": "string"
},
"IosAppDownloadLink": {
"type": "string"
}
},
"type": "object"
},
"Office365Settings": {
"properties": {
"AuthEndpoint": {
"type": "string"
},
"Enable": {
"type": "boolean"
},
"Id": {
"type": "string"
},
"Scope": {
"type": "string"
},
"Secret": {
"type": "string"
},
"TokenEndpoint": {
"type": "string"
},
"UserApiEndpoint": {
"type": "string"
}
},
"type": "object"
},
"PasswordSettings": {
"properties": {
"Lowercase": {
"type": "boolean"
},
"MinimumLength": {
"type": "integer"
},
"integer": {
"type": "boolean"
},
"Symbol": {
"type": "boolean"
},
"Uppercase": {
"type": "boolean"
}
},
"type": "object"
},
"PluginSettings": {
"properties": {
"ClientDirectory": {
"type": "string"
},
"Directory": {
"type": "string"
},
"Enable": {
"type": "boolean"
},
"EnableUploads": {
"type": "boolean"
},
"PluginStates": {
"properties": {
"com.mattermost.nps": {
"properties": {
"Enable": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
},
"Plugins": {
"properties": {},
"type": "object"
}
},
"type": "object"
},
"PrivacySettings": {
"properties": {
"ShowEmailAddress": {
"type": "boolean"
},
"ShowFullName": {
"type": "boolean"
}
},
"type": "object"
},
"RateLimitSettings": {
"properties": {
"Enable": {
"type": "boolean"
},
"MaxBurst": {
"type": "integer"
},
"MemoryStoreSize": {
"type": "integer"
},
"PerSec": {
"type": "integer"
},
"VaryByHeader": {
"type": "string"
},
"VaryByRemoteAddr": {
"type": "boolean"
},
"VaryByUser": {
"type": "boolean"
}
},
"type": "object"
},
"SamlSettings": {
"properties": {
"AssertionConsumerServiceURL": {
"type": "string"
},
"EmailAttribute": {
"type": "string"
},
"Enable": {
"type": "boolean"
},
"EnableSyncWithLdap": {
"type": "boolean"
},
"EnableSyncWithLdapIncludeAuth": {
"type": "boolean"
},
"Encrypt": {
"type": "boolean"
},
"FirstNameAttribute": {
"type": "string"
},
"IdAttribute": {
"type": "string"
},
"IdpCertificateFile": {
"type": "string"
},
"IdpDescriptorUrl": {
"type": "string"
},
"IdpUrl": {
"type": "string"
},
"LastNameAttribute": {
"type": "string"
},
"LocaleAttribute": {
"type": "string"
},
"LoginButtonBorderColor": {
"type": "string"
},
"LoginButtonColor": {
"type": "string"
},
"LoginButtonText": {
"type": "string"
},
"LoginButtonTextColor": {
"type": "string"
},
"NicknameAttribute": {
"type": "string"
},
"PositionAttribute": {
"type": "string"
},
"PrivateKeyFile": {
"type": "string"
},
"PublicCertificateFile": {
"type": "string"
},
"ScopingIDPName": {
"type": "string"
},
"ScopingIDPProviderId": {
"type": "string"
},
"UsernameAttribute": {
"type": "string"
},
"Verify": {
"type": "boolean"
}
},
"type": "object"
},
"ServiceSettings": {
"properties": {
"AllowCookiesForSubdomains": {
"type": "boolean"
},
"AllowCorsFrom": {
"type": "string"
},
"AllowEditPost": {
"type": "string"
},
"AllowedUntrustedInternalConnections": {
"type": "string"
},
"CloseUnusedDirectMessages": {
"type": "boolean"
},
"ClusterLogTimeoutMilliseconds": {
"type": "integer"
},
"ConnectionSecurity": {
"type": "string"
},
"CorsAllowCredentials": {
"type": "boolean"
},
"CorsDebug": {
"type": "boolean"
},
"CorsExposedHeaders": {
"type": "string"
},
"DisableBotsWhenOwnerIsDeactivated": {
"type": "boolean"
},
"DisableLegacyMFA": {
"type": "boolean"
},
"EnableAPITeamDeletion": {
"type": "boolean"
},
"EnableChannelViewedMessages": {
"type": "boolean"
},
"EnableCommands": {
"type": "boolean"
},
"EnableCustomEmoji": {
"type": "boolean"
},
"EnableDeveloper": {
"type": "boolean"
},
"EnableEmailInvitations": {
"type": "boolean"
},
"EnableEmojiPicker": {
"type": "boolean"
},
"EnableGifPicker": {
"type": "boolean"
},
"EnableIncomingWebhooks": {
"type": "boolean"
},
"EnableInsecureOutgoingConnections": {
"type": "boolean"
},
"EnableLinkPreviews": {
"type": "boolean"
},
"EnableMultifactorAuthentication": {
"type": "boolean"
},
"EnableOAuthServiceProvider": {
"type": "boolean"
},
"EnableOnlyAdminIntegrations": {
"type": "boolean"
},
"EnableOutgoingWebhooks": {
"type": "boolean"
},
"EnablePostIconOverride": {
"type": "boolean"
},
"EnablePostSearch": {
"type": "boolean"
},
"EnablePostUsernameOverride": {
"type": "boolean"
},
"EnablePreviewFeatures": {
"type": "boolean"
},
"EnableSecurityFixAlert": {
"type": "boolean"
},
"EnableTesting": {
"type": "boolean"
},
"EnableTutorial": {
"type": "boolean"
},
"EnableUserAccessTokens": {
"type": "boolean"
},
"EnableUserStatuses": {
"type": "boolean"
},
"EnableUserTypingMessages": {
"type": "boolean"
},
"EnforceMultifactorAuthentication": {
"type": "boolean"
},
"ExperimentalChannelOrganization": {
"type": "boolean"
},
"ExperimentalEnableAuthenticationTransfer": {
"type": "boolean"
},
"ExperimentalEnableDefaultChannelLeaveJoinMessages": {
"type": "boolean"
},
"ExperimentalEnableHardenedMode": {
"type": "boolean"
},
"ExperimentalGroupUnreadChannels": {
"type": "string"
},
"ExperimentalLdapGroupSync": {
"type": "boolean"
},
"ExperimentalStrictCSRFEnforcement": {
"type": "boolean"
},
"Forward80To443": {
"type": "boolean"
},
"GfycatApiKey": {
"type": "string"
},
"GfycatApiSecret": {
"type": "string"
},
"GoogleDeveloperKey": {
"type": "string"
},
"GoroutineHealthThreshold": {
"type": "integer"
},
"ImageProxyOptions": {
"type": "string"
},
"ImageProxyType": {
"type": "string"
},
"ImageProxyURL": {
"type": "string"
},
"LetsEncryptCertificateCacheFile": {
"type": "string"
},
"LicenseFileLocation": {
"type": "string"
},
"ListenAddress": {
"type": "string"
},
"MaximumLoginAttempts": {
"type": "integer"
},
"MinimumHashtagLength": {
"type": "integer"
},
"PostEditTimeLimit": {
"type": "integer"
},
"ReadTimeout": {
"type": "integer"
},
"RestrictCustomEmojiCreation": {
"type": "string"
},
"RestrictPostDelete": {
"type": "string"
},
"SessionCacheInMinutes": {
"type": "integer"
},
"SessionIdleTimeoutInMinutes": {
"type": "integer"
},
"SessionLengthMobileInDays": {
"type": "integer"
},
"SessionLengthSSOInDays": {
"type": "integer"
},
"SessionLengthWebInDays": {
"type": "integer"
},
"SiteURL": {
"type": "string"
},
"TLSCertFile": {
"type": "string"
},
"TLSKeyFile": {
"type": "string"
},
"TLSMinVer": {
"type": "string"
},
"TLSOverwriteCiphers": {
"items": {},
"type": "array"
},
"TLSStrictTransport": {
"type": "boolean"
},
"TLSStrictTransportMaxAge": {
"type": "integer"
},
"TimeBetweenUserTypingUpdatesMilliseconds": {
"type": "integer"
},
"UseLetsEncrypt": {
"type": "boolean"
},
"WebserverMode": {
"type": "string"
},
"WebsocketPort": {
"type": "integer"
},
"WebsocketSecurePort": {
"type": "integer"
},
"WebsocketURL": {
"type": "string"
},
"WriteTimeout": {
"type": "integer"
}
},
"type": "object"
},
"SqlSettings": {
"properties": {
"AtRestEncryptKey": {
"type": "string"
},
"ConnMaxLifetimeMilliseconds": {
"type": "integer"
},
"DataSource": {
"type": "string"
},
"DataSourceReplicas": {
"items": {},
"type": "array"
},
"DataSourceSearchReplicas": {
"items": {},
"type": "array"
},
"DriverName": {
"type": "string"
},
"MaxIdleConns": {
"type": "integer"
},
"MaxOpenConns": {
"type": "integer"
},
"QueryTimeout": {
"type": "integer"
},
"Trace": {
"type": "boolean"
}
},
"type": "object"
},
"SupportSettings": {
"properties": {
"AboutLink": {
"type": "string"
},
"CustomTermsOfServiceEnabled": {
"type": "boolean"
},
"CustomTermsOfServiceReAcceptancePeriod": {
"type": "integer"
},
"HelpLink": {
"type": "string"
},
"PrivacyPolicyLink": {
"type": "string"
},
"ReportAProblemLink": {
"type": "string"
},
"SupportEmail": {
"type": "string"
},
"TermsOfServiceLink": {
"type": "string"
}
},
"type": "object"
},
"TeamSettings": {
"properties": {
"CustomBrandText": {
"type": "string"
},
"CustomDescriptionText": {
"type": "string"
},
"EnableConfirmNotificationsToChannel": {
"type": "boolean"
},
"EnableCustomBrand": {
"type": "boolean"
},
"EnableOpenServer": {
"type": "boolean"
},
"EnableTeamCreation": {
"type": "boolean"
},
"EnableUserCreation": {
"type": "boolean"
},
"EnableUserDeactivation": {
"type": "boolean"
},
"EnableXToLeaveChannelsFromLHS": {
"type": "boolean"
},
"ExperimentalDefaultChannels": {
"items": {},
"type": "array"
},
"ExperimentalEnableAutomaticReplies": {
"type": "boolean"
},
"ExperimentalHideTownSquareinLHS": {
"type": "boolean"
},
"ExperimentalPrimaryTeam": {
"type": "string"
},
"ExperimentalTownSquareIsReadOnly": {
"type": "boolean"
},
"ExperimentalViewArchivedChannels": {
"type": "boolean"
},
"MaxChannelsPerTeam": {
"type": "integer"
},
"MaxNotificationsPerChannel": {
"type": "integer"
},
"MaxUsersPerTeam": {
"type": "integer"
},
"RestrictCreationToDomains": {
"type": "string"
},
"RestrictDirectMessage": {
"type": "string"
},
"RestrictPrivateChannelCreation": {
"type": "string"
},
"RestrictPrivateChannelDeletion": {
"type": "string"
},
"RestrictPrivateChannelManageMembers": {
"type": "string"
},
"RestrictPrivateChannelManagement": {
"type": "string"
},
"RestrictPublicChannelCreation": {
"type": "string"
},
"RestrictPublicChannelDeletion": {
"type": "string"
},
"RestrictPublicChannelManagement": {
"type": "string"
},
"RestrictTeamInvite": {
"type": "string"
},
"SiteName": {
"type": "string"
},
"TeammateNameDisplay": {
"type": "string"
},
"UserStatusAwayTimeout": {
"type": "integer"
}
},
"type": "object"
},
"ThemeSettings": {
"properties": {
"AllowCustomThemes": {
"type": "boolean"
},
"AllowedThemes": {
"items": {},
"type": "array"
},
"DefaultTheme": {
"type": "string"
},
"EnableThemeSelection": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/config/client": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "format",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"AboutLink": {
"type": "string"
},
"AllowBannerDismissal": {
"type": "string"
},
"AllowCustomThemes": {
"type": "string"
},
"AllowedThemes": {
"type": "string"
},
"AndroidAppDownloadLink": {
"type": "string"
},
"AndroidLatestVersion": {
"type": "string"
},
"AndroidMinVersion": {
"type": "string"
},
"AppDownloadLink": {
"type": "string"
},
"AsymmetricSigningPublicKey": {
"type": "string"
},
"AvailableLocales": {
"type": "string"
},
"BannerColor": {
"type": "string"
},
"BannerText": {
"type": "string"
},
"BannerTextColor": {
"type": "string"
},
"BuildDate": {
"type": "string"
},
"BuildEnterpriseReady": {
"type": "string"
},
"BuildHash": {
"type": "string"
},
"BuildHashEnterprise": {
"type": "string"
},
"Buildinteger": {
"type": "string"
},
"CloseUnusedDirectMessages": {
"type": "string"
},
"CustomBrandText": {
"type": "string"
},
"CustomDescriptionText": {
"type": "string"
},
"CustomUrlSchemes": {
"type": "string"
},
"DataRetentionEnableFileDeletion": {
"type": "string"
},
"DataRetentionEnableMessageDeletion": {
"type": "string"
},
"DataRetentionFileRetentionDays": {
"type": "string"
},
"DataRetentionMessageRetentionDays": {
"type": "string"
},
"DefaultClientLocale": {
"type": "string"
},
"DefaultTheme": {
"type": "string"
},
"DesktopLatestVersion": {
"type": "string"
},
"DesktopMinVersion": {
"type": "string"
},
"DiagnosticId": {
"type": "string"
},
"DiagnosticsEnabled": {
"type": "string"
},
"EmailLoginButtonBorderColor": {
"type": "string"
},
"EmailLoginButtonColor": {
"type": "string"
},
"EmailLoginButtonTextColor": {
"type": "string"
},
"EmailNotificationContentsType": {
"type": "string"
},
"EnableBanner": {
"type": "string"
},
"EnableChannelViewedMessages": {
"type": "string"
},
"EnableCluster": {
"type": "string"
},
"EnableCommands": {
"type": "string"
},
"EnableCompliance": {
"type": "string"
},
"EnableConfirmNotificationsToChannel": {
"type": "string"
},
"EnableCustomBrand": {
"type": "string"
},
"EnableCustomEmoji": {
"type": "string"
},
"EnableDeveloper": {
"type": "string"
},
"EnableDiagnostics": {
"type": "string"
},
"EnableEmailBatching": {
"type": "string"
},
"EnableEmailInvitations": {
"type": "string"
},
"EnableEmojiPicker": {
"type": "string"
},
"EnableFileAttachments": {
"type": "string"
},
"EnableGifPicker": {
"type": "string"
},
"EnableIncomingWebhooks": {
"type": "string"
},
"EnableLdap": {
"type": "string"
},
"EnableLinkPreviews": {
"type": "string"
},
"EnableMetrics": {
"type": "string"
},
"EnableMobileFileDownload": {
"type": "string"
},
"EnableMobileFileUpload": {
"type": "string"
},
"EnableMultifactorAuthentication": {
"type": "string"
},
"EnableOAuthServiceProvider": {
"type": "string"
},
"EnableOpenServer": {
"type": "string"
},
"EnableOutgoingWebhooks": {
"type": "string"
},
"EnablePostIconOverride": {
"type": "string"
},
"EnablePostUsernameOverride": {
"type": "string"
},
"EnablePreviewFeatures": {
"type": "string"
},
"EnablePreviewModeBanner": {
"type": "string"
},
"EnablePublicLink": {
"type": "string"
},
"EnableSaml": {
"type": "string"
},
"EnableSignInWithEmail": {
"type": "string"
},
"EnableSignInWithUsername": {
"type": "string"
},
"EnableSignUpWithEmail": {
"type": "string"
},
"EnableSignUpWithGitLab": {
"type": "string"
},
"EnableSignUpWithGoogle": {
"type": "string"
},
"EnableSignUpWithOffice365": {
"type": "string"
},
"EnableTesting": {
"type": "string"
},
"EnableThemeSelection": {
"type": "string"
},
"EnableTutorial": {
"type": "string"
},
"EnableUserAccessTokens": {
"type": "string"
},
"EnableUserCreation": {
"type": "string"
},
"EnableUserDeactivation": {
"type": "string"
},
"EnableUserTypingMessages": {
"type": "string"
},
"EnableXToLeaveChannelsFromLHS": {
"type": "string"
},
"EnforceMultifactorAuthentication": {
"type": "string"
},
"ExperimentalChannelOrganization": {
"type": "string"
},
"ExperimentalEnableAuthenticationTransfer": {
"type": "string"
},
"ExperimentalEnableAutomaticReplies": {
"type": "string"
},
"ExperimentalEnableClickToReply": {
"type": "string"
},
"ExperimentalEnableDefaultChannelLeaveJoinMessages": {
"type": "string"
},
"ExperimentalEnablePostMetadata": {
"type": "string"
},
"ExperimentalGroupUnreadChannels": {
"type": "string"
},
"ExperimentalHideTownSquareinLHS": {
"type": "string"
},
"ExperimentalPrimaryTeam": {
"type": "string"
},
"ExperimentalTimezone": {
"type": "string"
},
"ExperimentalTownSquareIsReadOnly": {
"type": "string"
},
"ExperimentalViewArchivedChannels": {
"type": "string"
},
"GfycatApiKey": {
"type": "string"
},
"GfycatApiSecret": {
"type": "string"
},
"GoogleDeveloperKey": {
"type": "string"
},
"HasImageProxy": {
"type": "string"
},
"HelpLink": {
"type": "string"
},
"InstallationDate": {
"type": "string"
},
"IosAppDownloadLink": {
"type": "string"
},
"IosLatestVersion": {
"type": "string"
},
"IosMinVersion": {
"type": "string"
},
"LdapFirstNameAttributeSet": {
"type": "string"
},
"LdapLastNameAttributeSet": {
"type": "string"
},
"LdapLoginButtonBorderColor": {
"type": "string"
},
"LdapLoginButtonColor": {
"type": "string"
},
"LdapLoginButtonTextColor": {
"type": "string"
},
"LdapLoginFieldName": {
"type": "string"
},
"LdapNicknameAttributeSet": {
"type": "string"
},
"MaxFileSize": {
"type": "string"
},
"MaxNotificationsPerChannel": {
"type": "string"
},
"MaxPostSize": {
"type": "string"
},
"MinimumHashtagLength": {
"type": "string"
},
"NoAccounts": {
"type": "string"
},
"PasswordMinimumLength": {
"type": "string"
},
"PasswordRequireLowercase": {
"type": "string"
},
"PasswordRequireinteger": {
"type": "string"
},
"PasswordRequireSymbol": {
"type": "string"
},
"PasswordRequireUppercase": {
"type": "string"
},
"PluginsEnabled": {
"type": "string"
},
"PostEditTimeLimit": {
"type": "string"
},
"PrivacyPolicyLink": {
"type": "string"
},
"ReportAProblemLink": {
"type": "string"
},
"RequireEmailVerification": {
"type": "string"
},
"RestrictDirectMessage": {
"type": "string"
},
"RunJobs": {
"type": "string"
},
"SQLDriverName": {
"type": "string"
},
"SamlFirstNameAttributeSet": {
"type": "string"
},
"SamlLastNameAttributeSet": {
"type": "string"
},
"SamlLoginButtonBorderColor": {
"type": "string"
},
"SamlLoginButtonColor": {
"type": "string"
},
"SamlLoginButtonText": {
"type": "string"
},
"SamlLoginButtonTextColor": {
"type": "string"
},
"SamlNicknameAttributeSet": {
"type": "string"
},
"SendEmailNotifications": {
"type": "string"
},
"SendPushNotifications": {
"type": "string"
},
"ShowEmailAddress": {
"type": "string"
},
"SiteName": {
"type": "string"
},
"SiteURL": {
"type": "string"
},
"SupportEmail": {
"type": "string"
},
"TeammateNameDisplay": {
"type": "string"
},
"TermsOfServiceLink": {
"type": "string"
},
"TimeBetweenUserTypingUpdatesMilliseconds": {
"type": "string"
},
"Version": {
"type": "string"
},
"WebsocketPort": {
"type": "string"
},
"WebsocketSecurePort": {
"type": "string"
},
"WebsocketURL": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/config/environment": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"ServiceSettings": {
"properties": {
"EnableCustomEmoji": {
"type": "boolean"
},
"SiteURL": {
"type": "boolean"
}
},
"type": "object"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/config/reload": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/database/recycle": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/email/test": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/emoji": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "sort",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
}
}
},
"post": {
"consumes": [
"multipart/form-data; boundary=fb739fd093c1445b4b193c5cd3fd136bd51231dfb079366698ef6ade7fcd",
"multipart/form-data; boundary=b74543f0bdac50d7c02e97f700c98870e12e688998af208ba7c406ec067e",
"multipart/form-data; boundary=4549b5a8d5530b6e3b055d1d089c658df51014932a73ff329da92e250253",
"multipart/form-data; boundary=ffe910eb6453e5658a484a72f982fbbd24992ccc233b6e614bcae3c200f7",
"multipart/form-data; boundary=d5c9a13e5aeefeefe1c493dd8e61c2ecce9a37c79a4441e7a1c5666f7a5a",
"multipart/form-data; boundary=e77cb4eb14d6673c220fbc2dd33a21780996152a913bf17704d4551b62f5",
"multipart/form-data; boundary=2f813d95b848cb0b5d9a902c9472371861c6a26b219a29476404b873818a",
"multipart/form-data; boundary=ed78a0e2fc974c6bd40f277b5b0ce483266f186fd1e4c94323d9b35b1bd8",
"multipart/form-data; boundary=6472a7b0bcfbca694f2e03279ea59f4bcd71db43518ad819d1259b9210f1",
"multipart/form-data; boundary=6e0ef2035b46b4277f7ed0f22688f70419ac87b68a2a32530fe8a849628b",
"multipart/form-data; boundary=8167a64551c8dc0f8a3cc87c8863a5cac49adbed1b2f5fb42f55ccdc85ee",
"multipart/form-data; boundary=950722988ad6c698f680951b41869a3174acbb2b53a4be0041d0b141bedf",
"multipart/form-data; boundary=2089c7026c0e577142cd865f897e1cd0c5bb4c7c04b4eb8e90f6003e402a",
"multipart/form-data; boundary=d42de636396de46cdc73d9d3041071bd189040c57ef156768376447b378f",
"multipart/form-data; boundary=925ecb7aa4e255dbf28872cadf72f7952ff3cbcf5924d9f80154a9d9adc9",
"multipart/form-data; boundary=5e275d3ed812420a06ade62d098b8fe4d3328828a63a2a218ea70d988e1a",
"multipart/form-data; boundary=d1a5b45581d8e055b05869781016310057cc7d584fba7aa84900b36e4800",
"multipart/form-data; boundary=2ca8c7e945e4242a861524c22dc01942bb69b0b22f2aeb4e7e2187744317",
"multipart/form-data; boundary=8ed78f4d978b4ca6f62c26abbb6d2b3092923fe978700c6358adbbc99f7f",
"multipart/form-data; boundary=b62a360129e5e0df7b4c2228d5675d1249615b097ec07cef9d7a76e50193",
"multipart/form-data; boundary=e164b8db6aa8c78d4c9ceed12920033635a39114c4b0f2c2a067f9cb94c2",
"multipart/form-data; boundary=5a980ecb3e7f3d52a9ccf90cf0eb11e628c45b5d60e67dfeb956f3c5edf2",
"multipart/form-data; boundary=bbdbcb85e0c3071aca42414c8a6930d35e5dd1e8f21e607e55e9a8000078",
"multipart/form-data; boundary=ce3c1cf285e71c3ae2adbb7e6e456a70df6d2775f42ca29ce888ca80ed83",
"multipart/form-data; boundary=f3617b12a042c0e0e13207092f6cd89ca11b576caaf87f107bf048d28c7e",
"multipart/form-data; boundary=773acf2046debd9b8412e31ec97c498a669c697bdd59a031f276c04bff5a",
"multipart/form-data; boundary=aaccc40c5031a121494bc8e95483de9014509134a6c197209462f6daff84"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"description": "description",
"in": "body",
"name": "body",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"413": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/emoji/name/{emoji_name}": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "emojiName",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/emoji/{emoji_id}": {
"delete": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "emojiId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "emojiId",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "name",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"oneOf": [
{
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
{
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
]
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "emojiId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/emoji/{emoji_id}/image": {
"get": {
"produces": [
"image/gif",
"image/jpeg",
"image/png",
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "emojiId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"type": "string"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/file/s3_test": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"500": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/files": {
"post": {
"consumes": [
"multipart/form-data; boundary=7e56639b1b0c95a7ce7fa76bbce9a78f195d35cbf0799bce76511f8be46e",
"multipart/form-data; boundary=f616c3cad4c569c1629912dfbd402ac7a00e4541a8ca87069f8226cfcc84",
"multipart/form-data; boundary=b170779193487243eb221bda00ea2e1b32c8b28a034c0f0b5765ccbb713e",
"multipart/form-data; boundary=93e7ff56795c89a9af3d473eba21f7349f79357de93b8b3637952a4d440a",
"multipart/form-data; boundary=f4467f4563a952dcceb42729b8448bce2471005448a7ede848198068ac50",
"multipart/form-data; boundary=adb37a5e1ec2a8249cc955d99c8b8d95ccf6932d408dda2982530ffd0a6c",
"multipart/form-data; boundary=f4f28c49096c1a1fd6684faf67591e489bba0f8ec94dbccb489ade96faf1",
"multipart/form-data; boundary=77ae4905b6922b14a2c1c8dab75933e436f9f12ca21292dec69fade5abab",
"multipart/form-data; boundary=fe063718a40ff7fd4e5d158ec5cc7737394cee092987ccd8d72df77428ed",
"multipart/form-data; boundary=6a4c1fe4fc879cc711fe478b32f4d4c34a47be82d234d5266c7173b6f465",
"multipart/form-data; boundary=6e58eec59df06ae16c6d39b8846f1eaa5f62d18eb0e38a1e05f672cc3579",
"multipart/form-data; boundary=dc266c1e307902ace705bcc67f70e8371ea27324dd1d5530394415b118e3",
"multipart/form-data; boundary=f9d439e0d54bb8e5ca503bb1f73bac5a5168844d4eaccbe7527cc2057186",
"multipart/form-data; boundary=8819a8ef0964366afc0efc3663d5ff12438d5c38fb3f068de7f654c2a2a6",
"multipart/form-data; boundary=b91b98d3fbd36221dec364ded12f6d4e9fc128a7174a4633fc0b94578a21",
"image/png",
"image/gif",
"application/x-gzip",
"text/plain; charset=utf-8",
"application/octet-stream",
"image/jpeg",
"multipart/form-data; boundary=1cf2d29ce0c2558e07197f94c2e01db8cdeaf49a3be00da89bb9dedc3578",
"multipart/form-data; boundary=4f2ab4cb45a2938c6347da802265a9b66a841dd7a6719742e9538b89c2c9",
"multipart/form-data; boundary=3538c07ec534eddb2f4c709d649ff2ab0a24d6d75736a7a3e59e8b80f03f",
"multipart/form-data; boundary=ba6a0b3e373aaeff0df53d9462d013b3a82d9de6e21f85d1e308f8babeac",
"multipart/form-data; boundary=22815a3fc444e617619aefc0a439710b3bea13c64aac775a29136f6df062",
"multipart/form-data; boundary=43238853984224a488bc0ef1a819c669eef6d74c886f049f1afe9758fdd8",
"multipart/form-data; boundary=f8eaa71392234b534f5a7f8bd734fc332aa21663c79b28b4eb978e828c24",
"multipart/form-data; boundary=e935afd9377aa6bc34571dfa7275f9c16f30cfeeecc666798bfb69bea976",
"multipart/form-data; boundary=19ef0ab79e271cedcd50383a6a71faabc711b17682f4d641b2c1a5346a57",
"multipart/form-data; boundary=466c3aca31e7dfff45ac770f998e62ac334d339499b513f1af7d33dcc32f",
"multipart/form-data; boundary=583adeee252c794ac9f4133fb8e5b96b8b9a334b3894c7513c433928af8b",
"multipart/form-data; boundary=ddfdc66b0fb3b0fa3ce1603f224f8e2c92691f70e6678cab5f1f765f0554",
"multipart/form-data; boundary=52619dcd4c7cd002bd6914d6fb2e5c4abdcb1534418215fe0f87ed8f4296",
"multipart/form-data; boundary=45f5d77bfe3b1a186086f2da26849f0b4fcc0485a8e539a5bfc6e3415f1e",
"multipart/form-data; boundary=948296918d8a96fd79082316563fd5b7910151f469800cce7a321aaef8b1",
"multipart/form-data; boundary=83be75588baf2baa9ecb42cf2ddba11c6d10e513551fe200d37a69d8e60e",
"multipart/form-data; boundary=4a7d37a568201fc3ba587bb6098352c6dc08b5a4d50db57108c28b75651f",
"multipart/form-data; boundary=cd568f28adf18f30a86f47ae48e70b7e6e472b9365c47bebf8777e1fdbab",
"multipart/form-data; boundary=9ddbf731511eb4c94c005d15ba4e693ab2de164c033abba8e91ff969bcfa",
"multipart/form-data; boundary=5a3879560a6cff9307a17b2665d53e210332b4ace8e2898b29133023ab6d",
"multipart/form-data; boundary=104a82d5c232f680b3c38cf9418008f47fdd3b8be7551b29d42cf22b1736"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "channel_id",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "filename",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "client_id",
"required": false,
"type": "string"
},
{
"description": "description",
"in": "body",
"name": "body",
"schema": {
"type": "string"
}
}
],
"responses": {
"201": {
"description": "description",
"schema": {
"properties": {
"client_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"file_infos": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"extension": {
"type": "string"
},
"has_preview_image": {
"type": "boolean"
},
"height": {
"type": "integer"
},
"id": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"name": {
"type": "string"
},
"size": {
"type": "integer"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
},
"width": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"413": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/files/{file_id}": {
"get": {
"produces": [
"image/png",
"image/gif",
"video/mp4",
"audio/mpeg",
"application/pdf",
"text/plain; charset=utf-8",
"text/plain",
"application/octet-stream",
"application/zip",
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "fileId",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "download",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"type": "string"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/files/{file_id}/info": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "fileId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"extension": {
"type": "string"
},
"has_preview_image": {
"type": "boolean"
},
"height": {
"type": "integer"
},
"id": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"name": {
"type": "string"
},
"size": {
"type": "integer"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
},
"width": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/files/{file_id}/link": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "fileId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"link": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/files/{file_id}/preview": {
"get": {
"produces": [
"image/jpeg",
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "fileId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"type": "string"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/files/{file_id}/thumbnail": {
"get": {
"produces": [
"image/jpeg",
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "fileId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"type": "string"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/groups/{groupId}": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "groupId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"has_syncables": {
"type": "boolean"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"remote_id": {
"type": "string"
},
"source": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/groups/{groupId}/channels": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "groupId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"auto_add": {
"type": "boolean"
},
"channel_display_name": {
"type": "string"
},
"channel_id": {
"type": "string"
},
"channel_type": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"group_id": {
"type": "string"
},
"team_display_name": {
"type": "string"
},
"team_id": {
"type": "string"
},
"team_type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/groups/{groupId}/channels/{channel_id}": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "groupId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"auto_add": {
"type": "boolean"
},
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"group_id": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/groups/{groupId}/channels/{channel_id}/link": {
"delete": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "groupId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "groupId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
}
],
"responses": {
"201": {
"description": "description",
"schema": {
"properties": {
"auto_add": {
"type": "boolean"
},
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"group_id": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/groups/{groupId}/channels/{channel_id}/patch": {
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "groupId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"auto_add": {
"type": "boolean"
},
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"group_id": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/groups/{groupId}/patch": {
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "groupId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"has_syncables": {
"type": "boolean"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"remote_id": {
"type": "string"
},
"source": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/groups/{groupId}/teams": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "groupId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"auto_add": {
"type": "boolean"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"group_id": {
"type": "string"
},
"team_display_name": {
"type": "string"
},
"team_id": {
"type": "string"
},
"team_type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/groups/{groupId}/teams/{team_id}": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "groupId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"auto_add": {
"type": "boolean"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"group_id": {
"type": "string"
},
"team_id": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/groups/{groupId}/teams/{team_id}/link": {
"delete": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "groupId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "groupId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
}
],
"responses": {
"201": {
"description": "description",
"schema": {
"properties": {
"auto_add": {
"type": "boolean"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"group_id": {
"type": "string"
},
"team_id": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/groups/{groupId}/teams/{team_id}/patch": {
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "groupId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"auto_add": {
"type": "boolean"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"group_id": {
"type": "string"
},
"team_id": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/hooks/incoming": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "team_id",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"channel_id": {
"type": "string"
},
"channel_locked": {
"type": "boolean"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"id": {
"type": "string"
},
"team_id": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
},
"username": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"201": {
"description": "description",
"schema": {
"properties": {
"channel_id": {
"type": "string"
},
"channel_locked": {
"type": "boolean"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"id": {
"type": "string"
},
"team_id": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
},
"username": {
"type": "string"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/hooks/incoming/{incomingWebhookId}": {
"delete": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "incomingWebhookId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "incomingWebhookId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"channel_id": {
"type": "string"
},
"channel_locked": {
"type": "boolean"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"id": {
"type": "string"
},
"team_id": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
},
"username": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "incomingWebhookId",
"required": false,
"type": "string"
}
],
"responses": {
"201": {
"description": "description",
"schema": {
"properties": {
"channel_id": {
"type": "string"
},
"channel_locked": {
"type": "boolean"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"id": {
"type": "string"
},
"team_id": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
},
"username": {
"type": "string"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/hooks/outgoing": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "team_id",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "channel_id",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"callback_urls": {
"items": {
"type": "string"
},
"type": "array"
},
"channel_id": {
"type": "string"
},
"content_type": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"id": {
"type": "string"
},
"team_id": {
"type": "string"
},
"token": {
"type": "string"
},
"trigger_when": {
"type": "integer"
},
"update_at": {
"type": "integer"
},
"username": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description"
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"201": {
"description": "description",
"schema": {
"properties": {
"callback_urls": {
"items": {
"type": "string"
},
"type": "array"
},
"channel_id": {
"type": "string"
},
"content_type": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"id": {
"type": "string"
},
"team_id": {
"type": "string"
},
"token": {
"type": "string"
},
"trigger_when": {
"type": "integer"
},
"trigger_words": {
"items": {
"type": "string"
},
"type": "array"
},
"update_at": {
"type": "integer"
},
"username": {
"type": "string"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/hooks/outgoing/{outgoingWebhookId}": {
"delete": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "outgoingWebhookId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"500": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "outgoingWebhookId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"callback_urls": {
"items": {
"type": "string"
},
"type": "array"
},
"channel_id": {
"type": "string"
},
"content_type": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"id": {
"type": "string"
},
"team_id": {
"type": "string"
},
"token": {
"type": "string"
},
"trigger_when": {
"type": "integer"
},
"update_at": {
"type": "integer"
},
"username": {
"type": "string"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"500": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "outgoingWebhookId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"callback_urls": {
"items": {
"type": "string"
},
"type": "array"
},
"channel_id": {
"type": "string"
},
"content_type": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"id": {
"type": "string"
},
"team_id": {
"type": "string"
},
"token": {
"type": "string"
},
"trigger_when": {
"type": "integer"
},
"trigger_words": {
"items": {
"type": "string"
},
"type": "array"
},
"update_at": {
"type": "integer"
},
"username": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"500": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/hooks/outgoing/{outgoingWebhookId}/regen_token": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "outgoingWebhookId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"callback_urls": {
"items": {
"type": "string"
},
"type": "array"
},
"channel_id": {
"type": "string"
},
"content_type": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"id": {
"type": "string"
},
"team_id": {
"type": "string"
},
"token": {
"type": "string"
},
"trigger_when": {
"type": "integer"
},
"update_at": {
"type": "integer"
},
"username": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/image": {
"get": {
"produces": [
"image/png",
"application/json",
"text/plain; charset=utf-8"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "url",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"type": "string"
}
},
"302": {
"description": "description",
"schema": {
"properties": {},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"type": "string"
}
}
}
}
},
"/jobs": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"id": {
"type": "string"
},
"last_activity_at": {
"type": "integer"
},
"priority": {
"type": "integer"
},
"progress": {
"type": "integer"
},
"start_at": {
"type": "integer"
},
"status": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"201": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"data": {
"properties": {
"thing": {
"type": "string"
}
},
"type": "object"
},
"id": {
"type": "string"
},
"last_activity_at": {
"type": "integer"
},
"priority": {
"type": "integer"
},
"progress": {
"type": "integer"
},
"start_at": {
"type": "integer"
},
"status": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/jobs/type/{job_id}": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "jobId",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"id": {
"type": "string"
},
"last_activity_at": {
"type": "integer"
},
"priority": {
"type": "integer"
},
"progress": {
"type": "integer"
},
"start_at": {
"type": "integer"
},
"status": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/jobs/{job_id}": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "jobId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"id": {
"type": "string"
},
"last_activity_at": {
"type": "integer"
},
"priority": {
"type": "integer"
},
"progress": {
"type": "integer"
},
"start_at": {
"type": "integer"
},
"status": {
"type": "string"
},
"type": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/jobs/{job_id}/cancel": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "jobId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"500": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/ldap/sync": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/license": {
"delete": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/license/client": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "format",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"IsLicensed": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/logs": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "logs_per_page",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"type": "string"
},
"type": "array"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"level": {
"type": "string"
},
"message": {
"type": "string"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/oauth/apps": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"callback_urls": {
"items": {
"type": "string"
},
"type": "array"
},
"client_secret": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"description": {
"type": "string"
},
"homepage": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"id": {
"type": "string"
},
"is_trusted": {
"type": "boolean"
},
"name": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"201": {
"description": "description",
"schema": {
"properties": {
"callback_urls": {
"items": {
"type": "string"
},
"type": "array"
},
"client_secret": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"description": {
"type": "string"
},
"homepage": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"id": {
"type": "string"
},
"is_trusted": {
"type": "boolean"
},
"name": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/oauth/apps/{app_id}": {
"delete": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "appId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "appId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"callback_urls": {
"items": {
"type": "string"
},
"type": "array"
},
"client_secret": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"description": {
"type": "string"
},
"homepage": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"id": {
"type": "string"
},
"is_trusted": {
"type": "boolean"
},
"name": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "appId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"callback_urls": {
"items": {
"type": "string"
},
"type": "array"
},
"client_secret": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"description": {
"type": "string"
},
"homepage": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"id": {
"type": "string"
},
"is_trusted": {
"type": "boolean"
},
"name": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/oauth/apps/{app_id}/info": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "appId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"callback_urls": {
"items": {
"type": "string"
},
"type": "array"
},
"client_secret": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"description": {
"type": "string"
},
"homepage": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"id": {
"type": "string"
},
"is_trusted": {
"type": "boolean"
},
"name": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/oauth/apps/{app_id}/regen_secret": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "appId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"callback_urls": {
"items": {
"type": "string"
},
"type": "array"
},
"client_secret": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"description": {
"type": "string"
},
"homepage": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"id": {
"type": "string"
},
"is_trusted": {
"type": "boolean"
},
"name": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/opengraph": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"description": {
"type": "string"
},
"determiner": {
"type": "string"
},
"locale": {
"type": "string"
},
"site_name": {
"type": "string"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/plugins": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"active": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"webapp": {
"properties": {
"bundle_path": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"inactive": {
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"webapp": {
"properties": {
"bundle_path": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"consumes": [
"multipart/form-data; boundary=2d15cd2a6d5560b5e5c69d759ef2316e8183ee7ecbf2bfe345923ad7f387",
"multipart/form-data; boundary=c3d2730608ddb128cfa85a36892a3067a3c9f4461862b5f7d01550d56834"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"description": "description",
"in": "body",
"name": "body",
"schema": {
"type": "string"
}
}
],
"responses": {
"201": {
"description": "description",
"schema": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"version": {
"type": "string"
},
"webapp": {
"properties": {
"bundle_path": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/plugins/{plugin_id}": {
"delete": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "pluginId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "pluginId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"id": {
"type": "string"
},
"version": {
"type": "string"
},
"webapp": {
"properties": {
"bundle_path": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"type": "array"
}
}
}
}
},
"/plugins/{plugin_id}/disable": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "pluginId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/plugins/{plugin_id}/enable": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "pluginId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/posts": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"201": {
"description": "description",
"schema": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"file_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"has_reactions": {
"type": "boolean"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {
"files": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"extension": {
"type": "string"
},
"has_preview_image": {
"type": "boolean"
},
"height": {
"type": "integer"
},
"id": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"name": {
"type": "string"
},
"post_id": {
"type": "string"
},
"size": {
"type": "integer"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
},
"width": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {
"channel_header": {
"type": "string"
}
},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/posts/{post_id}": {
"delete": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "postId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "postId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
}
},
"304": {
"description": "description",
"schema": {
"properties": {},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "postId",
"required": false,
"type": "string"
}
],
"responses": {
"201": {
"description": "description",
"schema": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {
"add_channel_member": {
"type": "string"
}
},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "postId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {
"embeds": {
"items": {
"properties": {
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {
"attachments": {
"items": {
"properties": {
"author_icon": {
"type": "string"
},
"author_link": {
"type": "string"
},
"author_name": {
"type": "string"
},
"color": {
"type": "string"
},
"fallback": {
"type": "string"
},
"footer": {
"type": "string"
},
"footer_icon": {
"type": "string"
},
"id": {
"type": "integer"
},
"image_url": {
"type": "string"
},
"pretext": {
"type": "string"
},
"text": {
"type": "string"
},
"thumb_url": {
"type": "string"
},
"title": {
"type": "string"
},
"title_link": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/posts/{post_id}/actions/{actionId}": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "postId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "actionId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
},
"trigger_id": {
"type": "string"
}
},
"type": "object"
}
}
}
}
},
"/posts/{post_id}/files/info": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "postId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"extension": {
"type": "string"
},
"has_preview_image": {
"type": "boolean"
},
"height": {
"type": "integer"
},
"id": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"name": {
"type": "string"
},
"post_id": {
"type": "string"
},
"size": {
"type": "integer"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
},
"width": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"304": {
"description": "description",
"schema": {
"properties": {},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/posts/{post_id}/patch": {
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "postId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {
"embeds": {
"items": {
"properties": {
"type": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {
"attachments": {
"items": {
"properties": {
"author_icon": {
"type": "string"
},
"author_link": {
"type": "string"
},
"author_name": {
"type": "string"
},
"color": {
"type": "string"
},
"fallback": {
"type": "string"
},
"footer": {
"type": "string"
},
"footer_icon": {
"type": "string"
},
"id": {
"type": "integer"
},
"image_url": {
"type": "string"
},
"pretext": {
"type": "string"
},
"text": {
"type": "string"
},
"thumb_url": {
"type": "string"
},
"title": {
"type": "string"
},
"title_link": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"channel_header": {
"type": "string"
}
},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/posts/{post_id}/pin": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "postId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/posts/{post_id}/reactions": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "postId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"emoji_name": {
"type": "string"
},
"post_id": {
"type": "string"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "postId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"1gsykebbf3rjjf5dnf1dfwr4gc": {
"items": {},
"type": "array"
},
"961938ixdin57bg11h57c7q37h": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"emoji_name": {
"type": "string"
},
"post_id": {
"type": "string"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"xbb5pkoc73f1txuaathqxnukhr": {
"items": {},
"type": "array"
},
"xnm9iuehnt88dbeoan6qggsm1c": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"emoji_name": {
"type": "string"
},
"post_id": {
"type": "string"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"zyn1rfdo3irudks1xwedonyzga": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"emoji_name": {
"type": "string"
},
"post_id": {
"type": "string"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/posts/{post_id}/thread": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "postId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"order": {
"items": {
"type": "string"
},
"type": "array"
},
"posts": {
"properties": {
"4mz3c6z9tpfs3cixipb7hiipuw": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"cddk9qoyt3fszqqp14uwjiqknr": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {
"from_webhook": {
"type": "string"
},
"webhook_display_name": {
"type": "string"
}
},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"cm8j316cmjbc7nwq8apax7rw6a": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {
"from_webhook": {
"type": "string"
},
"webhook_display_name": {
"type": "string"
}
},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"d11hyq97kfdete39puqd59e9kc": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"e3fqioa7hifofr7yrpqi5mg1aa": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"ie5m9zgiytf6uku8o4j4weifhr": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {
"from_webhook": {
"type": "string"
},
"webhook_display_name": {
"type": "string"
}
},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"ijic36mcci8rfymf1q6q53mjgh": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"jxcqn75jqprgmkcjohkxnphkeo": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"owb6ibux77ycdfjzskde1oqxke": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {
"from_webhook": {
"type": "string"
},
"webhook_display_name": {
"type": "string"
}
},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"s1a4cuoejpbjbetrbn4bbuu7cc": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"toujzum5z7n7pyoxdpjxscuj5a": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"urfhwge5ijgtiko89gejy1igdh": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"uy1mpfa7kj8ftpdko4yb7419ja": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {
"from_webhook": {
"type": "string"
},
"webhook_display_name": {
"type": "string"
}
},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"y3i6mcuqnfyrjchr8xzh5akrfc": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {
"from_webhook": {
"type": "string"
},
"webhook_display_name": {
"type": "string"
}
},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"y6edou6kk3f47c1fd73rb4trao": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
},
"304": {
"description": "description",
"schema": {
"properties": {},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/posts/{post_id}/unpin": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "postId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/reactions": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"emoji_name": {
"type": "string"
},
"post_id": {
"type": "string"
},
"user_id": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/redirect_location": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "url",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"location": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/roles/name/{role_name}": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "roleName",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"built_in": {
"type": "boolean"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"permissions": {
"items": {
"type": "string"
},
"type": "array"
},
"scheme_managed": {
"type": "boolean"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/roles/{role_id}": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "roleId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"built_in": {
"type": "boolean"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"permissions": {
"items": {
"type": "string"
},
"type": "array"
},
"scheme_managed": {
"type": "boolean"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "roleId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"built_in": {
"type": "boolean"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"permissions": {
"items": {
"type": "string"
},
"type": "array"
},
"scheme_managed": {
"type": "boolean"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/roles/{role_id}/patch": {
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "roleId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"built_in": {
"type": "boolean"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"permissions": {
"items": {
"type": "string"
},
"type": "array"
},
"scheme_managed": {
"type": "boolean"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/schemes": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "scope",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"default_channel_admin_role": {
"type": "string"
},
"default_channel_user_role": {
"type": "string"
},
"default_team_admin_role": {
"type": "string"
},
"default_team_user_role": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"scope": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"201": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"default_channel_admin_role": {
"type": "string"
},
"default_channel_user_role": {
"type": "string"
},
"default_team_admin_role": {
"type": "string"
},
"default_team_user_role": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"scope": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/schemes/{scheme_id}": {
"delete": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "schemeId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "schemeId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"default_channel_admin_role": {
"type": "string"
},
"default_channel_user_role": {
"type": "string"
},
"default_team_admin_role": {
"type": "string"
},
"default_team_user_role": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"scope": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/schemes/{scheme_id}/channels": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "schemeId",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"display_name": {
"type": "string"
},
"extra_update_at": {
"type": "integer"
},
"header": {
"type": "string"
},
"id": {
"type": "string"
},
"last_post_at": {
"type": "integer"
},
"name": {
"type": "string"
},
"purpose": {
"type": "string"
},
"scheme_id": {
"type": "string"
},
"team_id": {
"type": "string"
},
"total_msg_count": {
"type": "integer"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/schemes/{scheme_id}/patch": {
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "schemeId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"default_channel_admin_role": {
"type": "string"
},
"default_channel_user_role": {
"type": "string"
},
"default_team_admin_role": {
"type": "string"
},
"default_team_user_role": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"scope": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/schemes/{scheme_id}/teams": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "schemeId",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"allow_open_invite": {
"type": "boolean"
},
"allowed_domains": {
"type": "string"
},
"company_name": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"email": {
"type": "string"
},
"id": {
"type": "string"
},
"invite_id": {
"type": "string"
},
"name": {
"type": "string"
},
"scheme_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/system/ping": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "header",
"name": "origin",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"AndroidLatestVersion": {
"type": "string"
},
"AndroidMinVersion": {
"type": "string"
},
"DesktopLatestVersion": {
"type": "string"
},
"DesktopMinVersion": {
"type": "string"
},
"IosLatestVersion": {
"type": "string"
},
"IosMinVersion": {
"type": "string"
},
"status": {
"type": "string"
}
},
"type": "object"
}
},
"500": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
}
}
}
},
"/system/timezones": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"type": "string"
},
"type": "array"
}
}
}
}
},
"/teams": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"allow_open_invite": {
"type": "boolean"
},
"allowed_domains": {
"type": "string"
},
"company_name": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"email": {
"type": "string"
},
"id": {
"type": "string"
},
"invite_id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description"
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"201": {
"description": "description",
"schema": {
"properties": {
"allow_open_invite": {
"type": "boolean"
},
"allowed_domains": {
"type": "string"
},
"company_name": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"email": {
"type": "string"
},
"group_constrained": {
"type": "boolean"
},
"id": {
"type": "string"
},
"invite_id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/teams/invite/{invite_id}": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "inviteId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/teams/members/invite": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "token",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "invite_id",
"required": false,
"type": "string"
}
],
"responses": {
"201": {
"description": "description",
"schema": {
"properties": {
"delete_at": {
"type": "integer"
},
"explicit_roles": {
"type": "string"
},
"roles": {
"type": "string"
},
"scheme_admin": {
"type": "boolean"
},
"scheme_user": {
"type": "boolean"
},
"team_id": {
"type": "string"
},
"user_id": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/teams/name/{name}": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamName",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"allow_open_invite": {
"type": "boolean"
},
"allowed_domains": {
"type": "string"
},
"company_name": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"email": {
"type": "string"
},
"id": {
"type": "string"
},
"invite_id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/teams/name/{team_name}/channels/name/{channel_name}": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamName",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelName",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "include_deleted",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"display_name": {
"type": "string"
},
"extra_update_at": {
"type": "integer"
},
"header": {
"type": "string"
},
"id": {
"type": "string"
},
"last_post_at": {
"type": "integer"
},
"name": {
"type": "string"
},
"purpose": {
"type": "string"
},
"team_id": {
"type": "string"
},
"total_msg_count": {
"type": "integer"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/teams/name/{name}/exists": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamName",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"exists": {
"type": "boolean"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/teams/{team_id}": {
"delete": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "permanent",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"allow_open_invite": {
"type": "boolean"
},
"allowed_domains": {
"type": "string"
},
"company_name": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"email": {
"type": "string"
},
"id": {
"type": "string"
},
"invite_id": {
"type": "string"
},
"name": {
"type": "string"
},
"scheme_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"allow_open_invite": {
"type": "boolean"
},
"allowed_domains": {
"type": "string"
},
"company_name": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"email": {
"type": "string"
},
"id": {
"type": "string"
},
"invite_id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"allow_open_invite": {
"type": "boolean"
},
"allowed_domains": {
"type": "string"
},
"company_name": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"email": {
"type": "string"
},
"group_constrained": {
"type": "boolean"
},
"id": {
"type": "string"
},
"invite_id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/teams/{team_id}/channels": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"display_name": {
"type": "string"
},
"extra_update_at": {
"type": "integer"
},
"header": {
"type": "string"
},
"id": {
"type": "string"
},
"last_post_at": {
"type": "integer"
},
"name": {
"type": "string"
},
"purpose": {
"type": "string"
},
"team_id": {
"type": "string"
},
"total_msg_count": {
"type": "integer"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/teams/{team_id}/channels/autocomplete": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "name",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"display_name": {
"type": "string"
},
"extra_update_at": {
"type": "integer"
},
"header": {
"type": "string"
},
"id": {
"type": "string"
},
"last_post_at": {
"type": "integer"
},
"name": {
"type": "string"
},
"purpose": {
"type": "string"
},
"team_id": {
"type": "string"
},
"total_msg_count": {
"type": "integer"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
}
}
}
},
"/teams/{team_id}/channels/deleted": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"display_name": {
"type": "string"
},
"extra_update_at": {
"type": "integer"
},
"header": {
"type": "string"
},
"id": {
"type": "string"
},
"last_post_at": {
"type": "integer"
},
"name": {
"type": "string"
},
"purpose": {
"type": "string"
},
"team_id": {
"type": "string"
},
"total_msg_count": {
"type": "integer"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/teams/{team_id}/channels/ids": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"display_name": {
"type": "string"
},
"extra_update_at": {
"type": "integer"
},
"header": {
"type": "string"
},
"id": {
"type": "string"
},
"last_post_at": {
"type": "integer"
},
"name": {
"type": "string"
},
"purpose": {
"type": "string"
},
"team_id": {
"type": "string"
},
"total_msg_count": {
"type": "integer"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/teams/{team_id}/channels/name/{channelName}": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelName",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "include_deleted",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"display_name": {
"type": "string"
},
"extra_update_at": {
"type": "integer"
},
"header": {
"type": "string"
},
"id": {
"type": "string"
},
"last_post_at": {
"type": "integer"
},
"name": {
"type": "string"
},
"purpose": {
"type": "string"
},
"scheme_id": {
"type": "string"
},
"team_id": {
"type": "string"
},
"total_msg_count": {
"type": "integer"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/teams/{team_id}/channels/search": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"display_name": {
"type": "string"
},
"extra_update_at": {
"type": "integer"
},
"header": {
"type": "string"
},
"id": {
"type": "string"
},
"last_post_at": {
"type": "integer"
},
"name": {
"type": "string"
},
"purpose": {
"type": "string"
},
"team_id": {
"type": "string"
},
"total_msg_count": {
"type": "integer"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/teams/{team_id}/channels/search_autocomplete": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "name",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"display_name": {
"type": "string"
},
"extra_update_at": {
"type": "integer"
},
"header": {
"type": "string"
},
"id": {
"type": "string"
},
"last_post_at": {
"type": "integer"
},
"name": {
"type": "string"
},
"purpose": {
"type": "string"
},
"team_id": {
"type": "string"
},
"total_msg_count": {
"type": "integer"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
}
}
}
},
"/teams/{team_id}/commands/autocomplete": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"auto_complete": {
"type": "boolean"
},
"auto_complete_desc": {
"type": "string"
},
"auto_complete_hint": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"id": {
"type": "string"
},
"method": {
"type": "string"
},
"team_id": {
"type": "string"
},
"token": {
"type": "string"
},
"trigger": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"url": {
"type": "string"
},
"username": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
}
}
}
},
"/teams/{team_id}/groups": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"has_syncables": {
"type": "boolean"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"remote_id": {
"type": "string"
},
"source": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/teams/{team_id}/image": {
"delete": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"consumes": [
"multipart/form-data; boundary=5d0cc1e94de00a129cb1439b80a72893da1ab42878d95313dcb3366fcf8c",
"multipart/form-data; boundary=b329e5ac1d05e4924978b009b81663639f037af25c6e555a3ccceb3dc222",
"multipart/form-data; boundary=202223fafa9280a277e8daa521755351f300122446e9135ca6e9f2d97dcb",
"multipart/form-data; boundary=35beaa3564fb3ba0465c4552b0187899138de1911266b47e2ba52da58ce8",
"multipart/form-data; boundary=f5c09a7d7b815e1731ce9f8f10f50e6aabc71bfd3578a98e6a9ddf72fd56"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
},
{
"description": "description",
"in": "body",
"name": "body",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/teams/{team_id}/import": {
"post": {
"consumes": [
"multipart/form-data; boundary=3f82ee6e6a99f2f23e7d47367ba0d6dda15256292a91d046fa06db62fec2"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
},
{
"description": "description",
"in": "body",
"name": "body",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"results": {
"type": "string"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/teams/{team_id}/invite/email": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/teams/{team_id}/members": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"delete_at": {
"type": "integer"
},
"explicit_roles": {
"type": "string"
},
"roles": {
"type": "string"
},
"scheme_admin": {
"type": "boolean"
},
"scheme_user": {
"type": "boolean"
},
"team_id": {
"type": "string"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
}
],
"responses": {
"201": {
"description": "description",
"schema": {
"properties": {
"delete_at": {
"type": "integer"
},
"explicit_roles": {
"type": "string"
},
"roles": {
"type": "string"
},
"scheme_admin": {
"type": "boolean"
},
"scheme_user": {
"type": "boolean"
},
"team_id": {
"type": "string"
},
"user_id": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/teams/{team_id}/members/{user_id}": {
"delete": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "memberId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "memberId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"delete_at": {
"type": "integer"
},
"explicit_roles": {
"type": "string"
},
"roles": {
"type": "string"
},
"scheme_admin": {
"type": "boolean"
},
"scheme_user": {
"type": "boolean"
},
"team_id": {
"type": "string"
},
"user_id": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "memberId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"delete_at": {
"type": "integer"
},
"explicit_roles": {
"type": "string"
},
"roles": {
"type": "string"
},
"scheme_admin": {
"type": "boolean"
},
"scheme_user": {
"type": "boolean"
},
"team_id": {
"type": "string"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"201": {
"description": "description",
"schema": {
"items": {
"properties": {
"delete_at": {
"type": "integer"
},
"explicit_roles": {
"type": "string"
},
"roles": {
"type": "string"
},
"scheme_admin": {
"type": "boolean"
},
"scheme_user": {
"type": "boolean"
},
"team_id": {
"type": "string"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/teams/{team_id}/members/{user_id}/roles": {
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "memberId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/teams/{team_id}/members/{user_id}/schemeRoles": {
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "memberId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/teams/{team_id}/patch": {
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"allow_open_invite": {
"type": "boolean"
},
"allowed_domains": {
"type": "string"
},
"company_name": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"description": {
"type": "string"
},
"display_name": {
"type": "string"
},
"email": {
"type": "string"
},
"group_constrained": {
"type": "boolean"
},
"id": {
"type": "string"
},
"invite_id": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/teams/{team_id}/posts/search": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"order": {
"items": {
"type": "string"
},
"type": "array"
},
"posts": {
"properties": {
"5scj4dgfuifcfb5nsyawsjgxdc": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"7pgy5oet6fy7pbp3qfxwfp9p7a": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"8zkhu8hfrpdy5xq8kcab3azaeo": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"95aexbkwdig55pbcnqhqpxjdrr": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"96mq7jsrz7rn7rthcbenm87d4e": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"a6drz5pgo78p3k3apuca7igz8c": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"bhzc9zeombn3jx3xmbsj6k1mdr": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"c9r6ctuepbbxpg3ouifgjk73ao": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"cw6geyb5yb8t8bt7pb1yn6wyzo": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"czsf3bxokbydjbikmy6j7fiiao": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"j834oafqj7fbtp37fiopk3wkto": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"oir6tj9yypbg8etc8ig1yxjdow": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"oobqnq81ajd7pp33ijme4rn1py": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"pfoihj1cyjyedquah9rb8wcgkc": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"q4bu4mz6rbd89qb534b5ft6q9y": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"rnt9jaazutfwirb3mp9bfqgsmr": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"rtyg6acnfjrhjrpnw3j1p6zrky": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"umq4pbybcbnbfj1osnp1ax8n4c": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"xbhrimy5z7g9tqo1qptirorqjw": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"z1cgqtmugpnx5e179ib9b7ueoa": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"zdseumwezi8xipsm88xdk7o8jy": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"zqp6f5zhobdrine9u5z8e3keww": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/teams/{team_id}/scheme": {
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/teams/{team_id}/stats": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "teamId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"active_member_count": {
"type": "integer"
},
"team_id": {
"type": "string"
},
"total_member_count": {
"type": "integer"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/terms_of_service": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"id": {
"type": "string"
},
"text": {
"type": "string"
},
"user_id": {
"type": "string"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"create_at": {
"type": "integer"
},
"id": {
"type": "string"
},
"text": {
"type": "string"
},
"user_id": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "access_token",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "sort",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "in_team",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "without_team",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "not_in_team",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "in_channel",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "not_in_channel",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"auth_data": {
"type": "string"
},
"auth_service": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"email": {
"type": "string"
},
"first_name": {
"type": "string"
},
"id": {
"type": "string"
},
"last_activity_at": {
"type": "integer"
},
"last_name": {
"type": "string"
},
"locale": {
"type": "string"
},
"nickname": {
"type": "string"
},
"position": {
"type": "string"
},
"roles": {
"type": "string"
},
"timezone": {
"properties": {
"automaticTimezone": {
"type": "string"
},
"manualTimezone": {
"type": "string"
},
"useAutomaticTimezone": {
"type": "string"
}
},
"type": "object"
},
"update_at": {
"type": "integer"
},
"username": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"304": {
"description": "description",
"schema": {
"properties": {},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "iid",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "t",
"required": false,
"type": "string"
}
],
"responses": {
"201": {
"description": "description",
"schema": {
"properties": {
"auth_data": {
"type": "string"
},
"auth_service": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"email": {
"type": "string"
},
"email_verified": {
"type": "boolean"
},
"first_name": {
"type": "string"
},
"id": {
"type": "string"
},
"last_name": {
"type": "string"
},
"last_password_update": {
"type": "integer"
},
"locale": {
"type": "string"
},
"nickname": {
"type": "string"
},
"notify_props": {
"properties": {
"channel": {
"type": "string"
},
"comments": {
"type": "string"
},
"desktop": {
"type": "string"
},
"desktop_sound": {
"type": "string"
},
"email": {
"type": "string"
},
"first_name": {
"type": "string"
},
"mention_keys": {
"type": "string"
},
"push": {
"type": "string"
},
"push_status": {
"type": "string"
}
},
"type": "object"
},
"position": {
"type": "string"
},
"roles": {
"type": "string"
},
"timezone": {
"properties": {
"automaticTimezone": {
"type": "string"
},
"manualTimezone": {
"type": "string"
},
"useAutomaticTimezone": {
"type": "string"
}
},
"type": "object"
},
"update_at": {
"type": "integer"
},
"username": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"501": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/email/verify/send": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/email/{email}": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "email",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"auth_data": {
"type": "string"
},
"auth_service": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"email": {
"type": "string"
},
"first_name": {
"type": "string"
},
"id": {
"type": "string"
},
"last_name": {
"type": "string"
},
"locale": {
"type": "string"
},
"nickname": {
"type": "string"
},
"position": {
"type": "string"
},
"roles": {
"type": "string"
},
"timezone": {
"properties": {
"automaticTimezone": {
"type": "string"
},
"manualTimezone": {
"type": "string"
},
"useAutomaticTimezone": {
"type": "string"
}
},
"type": "object"
},
"update_at": {
"type": "integer"
},
"username": {
"type": "string"
}
},
"type": "object"
}
},
"304": {
"description": "description",
"schema": {
"properties": {},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "email",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/login/switch": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"follow_link": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/sessions/device": {
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/status/ids": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"last_activity_at": {
"type": "integer"
},
"manual": {
"type": "boolean"
},
"status": {
"type": "string"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/tokens/{token_id}": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "tokenId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"is_active": {
"type": "boolean"
},
"user_id": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "tokenId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"oneOf": [
{
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"is_active": {
"type": "boolean"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
{
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
]
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/username/{username}": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userName",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"auth_data": {
"type": "string"
},
"auth_service": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"email": {
"type": "string"
},
"email_verified": {
"type": "boolean"
},
"first_name": {
"type": "string"
},
"id": {
"type": "string"
},
"last_name": {
"type": "string"
},
"last_password_update": {
"type": "integer"
},
"locale": {
"type": "string"
},
"nickname": {
"type": "string"
},
"notify_props": {
"properties": {
"channel": {
"type": "string"
},
"comments": {
"type": "string"
},
"desktop": {
"type": "string"
},
"desktop_sound": {
"type": "string"
},
"email": {
"type": "string"
},
"first_name": {
"type": "string"
},
"mention_keys": {
"type": "string"
},
"push": {
"type": "string"
},
"push_status": {
"type": "string"
}
},
"type": "object"
},
"position": {
"type": "string"
},
"roles": {
"type": "string"
},
"terms_of_service_create_at": {
"type": "integer"
},
"terms_of_service_id": {
"type": "string"
},
"timezone": {
"properties": {
"automaticTimezone": {
"type": "string"
},
"manualTimezone": {
"type": "string"
},
"useAutomaticTimezone": {
"type": "string"
}
},
"type": "object"
},
"update_at": {
"type": "integer"
},
"username": {
"type": "string"
}
},
"type": "object"
}
},
"304": {
"description": "description",
"schema": {
"properties": {},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/{user_id}": {
"delete": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "in_team",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "in_channel",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "name",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "limit",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"oneOf": [
{
"properties": {
"auth_data": {
"type": "string"
},
"auth_service": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"email": {
"type": "string"
},
"email_verified": {
"type": "boolean"
},
"first_name": {
"type": "string"
},
"id": {
"type": "string"
},
"is_bot": {
"type": "boolean"
},
"last_name": {
"type": "string"
},
"last_password_update": {
"type": "integer"
},
"locale": {
"type": "string"
},
"nickname": {
"type": "string"
},
"notify_props": {
"properties": {
"channel": {
"type": "string"
},
"comments": {
"type": "string"
},
"desktop": {
"type": "string"
},
"desktop_sound": {
"type": "string"
},
"email": {
"type": "string"
},
"first_name": {
"type": "string"
},
"mention_keys": {
"type": "string"
},
"push": {
"type": "string"
},
"push_status": {
"type": "string"
}
},
"type": "object"
},
"out_of_channel": {
"items": {
"properties": {
"auth_data": {
"type": "string"
},
"auth_service": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"email": {
"type": "string"
},
"first_name": {
"type": "string"
},
"id": {
"type": "string"
},
"last_name": {
"type": "string"
},
"locale": {
"type": "string"
},
"nickname": {
"type": "string"
},
"position": {
"type": "string"
},
"roles": {
"type": "string"
},
"timezone": {
"properties": {
"automaticTimezone": {
"type": "string"
},
"manualTimezone": {
"type": "string"
},
"useAutomaticTimezone": {
"type": "string"
}
},
"type": "object"
},
"update_at": {
"type": "integer"
},
"username": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"position": {
"type": "string"
},
"props": {
"properties": {
"testpropkey": {
"type": "string"
}
},
"type": "object"
},
"roles": {
"type": "string"
},
"terms_of_service_create_at": {
"type": "integer"
},
"terms_of_service_id": {
"type": "string"
},
"timezone": {
"properties": {
"automaticTimezone": {
"type": "string"
},
"manualTimezone": {
"type": "string"
},
"useAutomaticTimezone": {
"type": "string"
}
},
"type": "object"
},
"total_users_count": {
"type": "integer"
},
"update_at": {
"type": "integer"
},
"username": {
"type": "string"
},
"users": {
"items": {
"properties": {
"auth_data": {
"type": "string"
},
"auth_service": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"email": {
"type": "string"
},
"first_name": {
"type": "string"
},
"id": {
"type": "string"
},
"last_name": {
"type": "string"
},
"locale": {
"type": "string"
},
"nickname": {
"type": "string"
},
"position": {
"type": "string"
},
"roles": {
"type": "string"
},
"timezone": {
"properties": {
"automaticTimezone": {
"type": "string"
},
"manualTimezone": {
"type": "string"
},
"useAutomaticTimezone": {
"type": "string"
}
},
"type": "object"
},
"update_at": {
"type": "integer"
},
"username": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
{
"items": {
"properties": {
"description": {
"type": "string"
},
"id": {
"type": "string"
},
"is_active": {
"type": "boolean"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
]
}
},
"304": {
"description": "description",
"schema": {
"properties": {},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"produces": [
"application/json",
"text/plain; charset=utf-8"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "header",
"name": "x-ssl-client-cert",
"required": false,
"type": "string"
},
{
"in": "header",
"name": "x-ssl-client-cert-subject-dn",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"oneOf": [
{
"properties": {
"auth_data": {
"type": "string"
},
"auth_service": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"email": {
"type": "string"
},
"email_verified": {
"type": "boolean"
},
"failed_attempts": {
"type": "integer"
},
"first_name": {
"type": "string"
},
"id": {
"type": "string"
},
"last_name": {
"type": "string"
},
"last_password_update": {
"type": "integer"
},
"locale": {
"type": "string"
},
"mfa_active": {
"type": "boolean"
},
"mfa_required": {
"type": "boolean"
},
"nickname": {
"type": "string"
},
"notify_props": {
"properties": {
"channel": {
"type": "string"
},
"comments": {
"type": "string"
},
"desktop": {
"type": "string"
},
"desktop_sound": {
"type": "string"
},
"email": {
"type": "string"
},
"first_name": {
"type": "string"
},
"mention_keys": {
"type": "string"
},
"push": {
"type": "string"
},
"push_status": {
"type": "string"
}
},
"type": "object"
},
"position": {
"type": "string"
},
"roles": {
"type": "string"
},
"status": {
"type": "string"
},
"terms_of_service_create_at": {
"type": "integer"
},
"terms_of_service_id": {
"type": "string"
},
"timezone": {
"properties": {
"automaticTimezone": {
"type": "string"
},
"manualTimezone": {
"type": "string"
},
"useAutomaticTimezone": {
"type": "string"
}
},
"type": "object"
},
"update_at": {
"type": "integer"
},
"username": {
"type": "string"
}
},
"type": "object"
},
{
"items": {
"properties": {
"auth_data": {
"type": "string"
},
"auth_service": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"email": {
"type": "string"
},
"first_name": {
"type": "string"
},
"id": {
"type": "string"
},
"last_name": {
"type": "string"
},
"locale": {
"type": "string"
},
"nickname": {
"type": "string"
},
"position": {
"type": "string"
},
"roles": {
"type": "string"
},
"timezone": {
"properties": {
"automaticTimezone": {
"type": "string"
},
"manualTimezone": {
"type": "string"
},
"useAutomaticTimezone": {
"type": "string"
}
},
"type": "object"
},
"update_at": {
"type": "integer"
},
"username": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
]
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"type": "string"
}
}
}
},
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"auth_data": {
"type": "string"
},
"auth_service": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"email": {
"type": "string"
},
"email_verified": {
"type": "boolean"
},
"first_name": {
"type": "string"
},
"id": {
"type": "string"
},
"last_name": {
"type": "string"
},
"last_password_update": {
"type": "integer"
},
"locale": {
"type": "string"
},
"nickname": {
"type": "string"
},
"notify_props": {
"properties": {
"channel": {
"type": "string"
},
"comments": {
"type": "string"
},
"desktop": {
"type": "string"
},
"desktop_sound": {
"type": "string"
},
"email": {
"type": "string"
},
"first_name": {
"type": "string"
},
"mention_keys": {
"type": "string"
},
"push": {
"type": "string"
},
"push_status": {
"type": "string"
}
},
"type": "object"
},
"position": {
"type": "string"
},
"roles": {
"type": "string"
},
"timezone": {
"properties": {
"automaticTimezone": {
"type": "string"
},
"manualTimezone": {
"type": "string"
},
"useAutomaticTimezone": {
"type": "string"
}
},
"type": "object"
},
"update_at": {
"type": "integer"
},
"username": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/{user_id}/active": {
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/{user_id}/audits": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"action": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"extra_info": {
"type": "string"
},
"id": {
"type": "string"
},
"ip_address": {
"type": "string"
},
"session_id": {
"type": "string"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/{user_id}/auth": {
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"auth_data": {
"type": "string"
},
"auth_service": {
"type": "string"
},
"password": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/{user_id}/channels/{channel_id}/unread": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"channel_id": {
"type": "string"
},
"mention_count": {
"type": "integer"
},
"msg_count": {
"type": "integer"
},
"team_id": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/{user_id}/image": {
"delete": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"get": {
"produces": [
"image/png",
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"type": "string"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"post": {
"consumes": [
"multipart/form-data; boundary=e7d4f8b5d97bd05eb3b9edf4a8983fe5810a7d16a1303d93da22851c52d9",
"multipart/form-data; boundary=4a6d01dc87cdd478bb46c4462a0bc4b72eef4b933ff70baf95e6266991d5"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
},
{
"description": "description",
"in": "body",
"name": "body",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/{user_id}/oauth/apps/authorized": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"callback_urls": {
"items": {
"type": "string"
},
"type": "array"
},
"client_secret": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"creator_id": {
"type": "string"
},
"description": {
"type": "string"
},
"homepage": {
"type": "string"
},
"icon_url": {
"type": "string"
},
"id": {
"type": "string"
},
"is_trusted": {
"type": "boolean"
},
"name": {
"type": "string"
},
"update_at": {
"type": "integer"
}
},
"type": "object"
},
"type": "array"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/{user_id}/password": {
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/{user_id}/patch": {
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"auth_data": {
"type": "string"
},
"auth_service": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"email": {
"type": "string"
},
"email_verified": {
"type": "boolean"
},
"first_name": {
"type": "string"
},
"id": {
"type": "string"
},
"last_name": {
"type": "string"
},
"last_password_update": {
"type": "integer"
},
"locale": {
"type": "string"
},
"nickname": {
"type": "string"
},
"notify_props": {
"properties": {
"comment": {
"type": "string"
}
},
"type": "object"
},
"position": {
"type": "string"
},
"roles": {
"type": "string"
},
"timezone": {
"properties": {
"automaticTimezone": {
"type": "string"
},
"manualTimezone": {
"type": "string"
},
"useAutomaticTimezone": {
"type": "string"
}
},
"type": "object"
},
"update_at": {
"type": "integer"
},
"username": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/{user_id}/posts/flagged": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "channel_id",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "per_page",
"required": false,
"type": "string"
},
{
"in": "query",
"name": "team_id",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"order": {
"items": {
"type": "string"
},
"type": "array"
},
"posts": {
"properties": {
"7hx8nf33h7yzfgm4ed4cc6oexe": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"bx11mrck83rfjphro1epummbco": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"gddkr53r8bgmfxaeq5c1yiwzua": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"n4eexr93ujfmjconpoif6mpu8y": {
"properties": {
"channel_id": {
"type": "string"
},
"create_at": {
"type": "integer"
},
"delete_at": {
"type": "integer"
},
"edit_at": {
"type": "integer"
},
"hashtags": {
"type": "string"
},
"id": {
"type": "string"
},
"is_pinned": {
"type": "boolean"
},
"message": {
"type": "string"
},
"metadata": {
"properties": {},
"type": "object"
},
"original_id": {
"type": "string"
},
"parent_id": {
"type": "string"
},
"pending_post_id": {
"type": "string"
},
"props": {
"properties": {},
"type": "object"
},
"root_id": {
"type": "string"
},
"type": {
"type": "string"
},
"update_at": {
"type": "integer"
},
"user_id": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/{user_id}/posts/{post_id}/reactions/{reactionName}": {
"delete": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "postId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "reactionName",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/{user_id}/preferences": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"category": {
"type": "string"
},
"name": {
"type": "string"
},
"user_id": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/{user_id}/preferences/delete": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/{user_id}/preferences/direct_channel_show/name/{channel_name}": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "channelName",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"category": {
"type": "string"
},
"name": {
"type": "string"
},
"user_id": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/{user_id}/preferences/{preference_name}": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "preferenceId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"category": {
"type": "string"
},
"name": {
"type": "string"
},
"user_id": {
"type": "string"
},
"value": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"404": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/{user_id}/roles": {
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/{user_id}/sessions": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"items": {
"properties": {
"create_at": {
"type": "integer"
},
"device_id": {
"type": "string"
},
"expires_at": {
"type": "integer"
},
"id": {
"type": "string"
},
"is_oauth": {
"type": "boolean"
},
"last_activity_at": {
"type": "integer"
},
"props": {
"properties": {
"browser": {
"type": "string"
},
"csrf": {
"type": "string"
},
"os": {
"type": "string"
},
"platform": {
"type": "string"
}
},
"type": "object"
},
"roles": {
"type": "string"
},
"team_members": {
"items": {
"properties": {
"delete_at": {
"type": "integer"
},
"explicit_roles": {
"type": "string"
},
"roles": {
"type": "string"
},
"scheme_admin": {
"type": "boolean"
},
"scheme_user": {
"type": "boolean"
},
"team_id": {
"type": "string"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"token": {
"type": "string"
},
"user_id": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/{user_id}/sessions/revoke": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/{user_id}/sessions/revoke/all": {
"post": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"status": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"403": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
}
},
"/users/{user_id}/status": {
"get": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"last_activity_at": {
"type": "integer"
},
"manual": {
"type": "boolean"
},
"status": {
"type": "string"
},
"user_id": {
"type": "string"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
}
}
},
"put": {
"produces": [
"application/json"
],
"parameters": [
{
"in": "header",
"name": "accept-encoding",
"required": false,
"type": "string"
},
{
"in": "path",
"name": "userId",
"required": false,
"type": "string"
}
],
"responses": {
"200": {
"description": "description",
"schema": {
"properties": {
"last_activity_at": {
"type": "integer"
},
"manual": {
"type": "boolean"
},
"status": {
"type": "string"
},
"user_id": {
"type": "string"
}
},
"type": "object"
}
},
"400": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "object"
}
},
"401": {
"description": "description",
"schema": {
"properties": {
"detailed_error": {
"type": "string"
},
"id": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"status_code": {
"type": "integer"
}
},
"type": "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment