API

This is the documentation of the backend API of Capgo cloud
You can access to the API you need to add in the headers your API key as authorization you get it there

This endpoint allows you to check and modify all available Channels of your app

https://api.capgo.app/channel
Send this
interface ChannelSet {
app_id: string
channel: string
version?: string
public?: boolean
}
receive this:
{ status: 'ok' }

https://api.capgo.app/channel
Send appid as URL parameter and receive array of channel:
{
id: number;
created_at: string;
name: string;
app_id: string;
version: number;
created_by: string;
updated_at: string;
public: boolean;
disableAutoUpdateUnderNative: boolean;
disableAutoUpdateToMajor: boolean;
}[]
and optionally channel name as URL parameter to receive one:
{
id: number;
created_at: string;
name: string;
app_id: string;
version: number;
created_by: string;
updated_at: string;
public: boolean;
disableAutoUpdateUnderNative: boolean;
disableAutoUpdateToMajor: boolean;
}

https://api.capgo.app/channel
Send this
interface Channel {
channel: string
}
receive this:
{ status: 'ok' }

This endpoint allows you to check and modify all devices link to your app
##POST https://api.capgo.app/device
Send this
interface DeviceLink {
app_id: string
device_id: string
version_id?: string // version name ( will be migrate to better name)
channel?: string // channel name
}
receive this:
{ status: 'ok' }

https://api.capgo.app/device
Send appid as URL parameter and receive array of channel:
{
created_at?: string | undefined;
updated_at?: string | undefined;
device_id: string;
version: number;
app_id: string;
platform?: "ios" | "android" | undefined;
plugin_version: string;
os_version?: string | undefined;
}[]
and optionally channel name as URL parameter to receive one:
{
created_at?: string | undefined;
updated_at?: string | undefined;
device_id: string;
version: number;
app_id: string;
platform?: "ios" | "android" | undefined;
plugin_version: string;
os_version?: string | undefined;
}

https://api.capgo.app/device
Send this
interface Version {
device_id: string
}
receive this:
{ status: 'ok' }

This endpoint allows you to check and modify all versions link to your app

https://api.capgo.app/versions
Send app_id as URL parameter and receive array of channel:
{
id: number;
created_at: string;
name: string;
app_id: string;
version: number;
created_by: string;
updated_at: string;
public: boolean;
disableAutoUpdateUnderNative: boolean;
disableAutoUpdateToMajor: boolean;
}[]

https://api.capgo.app/versions
Send this
interface Version {
app_id: string
}
receive this:
{ status: 'ok' }
Copy link
Edit on GitHub
On this page
Intro
Channels
POST
GET
DELETE
Devices
GET
DELETE
Versions
GET
DELETE