Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Basic Groups API #197

Merged
merged 40 commits into from
Dec 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
24d3960
wip: group api
ariesclark Dec 1, 2022
9761f64
Typo Fixes
Miner28 Dec 1, 2022
df5c397
CreateGroupRequest, Typo Fixes
Miner28 Dec 1, 2022
1b6e68d
GetUserList
Miner28 Dec 1, 2022
b12ff08
Add new endpoints to path.yaml
Miner28 Dec 1, 2022
fe9a432
Update lint, fixes
Miner28 Dec 1, 2022
7d93965
Create GroupID.yaml
Foorack Dec 1, 2022
95a0f56
Create GroupID, GroupMemberID, GroupRoleID
Foorack Dec 1, 2022
347ec04
Create GroupGalleryID.yaml
Foorack Dec 1, 2022
0c1592d
Delete GroupMemberID.yaml
Foorack Dec 1, 2022
a2255aa
Revert "Delete GroupMemberID.yaml"
Foorack Dec 1, 2022
1e21fcd
.
Foorack Dec 1, 2022
4f21052
GroupMember
Foorack Dec 1, 2022
2bd8244
GroupGallery
Foorack Dec 1, 2022
d175bdb
.
Foorack Dec 2, 2022
dc209a5
Update GroupMyMember.yaml
Foorack Dec 2, 2022
1fb5c6d
Remove mention of guilds
Foorack Dec 2, 2022
024ff7c
GroupNotFoundError description
Foorack Dec 2, 2022
4d63044
Make GroupShortCode regex compliant
Foorack Dec 2, 2022
0afd5af
.
Miner28 Dec 2, 2022
ef7a431
Update lint
Miner28 Dec 2, 2022
366f3c9
gitignore update
Miner28 Dec 2, 2022
4bcff57
operationId on paths./groups.post
Foorack Dec 2, 2022
dba993e
Merge branch 'main' of https://github.com/Miner28/specification into …
Foorack Dec 2, 2022
29c0521
Sort tags
Foorack Dec 2, 2022
09bc974
Groups
Miner28 Dec 2, 2022
3865ee1
CreateGroupRoleRequest
Miner28 Dec 2, 2022
705e4fb
Group Join, Leave
Miner28 Dec 2, 2022
a18efe1
User Requests, Path
Miner28 Dec 2, 2022
77a5c48
List Group Requests
Miner28 Dec 2, 2022
4d4636e
Fix Group Requests
Miner28 Dec 2, 2022
108fd53
Group Invites, Requests
Miner28 Dec 2, 2022
b723a1a
Add Description, fixes
Miner28 Dec 2, 2022
f5b86a7
Typos, Fixes
Miner28 Dec 2, 2022
24f6a1b
Minor update to route descriptions
Foorack Dec 2, 2022
2e19895
Clear lint errors
Foorack Dec 2, 2022
33964a6
Add security headers and sort
Foorack Dec 2, 2022
f3f4beb
Fix duplicate array descriptions (rendering bug)
Foorack Dec 2, 2022
70cdb9e
Minor title fix in users.yaml
Foorack Dec 2, 2022
5011370
Add List Group Members
Miner28 Dec 2, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
**/node_modules
dist
dist
.idea
22 changes: 22 additions & 0 deletions openapi/components/parameters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,24 @@ fileId:
type: string
example: file_00000000-0000-0000-0000-000000000000
pattern: 'file_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}'
description: Must be a valid file ID.
groupId:
name: groupId
in: path
required: true
schema:
type: string
example: grp_00000000-0000-0000-0000-000000000000
pattern: 'grp_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}'
description: Must be a valid group ID.
groupRoleId:
name: groupRoleId
in: path
required: true
schema:
type: string
example: grol_00000000-0000-0000-0000-000000000000
pattern: 'grol_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}'
versionId:
name: versionId
in: path
Expand All @@ -94,6 +112,7 @@ versionId:
type: integer
minimum: 1
example: 1
description: Version ID of the asset.
fileType:
name: fileType
in: path
Expand All @@ -105,12 +124,14 @@ fileType:
- signature
- delta
example: file
description: Type of file.
userId:
name: userId
in: path
required: true
schema:
type: string
description: Must be a valid user ID.
userIdQuery:
name: userId
in: query
Expand Down Expand Up @@ -215,6 +236,7 @@ worldId:
required: true
schema:
type: string
description: Must be a valid world ID.
instanceId:
name: instanceId
in: path
Expand Down
28 changes: 28 additions & 0 deletions openapi/components/paths.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,29 @@
"/auth/user/friends/{userId}":
$ref: "./paths/friends.yaml#/paths/~1auth~1user~1friends~1{userId}"

# groups

"/groups":
$ref: "./paths/groups.yaml#/paths/~1groups"
"/groups/{groupId}":
$ref: "./paths/groups.yaml#/paths/~1groups~1{groupId}"
"/groups/{groupId}/roles":
$ref: "./paths/groups.yaml#/paths/~1groups~1{groupId}~1roles"
"/groups/{groupId}/members":
$ref: "./paths/groups.yaml#/paths/~1groups~1{groupId}~1members"
"/groups/{groupId}/roles/{groupRoleId}":
$ref: "./paths/groups.yaml#/paths/~1groups~1{groupId}~1roles~1{groupRoleId}"
"/groups/{groupId}/join":
$ref: "./paths/groups.yaml#/paths/~1groups~1{groupId}~1join"
"/groups/{groupId}/leave":
$ref: "./paths/groups.yaml#/paths/~1groups~1{groupId}~1leave"
"/groups/{groupId}/requests":
$ref: "./paths/groups.yaml#/paths/~1groups~1{groupId}~1requests"
"/groups/{groupId}/invites":
$ref: "./paths/groups.yaml#/paths/~1groups~1{groupId}~1invites"
"/groups/{groupId}/invites/{userId}":
$ref: "./paths/groups.yaml#/paths/~1groups~1{groupId}~1invites~1{userId}"

# invite

"/invite/{userId}":
Expand Down Expand Up @@ -176,6 +199,10 @@
$ref: "./paths/users.yaml#/paths/~1users~1{username}~1name"
"/users/{userId}":
$ref: "./paths/users.yaml#/paths/~1users~1{userId}"
"/users/{userId}/groups":
$ref: "./paths/users.yaml#/paths/~1users~1{userId}~1groups"
"/users/{userId}/groups/requested":
$ref: "./paths/users.yaml#/paths/~1users~1{userId}~1groups~1requested"

# worlds

Expand All @@ -195,3 +222,4 @@
$ref: "./paths/worlds.yaml#/paths/~1worlds~1{worldId}~1publish"
"/worlds/{worldId}/{instanceId}":
$ref: "./paths/worlds.yaml#/paths/~1worlds~1{worldId}~1{instanceId}"

2 changes: 2 additions & 0 deletions openapi/components/paths/files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ paths:
in: query
name: partNumber
required: false
description: The part number to start uploading. If not provided, the first part will be started.
deprecated: true
security:
- apiKeyCookie: []
authCookie: []
Expand Down
Loading