GraphQL requests
6 HTTP queries on GraphQL endpoint(s)
Refresh with latest query# | Time | Info |
---|
# | Time | Info |
---|---|---|
1 | 29 ms |
{
}
|
# | Time | Info |
---|
# | Time | Info |
---|---|---|
1 | 43 ms |
mutation refreshToken(...) {
refreshToken(...)
}
|
# | Time | Info |
---|---|---|
1 | 55 ms |
mutation refreshToken(...) {
refreshToken(...)
}
|
# | Time | Info |
---|---|---|
1 | 53 ms |
mutation refreshToken(...) {
refreshToken(...)
}
|
Schema: default
schema {
query: Query
mutation: Mutation
}
type Query {
id: String
countries: [Country]
}
type Country {
code: String!
name: String!
}
type Mutation {
"Refresh tokens"
refreshToken(
"Refresh Token"
token: String!
): AuthPayload!
"User login with email and password"
login(input: LoginInput!): AuthPayload!
"User reset password"
resetPassword(input: ResetPasswordInput!): Boolean!
"User registration with email and password"
signup(input: RegistrationUserInput!): AuthPayload!
"User update password"
updatePassword(input: UpdatePasswordInput!): Boolean!
}
type AuthPayload {
token: String!
refreshToken: String!
user: AmplyUser!
organization: Organization!
}
type AmplyUser {
email: String
name: String
role: String
status: String
avatar: String
}
type Organization {
name: String!
id: UUID!
users: [AmplyUser]
projectsCount: Int
projects: [Project]
logo: String
}
scalar UUID
type Project {
name: String!
id: UUID!
applications: [Application]
image: String
}
type Application {
id: UUID!
bundleId: String!
name: String!
image: String!
platform: String!
project: Project!
apiKeys: [ApiKey]
}
type ApiKey {
public: String!
secret: String!
application: Application!
lastUsed: DateTime
}
scalar DateTime
input LoginInput {
email: String!
password: String!
}
input ResetPasswordInput {
email: String!
}
input RegistrationUserInput {
email: String!
password: String!
organization: String!
name: String!
}
input UpdatePasswordInput {
token: String!
newPassword: String!
newPasswordRepeat: String!
}