Skip to content

Commit

Permalink
Listing & creation of Developer Portal teams
Browse files Browse the repository at this point in the history
  • Loading branch information
DEVTomatoCake committed Aug 24, 2024
1 parent 60f22c2 commit eca4f1b
Show file tree
Hide file tree
Showing 12 changed files with 12,721 additions and 1,203 deletions.
89 changes: 83 additions & 6 deletions assets/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,7 @@
"type": "string"
},
"team_id": {
"type": [
"string",
"integer"
]
"type": "string"
}
},
"required": [
Expand Down Expand Up @@ -3169,6 +3166,9 @@
"type": "string"
}
},
"role": {
"$ref": "#/components/schemas/TeamMemberRole"
},
"team_id": {
"type": "string"
},
Expand All @@ -3189,6 +3189,7 @@
"id",
"membership_state",
"permissions",
"role",
"team",
"team_id",
"user",
Expand All @@ -3202,6 +3203,14 @@
],
"type": "number"
},
"TeamMemberRole": {
"enum": [
"admin",
"developer",
"read_only"
],
"type": "string"
},
"Sticker": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -6307,6 +6316,17 @@
"protocol"
]
},
"TeamCreateSchema": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
]
},
"TemplateCreateSchema": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -7661,6 +7681,14 @@
"location"
]
},
"TeamListResponse": {
"type": "object",
"patternProperties": {
"^[0-9]+$": {
"$ref": "#/components/schemas/Team"
}
}
},
"TenorTrendingResponse": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -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": [
Expand Down
Loading

0 comments on commit eca4f1b

Please sign in to comment.