From 76567ec44b44ec4a05984831c2fd115629698fde Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Mon, 5 Oct 2020 15:59:31 +0530 Subject: [PATCH] Updates documentation with file name validation rules --- API.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/API.md b/API.md index 128459c65..4f76bb323 100644 --- a/API.md +++ b/API.md @@ -27,6 +27,10 @@ Example (for github pages) - The way you register your own domain name is through a pull request. To register `my-domain.is-a.dev`, you need to create a `domains/my-domain.json` file +The file name must pass the following criteria - +* Must be alpha numeric with dashes as seperators +* Must be more than 2 characters long + The file needs to have the following fields - ### owner (required) @@ -76,7 +80,7 @@ Replace CNAME with ALIAS for alias record type "999.999.991.999", "999.999.992.999", "999.999.993.999", - "999.999.994.999", + "999.999.994.999" ] } }