Listing & creation of Developer Portal teams
This commit is contained in:
+83
-6
@@ -118,10 +118,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"team_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"integer"
|
||||
]
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -3169,6 +3166,9 @@
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"role": {
|
||||
"$ref": "#/components/schemas/TeamMemberRole"
|
||||
},
|
||||
"team_id": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -3189,6 +3189,7 @@
|
||||
"id",
|
||||
"membership_state",
|
||||
"permissions",
|
||||
"role",
|
||||
"team",
|
||||
"team_id",
|
||||
"user",
|
||||
@@ -3202,6 +3203,14 @@
|
||||
],
|
||||
"type": "number"
|
||||
},
|
||||
"TeamMemberRole": {
|
||||
"enum": [
|
||||
"admin",
|
||||
"developer",
|
||||
"read_only"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"Sticker": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -6307,6 +6316,17 @@
|
||||
"protocol"
|
||||
]
|
||||
},
|
||||
"TeamCreateSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
]
|
||||
},
|
||||
"TemplateCreateSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -7661,6 +7681,14 @@
|
||||
"location"
|
||||
]
|
||||
},
|
||||
"TeamListResponse": {
|
||||
"type": "object",
|
||||
"patternProperties": {
|
||||
"^[0-9]+$": {
|
||||
"$ref": "#/components/schemas/Team"
|
||||
}
|
||||
}
|
||||
},
|
||||
"TenorTrendingResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -10622,8 +10650,57 @@
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"default": {
|
||||
"description": "No description available"
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/TeamListResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"parameters": [
|
||||
{
|
||||
"name": "include_payout_account_status",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"description": "Whether to include team payout account status in the response (default false)"
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"teams"
|
||||
]
|
||||
},
|
||||
"post": {
|
||||
"security": [
|
||||
{
|
||||
"bearer": []
|
||||
}
|
||||
],
|
||||
"requestBody": {
|
||||
"required": true,
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/TeamCreateSchema"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/Team"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
|
||||
+11274
-4
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user