Skip to main content
GET
/
cdn
/
logs_uploader
/
policies
/
fields
Python
import os
from gcore import Gcore

client = Gcore(
    api_key=os.environ.get("GCORE_API_KEY"),  # This is the default and can be omitted
)
response = client.cdn.logs_uploader.policies.list_fields()
print(response)
[
  "<string>"
]

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

Response

Successful.

The response is of type string[].