v50

latestOpenAPI 3.1.0raw.githubusercontent.com2025-06-09181183330.0 KB
data-api

Get the Data API Configuration

Get your app's Data API configuration.

get/groups/{groupId}/apps/{appId}/data_api/config

Response

OK

disabledboolean required
versionsDataApiVersion[] required
return_type'JSON' | 'EJSON' required

A data format supported by the Data API & custom endpoints.

create_user_on_authboolean
run_as_user_idstring

An application user's account ID. If defined, endpoints will always run as the specified user.

run_as_user_id_script_sourcestring

Stringified source code for a function that returns an application user's account ID. If defined, endpoints execute the function on every request and run as the user with the ID returned from the function.

validation_method'NO_VALIDATION' | 'SECRET_AS_QUERY_PARAM' | 'VERIFY_PAYLOAD' required
secret_namestring

If validation_method is set to "SECRET_AS_QUERY_PARAM" or "VERIFY_PAYLOAD", this is the name of the Secret that authorizes requests.

can_evaluateobject

A JSON expression that evaluates to true if an endpoint is allowed to run in response to an incoming request.