DiscordEndpoint

public enum DiscordEndpoint : CustomStringConvertible

This enum defines the endpoints used to interact with the Discord API.

  • The base url for the Discord REST API.

    Declaration

    Swift

    case baseURL
  • The base endpoint for invites.

    Declaration

    Swift

    case invites(code: String)
  • The user channels endpoint.

    Declaration

    Swift

    case userChannels
  • The user guilds endpoint.

    Declaration

    Swift

    case userGuilds
  • An HTTP Request for an Endpoint. This includes any associated data.

    See more

    Declaration

    Swift

    public enum EndpointRequest
  • Declaration

    Swift

    public var description: String
  • A namespace struct for endpoint options.

    See more

    Declaration

    Swift

    public struct Options