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 ) template_short = client.fastedge.templates.replace( id=0, binary_id=0, name="name", owned=True, params=[{ "data_type": "string", "mandatory": True, "name": "name", }], ) print(template_short.id)
{ "id": 123, "name": "<string>", "api_type": "<string>", "owned": true, "short_descr": "<string>", "long_descr": "<string>" }
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef
apikey
apikey 1234$abcdef
ID of the template
Template details
Binary ID
Name of the template
Is the template owned by user?
Parameters
Show child attributes
Parameter name
Parameter type
string
number
date
time
secret
Is this field mandatory?
Parameter description
Short description of the template
Long description of the template
Ok
Template ID
Wasm API type
Was this page helpful?