Skip to main content
Version: 1.1.5

Common - Get OpenAPI Spec in JSON format

GET 

/openapi.json

Get the OpenAPI spec in JSON format. This is the same spec that is used to generate this API documentation.

Request

Header Parameters

    AUTHORIZATION stringrequired

    The AUTHORIZATION header must be set to the API Key of the user. The API Key is returned when a new user is created using the /admin/create-user endpoint.

Responses

Schema

    err_msg stringrequired
    err_type stringrequired

    Possible values: [already_performed_keygen, bad_n_and_t_params, bad_request_params, batch_too_large, executor_result, key_id_not_exists, key_operation_before_keygen, policy_in_use_by_keys, policy_in_use_by_users, policy_not_found, policy_validation_failed, room_creation_problem, rule_in_use, rule_not_found, rule_not_in_policy, user_id_not_exists, you_have_to_be_admin]

Loading...