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

@@ -75,9 +75,9 @@ export const scenesSchema = `
scenes(
query: String
scope: String
entities: [String]
actorIds: [String]
tags: [String]
entities: [String!]
actorIds: [String!]
tags: [String!]
limit: Int! = 30
page: Int! = 1
): ReleasesResult
@@ -87,16 +87,16 @@ export const scenesSchema = `
): Release
scenesById(
ids: [Int]!
ids: [Int!]!
): [Release]
}
type ReleasesAggregate {
actors: [Actor]
actors: [Actor!]
}
type ReleasesResult {
nodes: [Release]
nodes: [Release!]!
total: Int
aggregates: ReleasesAggregate
}
@@ -112,13 +112,13 @@ export const scenesSchema = `
shootId: Int
channel: Entity
network: Entity
actors: [Actor]
tags: [Tag]
actors: [Actor!]!
tags: [Tag!]!
poster: Media
trailer: Media
photos: [Media]
covers: [Media]
movies: [Release]
photos: [Media!]!
covers: [Media!]!
movies: [Release!]!
}
type Tag {