Merge pull request #4925 from appwrite/fix-graphql-examples
Fix graphql examples to include _ for internal attributes
This commit is contained in:
commit
528bae3c53
98 changed files with 304 additions and 304 deletions
|
@ -1,7 +1,7 @@
|
||||||
mutation {
|
mutation {
|
||||||
accountCreateAnonymousSession {
|
accountCreateAnonymousSession {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
userId
|
userId
|
||||||
expire
|
expire
|
||||||
provider
|
provider
|
||||||
|
|
|
@ -3,8 +3,8 @@ mutation {
|
||||||
email: "email@example.com",
|
email: "email@example.com",
|
||||||
password: "password"
|
password: "password"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
userId
|
userId
|
||||||
expire
|
expire
|
||||||
provider
|
provider
|
||||||
|
|
|
@ -3,8 +3,8 @@ mutation {
|
||||||
userId: "[USER_ID]",
|
userId: "[USER_ID]",
|
||||||
email: "email@example.com"
|
email: "email@example.com"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
userId
|
userId
|
||||||
secret
|
secret
|
||||||
expire
|
expire
|
||||||
|
|
|
@ -3,8 +3,8 @@ mutation {
|
||||||
userId: "[USER_ID]",
|
userId: "[USER_ID]",
|
||||||
phone: "+12065550100"
|
phone: "+12065550100"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
userId
|
userId
|
||||||
secret
|
secret
|
||||||
expire
|
expire
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
mutation {
|
mutation {
|
||||||
accountCreatePhoneVerification {
|
accountCreatePhoneVerification {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
userId
|
userId
|
||||||
secret
|
secret
|
||||||
expire
|
expire
|
||||||
|
|
|
@ -3,8 +3,8 @@ mutation {
|
||||||
email: "email@example.com",
|
email: "email@example.com",
|
||||||
url: "https://example.com"
|
url: "https://example.com"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
userId
|
userId
|
||||||
secret
|
secret
|
||||||
expire
|
expire
|
||||||
|
|
|
@ -2,8 +2,8 @@ mutation {
|
||||||
accountCreateVerification(
|
accountCreateVerification(
|
||||||
url: "https://example.com"
|
url: "https://example.com"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
userId
|
userId
|
||||||
secret
|
secret
|
||||||
expire
|
expire
|
||||||
|
|
|
@ -4,9 +4,9 @@ mutation {
|
||||||
email: "email@example.com",
|
email: "email@example.com",
|
||||||
password: "password"
|
password: "password"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
registration
|
registration
|
||||||
status
|
status
|
||||||
|
|
|
@ -2,8 +2,8 @@ query {
|
||||||
accountGetSession(
|
accountGetSession(
|
||||||
sessionId: "[SESSION_ID]"
|
sessionId: "[SESSION_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
userId
|
userId
|
||||||
expire
|
expire
|
||||||
provider
|
provider
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
query {
|
query {
|
||||||
accountGet {
|
accountGet {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
registration
|
registration
|
||||||
status
|
status
|
||||||
|
|
|
@ -3,9 +3,9 @@ mutation {
|
||||||
email: "email@example.com",
|
email: "email@example.com",
|
||||||
password: "password"
|
password: "password"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
registration
|
registration
|
||||||
status
|
status
|
||||||
|
|
|
@ -3,8 +3,8 @@ mutation {
|
||||||
userId: "[USER_ID]",
|
userId: "[USER_ID]",
|
||||||
secret: "[SECRET]"
|
secret: "[SECRET]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
userId
|
userId
|
||||||
expire
|
expire
|
||||||
provider
|
provider
|
||||||
|
|
|
@ -2,9 +2,9 @@ mutation {
|
||||||
accountUpdateName(
|
accountUpdateName(
|
||||||
name: "[NAME]"
|
name: "[NAME]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
registration
|
registration
|
||||||
status
|
status
|
||||||
|
|
|
@ -2,9 +2,9 @@ mutation {
|
||||||
accountUpdatePassword(
|
accountUpdatePassword(
|
||||||
password: "password"
|
password: "password"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
registration
|
registration
|
||||||
status
|
status
|
||||||
|
|
|
@ -3,8 +3,8 @@ mutation {
|
||||||
userId: "[USER_ID]",
|
userId: "[USER_ID]",
|
||||||
secret: "[SECRET]"
|
secret: "[SECRET]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
userId
|
userId
|
||||||
expire
|
expire
|
||||||
provider
|
provider
|
||||||
|
|
|
@ -3,8 +3,8 @@ mutation {
|
||||||
userId: "[USER_ID]",
|
userId: "[USER_ID]",
|
||||||
secret: "[SECRET]"
|
secret: "[SECRET]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
userId
|
userId
|
||||||
secret
|
secret
|
||||||
expire
|
expire
|
||||||
|
|
|
@ -3,9 +3,9 @@ mutation {
|
||||||
phone: "+12065550100",
|
phone: "+12065550100",
|
||||||
password: "password"
|
password: "password"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
registration
|
registration
|
||||||
status
|
status
|
||||||
|
|
|
@ -2,9 +2,9 @@ mutation {
|
||||||
accountUpdatePrefs(
|
accountUpdatePrefs(
|
||||||
prefs: "{}"
|
prefs: "{}"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
registration
|
registration
|
||||||
status
|
status
|
||||||
|
|
|
@ -5,8 +5,8 @@ mutation {
|
||||||
password: "password",
|
password: "password",
|
||||||
passwordAgain: "password"
|
passwordAgain: "password"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
userId
|
userId
|
||||||
secret
|
secret
|
||||||
expire
|
expire
|
||||||
|
|
|
@ -2,8 +2,8 @@ mutation {
|
||||||
accountUpdateSession(
|
accountUpdateSession(
|
||||||
sessionId: "[SESSION_ID]"
|
sessionId: "[SESSION_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
userId
|
userId
|
||||||
expire
|
expire
|
||||||
provider
|
provider
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
mutation {
|
mutation {
|
||||||
accountUpdateStatus {
|
accountUpdateStatus {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
registration
|
registration
|
||||||
status
|
status
|
||||||
|
|
|
@ -3,8 +3,8 @@ mutation {
|
||||||
userId: "[USER_ID]",
|
userId: "[USER_ID]",
|
||||||
secret: "[SECRET]"
|
secret: "[SECRET]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
userId
|
userId
|
||||||
secret
|
secret
|
||||||
expire
|
expire
|
||||||
|
|
|
@ -5,12 +5,12 @@ mutation {
|
||||||
documentId: "[DOCUMENT_ID]",
|
documentId: "[DOCUMENT_ID]",
|
||||||
data: "{}"
|
data: "{}"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
collectionId
|
_collectionId
|
||||||
databaseId
|
_databaseId
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
permissions
|
_permissions
|
||||||
data
|
data
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,12 +4,12 @@ query {
|
||||||
collectionId: "[COLLECTION_ID]",
|
collectionId: "[COLLECTION_ID]",
|
||||||
documentId: "[DOCUMENT_ID]"
|
documentId: "[DOCUMENT_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
collectionId
|
_collectionId
|
||||||
databaseId
|
_databaseId
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
permissions
|
_permissions
|
||||||
data
|
data
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,12 +4,12 @@ mutation {
|
||||||
collectionId: "[COLLECTION_ID]",
|
collectionId: "[COLLECTION_ID]",
|
||||||
documentId: "[DOCUMENT_ID]"
|
documentId: "[DOCUMENT_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
collectionId
|
_collectionId
|
||||||
databaseId
|
_databaseId
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
permissions
|
_permissions
|
||||||
data
|
data
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,10 +2,10 @@ mutation {
|
||||||
functionsCreateExecution(
|
functionsCreateExecution(
|
||||||
functionId: "[FUNCTION_ID]"
|
functionId: "[FUNCTION_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
permissions
|
_permissions
|
||||||
functionId
|
functionId
|
||||||
trigger
|
trigger
|
||||||
status
|
status
|
||||||
|
|
|
@ -3,10 +3,10 @@ query {
|
||||||
functionId: "[FUNCTION_ID]",
|
functionId: "[FUNCTION_ID]",
|
||||||
executionId: "[EXECUTION_ID]"
|
executionId: "[EXECUTION_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
permissions
|
_permissions
|
||||||
functionId
|
functionId
|
||||||
trigger
|
trigger
|
||||||
status
|
status
|
||||||
|
|
|
@ -3,11 +3,11 @@ query {
|
||||||
bucketId: "[BUCKET_ID]",
|
bucketId: "[BUCKET_ID]",
|
||||||
fileId: "[FILE_ID]"
|
fileId: "[FILE_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
bucketId
|
bucketId
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
permissions
|
_permissions
|
||||||
name
|
name
|
||||||
signature
|
signature
|
||||||
mimeType
|
mimeType
|
||||||
|
|
|
@ -3,11 +3,11 @@ mutation {
|
||||||
bucketId: "[BUCKET_ID]",
|
bucketId: "[BUCKET_ID]",
|
||||||
fileId: "[FILE_ID]"
|
fileId: "[FILE_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
bucketId
|
bucketId
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
permissions
|
_permissions
|
||||||
name
|
name
|
||||||
signature
|
signature
|
||||||
mimeType
|
mimeType
|
||||||
|
|
|
@ -5,9 +5,9 @@ mutation {
|
||||||
roles: [],
|
roles: [],
|
||||||
url: "https://example.com"
|
url: "https://example.com"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
userId
|
userId
|
||||||
userName
|
userName
|
||||||
userEmail
|
userEmail
|
||||||
|
|
|
@ -3,9 +3,9 @@ mutation {
|
||||||
teamId: "[TEAM_ID]",
|
teamId: "[TEAM_ID]",
|
||||||
name: "[NAME]"
|
name: "[NAME]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
total
|
total
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,9 +3,9 @@ query {
|
||||||
teamId: "[TEAM_ID]",
|
teamId: "[TEAM_ID]",
|
||||||
membershipId: "[MEMBERSHIP_ID]"
|
membershipId: "[MEMBERSHIP_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
userId
|
userId
|
||||||
userName
|
userName
|
||||||
userEmail
|
userEmail
|
||||||
|
|
|
@ -2,9 +2,9 @@ query {
|
||||||
teamsGet(
|
teamsGet(
|
||||||
teamId: "[TEAM_ID]"
|
teamId: "[TEAM_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
total
|
total
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,9 +4,9 @@ mutation {
|
||||||
membershipId: "[MEMBERSHIP_ID]",
|
membershipId: "[MEMBERSHIP_ID]",
|
||||||
roles: []
|
roles: []
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
userId
|
userId
|
||||||
userName
|
userName
|
||||||
userEmail
|
userEmail
|
||||||
|
|
|
@ -5,9 +5,9 @@ mutation {
|
||||||
userId: "[USER_ID]",
|
userId: "[USER_ID]",
|
||||||
secret: "[SECRET]"
|
secret: "[SECRET]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
userId
|
userId
|
||||||
userName
|
userName
|
||||||
userEmail
|
userEmail
|
||||||
|
|
|
@ -3,9 +3,9 @@ mutation {
|
||||||
teamId: "[TEAM_ID]",
|
teamId: "[TEAM_ID]",
|
||||||
name: "[NAME]"
|
name: "[NAME]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
total
|
total
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
mutation {
|
mutation {
|
||||||
accountCreatePhoneVerification {
|
accountCreatePhoneVerification {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
userId
|
userId
|
||||||
secret
|
secret
|
||||||
expire
|
expire
|
||||||
|
|
|
@ -3,8 +3,8 @@ mutation {
|
||||||
email: "email@example.com",
|
email: "email@example.com",
|
||||||
url: "https://example.com"
|
url: "https://example.com"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
userId
|
userId
|
||||||
secret
|
secret
|
||||||
expire
|
expire
|
||||||
|
|
|
@ -2,8 +2,8 @@ mutation {
|
||||||
accountCreateVerification(
|
accountCreateVerification(
|
||||||
url: "https://example.com"
|
url: "https://example.com"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
userId
|
userId
|
||||||
secret
|
secret
|
||||||
expire
|
expire
|
||||||
|
|
|
@ -2,8 +2,8 @@ query {
|
||||||
accountGetSession(
|
accountGetSession(
|
||||||
sessionId: "[SESSION_ID]"
|
sessionId: "[SESSION_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
userId
|
userId
|
||||||
expire
|
expire
|
||||||
provider
|
provider
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
query {
|
query {
|
||||||
accountGet {
|
accountGet {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
registration
|
registration
|
||||||
status
|
status
|
||||||
|
|
|
@ -3,9 +3,9 @@ mutation {
|
||||||
email: "email@example.com",
|
email: "email@example.com",
|
||||||
password: "password"
|
password: "password"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
registration
|
registration
|
||||||
status
|
status
|
||||||
|
|
|
@ -2,9 +2,9 @@ mutation {
|
||||||
accountUpdateName(
|
accountUpdateName(
|
||||||
name: "[NAME]"
|
name: "[NAME]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
registration
|
registration
|
||||||
status
|
status
|
||||||
|
|
|
@ -2,9 +2,9 @@ mutation {
|
||||||
accountUpdatePassword(
|
accountUpdatePassword(
|
||||||
password: "password"
|
password: "password"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
registration
|
registration
|
||||||
status
|
status
|
||||||
|
|
|
@ -3,8 +3,8 @@ mutation {
|
||||||
userId: "[USER_ID]",
|
userId: "[USER_ID]",
|
||||||
secret: "[SECRET]"
|
secret: "[SECRET]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
userId
|
userId
|
||||||
secret
|
secret
|
||||||
expire
|
expire
|
||||||
|
|
|
@ -3,9 +3,9 @@ mutation {
|
||||||
phone: "+12065550100",
|
phone: "+12065550100",
|
||||||
password: "password"
|
password: "password"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
registration
|
registration
|
||||||
status
|
status
|
||||||
|
|
|
@ -2,9 +2,9 @@ mutation {
|
||||||
accountUpdatePrefs(
|
accountUpdatePrefs(
|
||||||
prefs: "{}"
|
prefs: "{}"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
registration
|
registration
|
||||||
status
|
status
|
||||||
|
|
|
@ -5,8 +5,8 @@ mutation {
|
||||||
password: "password",
|
password: "password",
|
||||||
passwordAgain: "password"
|
passwordAgain: "password"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
userId
|
userId
|
||||||
secret
|
secret
|
||||||
expire
|
expire
|
||||||
|
|
|
@ -2,8 +2,8 @@ mutation {
|
||||||
accountUpdateSession(
|
accountUpdateSession(
|
||||||
sessionId: "[SESSION_ID]"
|
sessionId: "[SESSION_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
userId
|
userId
|
||||||
expire
|
expire
|
||||||
provider
|
provider
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
mutation {
|
mutation {
|
||||||
accountUpdateStatus {
|
accountUpdateStatus {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
registration
|
registration
|
||||||
status
|
status
|
||||||
|
|
|
@ -3,8 +3,8 @@ mutation {
|
||||||
userId: "[USER_ID]",
|
userId: "[USER_ID]",
|
||||||
secret: "[SECRET]"
|
secret: "[SECRET]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
userId
|
userId
|
||||||
secret
|
secret
|
||||||
expire
|
expire
|
||||||
|
|
|
@ -4,10 +4,10 @@ mutation {
|
||||||
collectionId: "[COLLECTION_ID]",
|
collectionId: "[COLLECTION_ID]",
|
||||||
name: "[NAME]"
|
name: "[NAME]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
permissions
|
_permissions
|
||||||
databaseId
|
databaseId
|
||||||
name
|
name
|
||||||
enabled
|
enabled
|
||||||
|
|
|
@ -5,12 +5,12 @@ mutation {
|
||||||
documentId: "[DOCUMENT_ID]",
|
documentId: "[DOCUMENT_ID]",
|
||||||
data: "{}"
|
data: "{}"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
collectionId
|
_collectionId
|
||||||
databaseId
|
_databaseId
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
permissions
|
_permissions
|
||||||
data
|
data
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,9 +3,9 @@ mutation {
|
||||||
databaseId: "[DATABASE_ID]",
|
databaseId: "[DATABASE_ID]",
|
||||||
name: "[NAME]"
|
name: "[NAME]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
name
|
name
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,10 +3,10 @@ query {
|
||||||
databaseId: "[DATABASE_ID]",
|
databaseId: "[DATABASE_ID]",
|
||||||
collectionId: "[COLLECTION_ID]"
|
collectionId: "[COLLECTION_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
permissions
|
_permissions
|
||||||
databaseId
|
databaseId
|
||||||
name
|
name
|
||||||
enabled
|
enabled
|
||||||
|
|
|
@ -4,12 +4,12 @@ query {
|
||||||
collectionId: "[COLLECTION_ID]",
|
collectionId: "[COLLECTION_ID]",
|
||||||
documentId: "[DOCUMENT_ID]"
|
documentId: "[DOCUMENT_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
collectionId
|
_collectionId
|
||||||
databaseId
|
_databaseId
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
permissions
|
_permissions
|
||||||
data
|
data
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,9 +2,9 @@ query {
|
||||||
databasesGet(
|
databasesGet(
|
||||||
databaseId: "[DATABASE_ID]"
|
databaseId: "[DATABASE_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
name
|
name
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,10 +4,10 @@ mutation {
|
||||||
collectionId: "[COLLECTION_ID]",
|
collectionId: "[COLLECTION_ID]",
|
||||||
name: "[NAME]"
|
name: "[NAME]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
permissions
|
_permissions
|
||||||
databaseId
|
databaseId
|
||||||
name
|
name
|
||||||
enabled
|
enabled
|
||||||
|
|
|
@ -4,12 +4,12 @@ mutation {
|
||||||
collectionId: "[COLLECTION_ID]",
|
collectionId: "[COLLECTION_ID]",
|
||||||
documentId: "[DOCUMENT_ID]"
|
documentId: "[DOCUMENT_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
collectionId
|
_collectionId
|
||||||
databaseId
|
_databaseId
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
permissions
|
_permissions
|
||||||
data
|
data
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,9 +3,9 @@ mutation {
|
||||||
databaseId: "[DATABASE_ID]",
|
databaseId: "[DATABASE_ID]",
|
||||||
name: "[NAME]"
|
name: "[NAME]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
name
|
name
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,10 +2,10 @@ mutation {
|
||||||
functionsCreateExecution(
|
functionsCreateExecution(
|
||||||
functionId: "[FUNCTION_ID]"
|
functionId: "[FUNCTION_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
permissions
|
_permissions
|
||||||
functionId
|
functionId
|
||||||
trigger
|
trigger
|
||||||
status
|
status
|
||||||
|
|
|
@ -4,9 +4,9 @@ mutation {
|
||||||
key: "[KEY]",
|
key: "[KEY]",
|
||||||
value: "[VALUE]"
|
value: "[VALUE]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
key
|
key
|
||||||
value
|
value
|
||||||
functionId
|
functionId
|
||||||
|
|
|
@ -5,9 +5,9 @@ mutation {
|
||||||
execute: ["any"],
|
execute: ["any"],
|
||||||
runtime: "node-14.5"
|
runtime: "node-14.5"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
execute
|
execute
|
||||||
name
|
name
|
||||||
enabled
|
enabled
|
||||||
|
|
|
@ -3,9 +3,9 @@ query {
|
||||||
functionId: "[FUNCTION_ID]",
|
functionId: "[FUNCTION_ID]",
|
||||||
deploymentId: "[DEPLOYMENT_ID]"
|
deploymentId: "[DEPLOYMENT_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
resourceId
|
resourceId
|
||||||
resourceType
|
resourceType
|
||||||
entrypoint
|
entrypoint
|
||||||
|
|
|
@ -3,10 +3,10 @@ query {
|
||||||
functionId: "[FUNCTION_ID]",
|
functionId: "[FUNCTION_ID]",
|
||||||
executionId: "[EXECUTION_ID]"
|
executionId: "[EXECUTION_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
permissions
|
_permissions
|
||||||
functionId
|
functionId
|
||||||
trigger
|
trigger
|
||||||
status
|
status
|
||||||
|
|
|
@ -3,9 +3,9 @@ query {
|
||||||
functionId: "[FUNCTION_ID]",
|
functionId: "[FUNCTION_ID]",
|
||||||
variableId: "[VARIABLE_ID]"
|
variableId: "[VARIABLE_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
key
|
key
|
||||||
value
|
value
|
||||||
functionId
|
functionId
|
||||||
|
|
|
@ -2,9 +2,9 @@ query {
|
||||||
functionsGet(
|
functionsGet(
|
||||||
functionId: "[FUNCTION_ID]"
|
functionId: "[FUNCTION_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
execute
|
execute
|
||||||
name
|
name
|
||||||
enabled
|
enabled
|
||||||
|
|
|
@ -3,9 +3,9 @@ mutation {
|
||||||
functionId: "[FUNCTION_ID]",
|
functionId: "[FUNCTION_ID]",
|
||||||
deploymentId: "[DEPLOYMENT_ID]"
|
deploymentId: "[DEPLOYMENT_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
execute
|
execute
|
||||||
name
|
name
|
||||||
enabled
|
enabled
|
||||||
|
|
|
@ -4,9 +4,9 @@ mutation {
|
||||||
variableId: "[VARIABLE_ID]",
|
variableId: "[VARIABLE_ID]",
|
||||||
key: "[KEY]"
|
key: "[KEY]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
key
|
key
|
||||||
value
|
value
|
||||||
functionId
|
functionId
|
||||||
|
|
|
@ -4,9 +4,9 @@ mutation {
|
||||||
name: "[NAME]",
|
name: "[NAME]",
|
||||||
execute: ["any"]
|
execute: ["any"]
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
execute
|
execute
|
||||||
name
|
name
|
||||||
enabled
|
enabled
|
||||||
|
|
|
@ -3,10 +3,10 @@ mutation {
|
||||||
bucketId: "[BUCKET_ID]",
|
bucketId: "[BUCKET_ID]",
|
||||||
name: "[NAME]"
|
name: "[NAME]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
permissions
|
_permissions
|
||||||
fileSecurity
|
fileSecurity
|
||||||
name
|
name
|
||||||
enabled
|
enabled
|
||||||
|
|
|
@ -2,10 +2,10 @@ query {
|
||||||
storageGetBucket(
|
storageGetBucket(
|
||||||
bucketId: "[BUCKET_ID]"
|
bucketId: "[BUCKET_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
permissions
|
_permissions
|
||||||
fileSecurity
|
fileSecurity
|
||||||
name
|
name
|
||||||
enabled
|
enabled
|
||||||
|
|
|
@ -3,11 +3,11 @@ query {
|
||||||
bucketId: "[BUCKET_ID]",
|
bucketId: "[BUCKET_ID]",
|
||||||
fileId: "[FILE_ID]"
|
fileId: "[FILE_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
bucketId
|
bucketId
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
permissions
|
_permissions
|
||||||
name
|
name
|
||||||
signature
|
signature
|
||||||
mimeType
|
mimeType
|
||||||
|
|
|
@ -3,10 +3,10 @@ mutation {
|
||||||
bucketId: "[BUCKET_ID]",
|
bucketId: "[BUCKET_ID]",
|
||||||
name: "[NAME]"
|
name: "[NAME]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
permissions
|
_permissions
|
||||||
fileSecurity
|
fileSecurity
|
||||||
name
|
name
|
||||||
enabled
|
enabled
|
||||||
|
|
|
@ -3,11 +3,11 @@ mutation {
|
||||||
bucketId: "[BUCKET_ID]",
|
bucketId: "[BUCKET_ID]",
|
||||||
fileId: "[FILE_ID]"
|
fileId: "[FILE_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
bucketId
|
bucketId
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
permissions
|
_permissions
|
||||||
name
|
name
|
||||||
signature
|
signature
|
||||||
mimeType
|
mimeType
|
||||||
|
|
|
@ -5,9 +5,9 @@ mutation {
|
||||||
roles: [],
|
roles: [],
|
||||||
url: "https://example.com"
|
url: "https://example.com"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
userId
|
userId
|
||||||
userName
|
userName
|
||||||
userEmail
|
userEmail
|
||||||
|
|
|
@ -3,9 +3,9 @@ mutation {
|
||||||
teamId: "[TEAM_ID]",
|
teamId: "[TEAM_ID]",
|
||||||
name: "[NAME]"
|
name: "[NAME]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
total
|
total
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,9 +3,9 @@ query {
|
||||||
teamId: "[TEAM_ID]",
|
teamId: "[TEAM_ID]",
|
||||||
membershipId: "[MEMBERSHIP_ID]"
|
membershipId: "[MEMBERSHIP_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
userId
|
userId
|
||||||
userName
|
userName
|
||||||
userEmail
|
userEmail
|
||||||
|
|
|
@ -2,9 +2,9 @@ query {
|
||||||
teamsGet(
|
teamsGet(
|
||||||
teamId: "[TEAM_ID]"
|
teamId: "[TEAM_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
total
|
total
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,9 +4,9 @@ mutation {
|
||||||
membershipId: "[MEMBERSHIP_ID]",
|
membershipId: "[MEMBERSHIP_ID]",
|
||||||
roles: []
|
roles: []
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
userId
|
userId
|
||||||
userName
|
userName
|
||||||
userEmail
|
userEmail
|
||||||
|
|
|
@ -5,9 +5,9 @@ mutation {
|
||||||
userId: "[USER_ID]",
|
userId: "[USER_ID]",
|
||||||
secret: "[SECRET]"
|
secret: "[SECRET]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
userId
|
userId
|
||||||
userName
|
userName
|
||||||
userEmail
|
userEmail
|
||||||
|
|
|
@ -3,9 +3,9 @@ mutation {
|
||||||
teamId: "[TEAM_ID]",
|
teamId: "[TEAM_ID]",
|
||||||
name: "[NAME]"
|
name: "[NAME]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
total
|
total
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,9 +4,9 @@ mutation {
|
||||||
email: "email@example.com",
|
email: "email@example.com",
|
||||||
password: "password"
|
password: "password"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
password
|
password
|
||||||
hash
|
hash
|
||||||
|
|
|
@ -4,9 +4,9 @@ mutation {
|
||||||
email: "email@example.com",
|
email: "email@example.com",
|
||||||
password: "password"
|
password: "password"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
password
|
password
|
||||||
hash
|
hash
|
||||||
|
|
|
@ -4,9 +4,9 @@ mutation {
|
||||||
email: "email@example.com",
|
email: "email@example.com",
|
||||||
password: "password"
|
password: "password"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
password
|
password
|
||||||
hash
|
hash
|
||||||
|
|
|
@ -4,9 +4,9 @@ mutation {
|
||||||
email: "email@example.com",
|
email: "email@example.com",
|
||||||
password: "password"
|
password: "password"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
password
|
password
|
||||||
hash
|
hash
|
||||||
|
|
|
@ -4,9 +4,9 @@ mutation {
|
||||||
email: "email@example.com",
|
email: "email@example.com",
|
||||||
password: "password"
|
password: "password"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
password
|
password
|
||||||
hash
|
hash
|
||||||
|
|
|
@ -7,9 +7,9 @@ mutation {
|
||||||
passwordSaltSeparator: "[PASSWORD_SALT_SEPARATOR]",
|
passwordSaltSeparator: "[PASSWORD_SALT_SEPARATOR]",
|
||||||
passwordSignerKey: "[PASSWORD_SIGNER_KEY]"
|
passwordSignerKey: "[PASSWORD_SIGNER_KEY]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
password
|
password
|
||||||
hash
|
hash
|
||||||
|
|
|
@ -9,9 +9,9 @@ mutation {
|
||||||
passwordParallel: 0,
|
passwordParallel: 0,
|
||||||
passwordLength: 0
|
passwordLength: 0
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
password
|
password
|
||||||
hash
|
hash
|
||||||
|
|
|
@ -2,9 +2,9 @@ mutation {
|
||||||
usersCreate(
|
usersCreate(
|
||||||
userId: "[USER_ID]"
|
userId: "[USER_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
password
|
password
|
||||||
hash
|
hash
|
||||||
|
|
|
@ -2,9 +2,9 @@ query {
|
||||||
usersGet(
|
usersGet(
|
||||||
userId: "[USER_ID]"
|
userId: "[USER_ID]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
password
|
password
|
||||||
hash
|
hash
|
||||||
|
|
|
@ -3,9 +3,9 @@ mutation {
|
||||||
userId: "[USER_ID]",
|
userId: "[USER_ID]",
|
||||||
emailVerification: false
|
emailVerification: false
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
password
|
password
|
||||||
hash
|
hash
|
||||||
|
|
|
@ -3,9 +3,9 @@ mutation {
|
||||||
userId: "[USER_ID]",
|
userId: "[USER_ID]",
|
||||||
email: "email@example.com"
|
email: "email@example.com"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
password
|
password
|
||||||
hash
|
hash
|
||||||
|
|
|
@ -3,9 +3,9 @@ mutation {
|
||||||
userId: "[USER_ID]",
|
userId: "[USER_ID]",
|
||||||
name: "[NAME]"
|
name: "[NAME]"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
password
|
password
|
||||||
hash
|
hash
|
||||||
|
|
|
@ -3,9 +3,9 @@ mutation {
|
||||||
userId: "[USER_ID]",
|
userId: "[USER_ID]",
|
||||||
password: "password"
|
password: "password"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
password
|
password
|
||||||
hash
|
hash
|
||||||
|
|
|
@ -3,9 +3,9 @@ mutation {
|
||||||
userId: "[USER_ID]",
|
userId: "[USER_ID]",
|
||||||
phoneVerification: false
|
phoneVerification: false
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
password
|
password
|
||||||
hash
|
hash
|
||||||
|
|
|
@ -3,9 +3,9 @@ mutation {
|
||||||
userId: "[USER_ID]",
|
userId: "[USER_ID]",
|
||||||
number: "+12065550100"
|
number: "+12065550100"
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
password
|
password
|
||||||
hash
|
hash
|
||||||
|
|
|
@ -3,9 +3,9 @@ mutation {
|
||||||
userId: "[USER_ID]",
|
userId: "[USER_ID]",
|
||||||
status: false
|
status: false
|
||||||
) {
|
) {
|
||||||
id
|
_id
|
||||||
createdAt
|
_createdAt
|
||||||
updatedAt
|
_updatedAt
|
||||||
name
|
name
|
||||||
password
|
password
|
||||||
hash
|
hash
|
||||||
|
|
Loading…
Reference in a new issue