Skip to content
Search
Search the documentation
OAuthProject
GitHub GitHub

OAuthProject

Interface: OAuthProject

Defined in: v1/types/oauth.ts:162

The project an OAuth authorization was granted for, as included in the initial code exchange response.

Extends

Properties

id

id: string

Defined in: v1/types/base.ts:105

The project’s Top.gg ID.

Inherited from

BaseProject.id


name

name: string

Defined in: v1/types/oauth.ts:166

The project’s name.


platform

platform: ProjectPlatformType

Defined in: v1/types/base.ts:109

The platform the project is on (e.g., “discord”).

Inherited from

BaseProject.platform


platform_id

platform_id: string

Defined in: v1/types/base.ts:113

The platform-specific ID of the project (e.g., Discord Bot ID).

Inherited from

BaseProject.platform_id


type

type: ProjectType

Defined in: v1/types/base.ts:117

The type of project (e.g., “bot”).

Inherited from

BaseProject.type