Docs
Launch GraphOS Studio
You're viewing documentation for a previous version of this software. Switch to the latest stable version.


STRUCT

DownloadMethod.ApolloRegistrySettings

public struct ApolloRegistrySettings: Equatable

Properties

apiKey

public let apiKey: String

The API key to use when retrieving your schema from the Apollo Registry.

graphID

public let graphID: String

The identifier of the to fetch. Can be found in Apollo Studio.

variant

public let variant: String?

The of the graph in the registry.

Methods

init(apiKey:graphID:variant:)

public init(apiKey: String,
graphID: String,
variant: String = "current")

Designated initializer

  • Parameters:
    • apiKey: The API key to use when retrieving your schema.
    • : The identifier of the graph to fetch. Can be found in Apollo Studio.
    • variant: The variant of the graph to fetch. Defaults to "current", which will return whatever is set to the current variant.

Parameters

NameDescription
apiKeyThe API key to use when retrieving your schema.
graphIDThe identifier of the graph to fetch. Can be found in Apollo Studio.
variantThe variant of the graph to fetch. Defaults to “current”, which will return whatever is set to the current variant.
Next
Introduction
Edit on GitHubEditForumsDiscord

© 2024 Apollo Graph Inc.

Privacy Policy

Company