mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Fix examples
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
mutation {
|
||||
accountCreateAnonymousSession {
|
||||
id
|
||||
createdAt
|
||||
userId
|
||||
expire
|
||||
provider
|
||||
providerUid
|
||||
providerAccessToken
|
||||
providerAccessTokenExpiry
|
||||
providerRefreshToken
|
||||
ip
|
||||
osCode
|
||||
osName
|
||||
osVersion
|
||||
clientType
|
||||
clientCode
|
||||
clientName
|
||||
clientVersion
|
||||
clientEngine
|
||||
clientEngineVersion
|
||||
deviceName
|
||||
deviceBrand
|
||||
deviceModel
|
||||
countryCode
|
||||
countryName
|
||||
current
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
mutation {
|
||||
accountCreateEmailSession(
|
||||
email: "email@example.com",
|
||||
password: "password"
|
||||
) {
|
||||
id
|
||||
createdAt
|
||||
userId
|
||||
expire
|
||||
provider
|
||||
providerUid
|
||||
providerAccessToken
|
||||
providerAccessTokenExpiry
|
||||
providerRefreshToken
|
||||
ip
|
||||
osCode
|
||||
osName
|
||||
osVersion
|
||||
clientType
|
||||
clientCode
|
||||
clientName
|
||||
clientVersion
|
||||
clientEngine
|
||||
clientEngineVersion
|
||||
deviceName
|
||||
deviceBrand
|
||||
deviceModel
|
||||
countryCode
|
||||
countryName
|
||||
current
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
mutation {
|
||||
accountCreateJWT {
|
||||
jwt
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
mutation {
|
||||
accountCreateMagicURLSession(
|
||||
userId: "[USER_ID]",
|
||||
email: "email@example.com"
|
||||
) {
|
||||
id
|
||||
createdAt
|
||||
userId
|
||||
secret
|
||||
expire
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
query {
|
||||
accountCreateOAuth2Session(
|
||||
provider: "amazon"
|
||||
) {
|
||||
status
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
mutation {
|
||||
accountCreatePhoneSession(
|
||||
userId: "[USER_ID]",
|
||||
phone:
|
||||
) {
|
||||
id
|
||||
createdAt
|
||||
userId
|
||||
secret
|
||||
expire
|
||||
}
|
||||
}
|
||||
+1
-4
@@ -1,5 +1,5 @@
|
||||
mutation {
|
||||
usersCreateSHAUser(
|
||||
accountCreate(
|
||||
userId: "[USER_ID]",
|
||||
email: "email@example.com",
|
||||
password: "password"
|
||||
@@ -8,9 +8,6 @@ mutation {
|
||||
createdAt
|
||||
updatedAt
|
||||
name
|
||||
password
|
||||
hash
|
||||
hashOptions
|
||||
registration
|
||||
status
|
||||
passwordUpdate
|
||||
@@ -0,0 +1,32 @@
|
||||
mutation {
|
||||
accountUpdateMagicURLSession(
|
||||
userId: "[USER_ID]",
|
||||
secret: "[SECRET]"
|
||||
) {
|
||||
id
|
||||
createdAt
|
||||
userId
|
||||
expire
|
||||
provider
|
||||
providerUid
|
||||
providerAccessToken
|
||||
providerAccessTokenExpiry
|
||||
providerRefreshToken
|
||||
ip
|
||||
osCode
|
||||
osName
|
||||
osVersion
|
||||
clientType
|
||||
clientCode
|
||||
clientName
|
||||
clientVersion
|
||||
clientEngine
|
||||
clientEngineVersion
|
||||
deviceName
|
||||
deviceBrand
|
||||
deviceModel
|
||||
countryCode
|
||||
countryName
|
||||
current
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
mutation {
|
||||
accountUpdatePhoneSession(
|
||||
userId: "[USER_ID]",
|
||||
secret: "[SECRET]"
|
||||
) {
|
||||
id
|
||||
createdAt
|
||||
userId
|
||||
expire
|
||||
provider
|
||||
providerUid
|
||||
providerAccessToken
|
||||
providerAccessTokenExpiry
|
||||
providerRefreshToken
|
||||
ip
|
||||
osCode
|
||||
osName
|
||||
osVersion
|
||||
clientType
|
||||
clientCode
|
||||
clientName
|
||||
clientVersion
|
||||
clientEngine
|
||||
clientEngineVersion
|
||||
deviceName
|
||||
deviceBrand
|
||||
deviceModel
|
||||
countryCode
|
||||
countryName
|
||||
current
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user