Module project_key_and_name_validation_api

Module project_key_and_name_validation_api 

Source

Enums§

GetValidProjectKeyError
struct for typed errors of method get_valid_project_key
GetValidProjectNameError
struct for typed errors of method get_valid_project_name
ValidateProjectKeyError
struct for typed errors of method validate_project_key

Functions§

get_valid_project_key
Validates a project key and, if the key is invalid or in use, generates a valid random string for the project key. Permissions required: None.
get_valid_project_name
Checks that a project name isn’t in use. If the name isn’t in use, the passed string is returned. If the name is in use, this operation attempts to generate a valid project name based on the one supplied, usually by adding a sequence number. If a valid project name cannot be generated, a 404 response is returned. Permissions required: None.
validate_project_key
Validates a project key by confirming the key is a valid string and not in use. Permissions required: None.