SDK Apps > Functions

List App Functions

get
/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions
chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
Query parameters
allbooleanOptionalExample: true
Responses
chevron-right
200

Successful response

application/json
get
/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions
200

Successful response

Create Function

post
/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions
chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
Body
namestringOptional
Responses
chevron-right
200

Successful response

application/json
post
/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions
200

Successful response

Get Function

get
/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions/{SDK_functionName}
chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_functionNamestringRequired
Responses
chevron-right
200

Successful response

application/json
get
/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions/{SDK_functionName}
200

Successful response

Delete Function

delete
/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions/{SDK_functionName}
chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_functionNamestringRequired
Responses
chevron-right
200

Successful response

application/json
delete
/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions/{SDK_functionName}
200

Successful response

Get Function Code

get
/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions/{SDK_functionName}/code
chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_functionNamestringRequired
Responses
chevron-right
200

Successful response

application/javascript
Responsestring
get
/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions/{SDK_functionName}/code
200

Successful response

Set Function Code

put
/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions/{SDK_functionName}/code
chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_functionNamestringRequired
Body
stringOptionalExample: function parseTime() { const a = "Hello There" }
Responses
chevron-right
200

Successful response

application/json
put
/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions/{SDK_functionName}/code
200

Successful response

Get Function Test

get
/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions/{SDK_functionName}/test
chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_functionNamestringRequired
Responses
chevron-right
200

Successful response

application/javascript
Responsestring
get
/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions/{SDK_functionName}/test
200

Successful response

Set Function Test

put
/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions/{SDK_functionName}/test
chevron-right
lockRequired scopes
This endpoint requires the following scopes:
Authorizations
AuthorizationstringRequired

Authorize the API call with your API token in the Authorization header with the value: Token your-api-token.

If you don't have an API token yet, please refer to the "Authentication" section to learn how to create one.

Path parameters
SDK_appNamestringRequired
SDK_appVersionstringRequired
SDK_functionNamestringRequired
Body
stringOptionalExample: console.log('This is a new test');
Responses
chevron-right
200

Successful response

application/json
put
/sdk/apps/{SDK_appName}/{SDK_appVersion}/functions/{SDK_functionName}/test
200

Successful response

Last updated