Added API key authentication.

This commit is contained in:
2024-08-31 04:59:05 +02:00
parent da893c1a76
commit e8864ce35b
20 changed files with 514 additions and 28 deletions

View File

@@ -46,7 +46,7 @@ export const actorsSchema = `
query: String
limit: Int! = 30
page: Int! = 1
order: [String]
order: [String!]
): ActorsResult
actor(
@@ -54,7 +54,7 @@ export const actorsSchema = `
): Actor
actorsById(
ids: [Int]!
ids: [Int!]!
): [Actor]
}
@@ -70,7 +70,7 @@ export const actorsSchema = `
}
type ActorsResult {
nodes: [Actor]
nodes: [Actor!]!
total: Int
}
@@ -81,6 +81,8 @@ export const actorsSchema = `
gender: String
dateOfBirth: Date
age: Int
ageFromBirth: Int
ageThen: Int
origin: Location
residence: Location
height: Int