description: Tries to create an endpoint with empty path component url: /v1/query status: 400 response: internal: - definition: definition: query: collection_name: test_collection query_name: simple_query url: foo//bar methods: - GET name: foo comment: reason: "Empty segments or unnamed variables are not allowed: foo//bar" name: rest_endpoint foo type: rest_endpoint path: $.args error: 'Empty segments or unnamed variables are not allowed: foo//bar' code: invalid-configuration query: type: create_rest_endpoint args: url: "foo//bar" name: foo methods: - GET definition: query: collection_name: test_collection query_name: simple_query