Skip to main content
GET
/
fastedge
/
v1
/
admin
/
apps
/
{app_id}
Get app details
curl --request GET \
  --url https://api.gcore.com/fastedge/v1/admin/apps/{app_id} \
  --header 'Authorization: <api-key>'
import requests

url = "https://api.gcore.com/fastedge/v1/admin/apps/{app_id}"

headers = {"Authorization": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {Authorization: '<api-key>'}};

fetch('https://api.gcore.com/fastedge/v1/admin/apps/{app_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://api.gcore.com/fastedge/v1/admin/apps/{app_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://api.gcore.com/fastedge/v1/admin/apps/{app_id}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("Authorization", "<api-key>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.gcore.com/fastedge/v1/admin/apps/{app_id}")
.header("Authorization", "<api-key>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.gcore.com/fastedge/v1/admin/apps/{app_id}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'

response = http.request(request)
puts response.read_body
{
  "client_id": 123,
  "name": "my-edge-app",
  "url": "my-edge-app.fastedge.gcore.dev",
  "binary": 12345,
  "template": 123,
  "template_name": "<string>",
  "status": 1,
  "plan_id": 123,
  "plan": "<string>",
  "env": {
    "var1": "value1",
    "var2": "value2"
  },
  "rsp_headers": {
    "header1": "value1",
    "header2": "value2"
  },
  "debug_until": "2023-11-07T05:31:56Z",
  "comment": "Production API gateway for customer portal",
  "api_type": "<string>",
  "networks": [
    "<string>"
  ],
  "secrets": {},
  "stores": {}
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

app_id
integer<int64>
required

ID of the app

Response

Returns complete application configuration and metadata including client ID

client_id
integer<int64>
required

Client ID

name
string

Unique application name (alphanumeric, hyphens allowed)

Required string length: 1 - 64
Pattern: ^[a-z0-9][a-z0-9-]*[a-z0-9]$
Example:

"my-edge-app"

url
string
read-only

Auto-generated URL where the application is accessible

Example:

"my-edge-app.fastedge.gcore.dev"

binary
integer<int64>

ID of the WebAssembly binary to deploy

Required range: x >= 1
Example:

12345

template
integer<int64>

Template ID

template_name
string
read-only

Template name

status
integer

Status code:
0 - draft (inactive)
1 - enabled
2 - disabled
5 - suspended

Required range: 0 <= x <= 5
Example:

1

plan_id
integer<int64>
read-only

Plan ID

plan
string
read-only

Plan name

env
object

Environment variables

Example:
{ "var1": "value1", "var2": "value2" }
rsp_headers
object

Extra headers to add to the response

Example:
{ "header1": "value1", "header2": "value2" }
log
enum<string> | null
deprecated
Available options:
kafka,
none
debug_until
string<date-time>
read-only

When debugging finishes

comment
string

Optional human-readable description of the application's purpose

Maximum string length: 1024
Example:

"Production API gateway for customer portal"

api_type
string
read-only

Wasm API type

networks
string[]
read-only

Networks

secrets
object

Application secrets

stores
object

Application edge stores