114 lines
1.8 KiB
Plaintext
Raw Normal View History

mutation getProfileImageUploadLink($fileExt: String = ".png") {
getProfileImageUploadLink(fileExt: $fileExt) {
value {
... on UploadLink {
uploadUrl
headers {
key
value
}
}
2024-08-19 14:44:43 -07:00
... on GetProfileUploadLinkErrors {
error {
... on TooManyProfileImageUploadsErr {
linksRequested
}
}
}
}
}
}
mutation editProfileImageUri($profileImageUri: String!) {
editProfileImageUri(profileImageUri: $profileImageUri) {
id
firebaseUid
username
profileImageUri
createdAt
updatedAt
}
}
query getLoggedInUser {
getLoggedInUser {
id
firebaseUid
username
2024-07-13 17:47:41 -06:00
isAdmin
profileImageUri
2024-10-28 15:59:06 -07:00
fargoRating
activeVideoId
createdAt
updatedAt
}
}
2024-03-27 18:48:04 -07:00
query GetUserPlayTime($userId: Int!) {
getPlayTime(userId: $userId) {
totalSeconds
}
}
2024-07-14 00:16:02 -06:00
query getUsernames(
$matchString: String!
$limit: Int = null
$after: String = null
) {
getUsernames(matchString: $matchString, limit: $limit, after: $after)
}
2024-09-05 18:35:08 -07:00
query getUserRelationshipsMatching(
$userId: Int!
$matchString: String!
$limit: Int = null
$after: String = null
) {
getUserRelationshipsMatching(
userId: $userId
matchString: $matchString
limit: $limit
after: $after
) {
relationships {
toUser {
username
id
}
toUserFollows
toUserIsFollowedBy
}
}
}
2024-09-05 18:35:08 -07:00
query GetUserTags {
getUserTags {
id
name
}
}
2024-10-27 12:22:22 -06:00
mutation followUser($followedUserId: Int!) {
followUser(followedUserId: $followedUserId) {
2024-10-27 19:18:57 -06:00
username
2024-10-29 15:46:16 -06:00
following {
id
}
followers {
id
}
2024-10-27 12:22:22 -06:00
}
}
mutation unfollowUser($followedUserId: Int!) {
unfollowUser(followedUserId: $followedUserId) {
2024-10-27 19:18:57 -06:00
username
2024-10-29 15:46:16 -06:00
following {
id
}
followers {
id
}
2024-10-27 12:22:22 -06:00
}
}