Update JSON_TEMPLATE.md

This commit is contained in:
Joab authored and GitHub committed 2023-12-30 00:30:35 +08:00
1 parent c94de9b448
commit 8929463b9c
1 file changed
+36 -12
+36 -12
View File
@@ -11,20 +11,44 @@ Please follow the template given here or your pull request will not be accepted
## Template: ## Template:
``` ```
{ [
"subdomain": "YOUR_SUBDOMAIN_HERE", {
"url": "YOUR_SITE_URL_HERE", "subdomain": "YOUR_SUBDOMAIN_HERE",
"email": "YOUR_EMAIL_HERE", "url": "YOUR_SITE_URL_HERE",
"type": "YOUR_TYPE_HERE" "email": "YOUR_EMAIL_HERE",
} "type": "YOUR_TYPE_HERE"
}
]
``` ```
## Example: ## Example:
``` ```
{ [
"subdomain": "joabutt", {
"url": "joabutt.dev", "subdomain": "joabutt",
"email": "me@joabutt.dev", "url": "joabutt.dev",
"type": "CNAME" "email": "me@joabutt.dev",
} "type": "CNAME"
}
]
```
## Add multiple records
```
[
{
"subdomain": "YOUR_SUBDOMAIN_HERE",
"type": "TYPE_OF_THE_RECORD",
"url": "URL_OR_VALUE_OF_THE_RECORD",
"email": "EMAIL_OR_PREFERENCE"
},
{
"subdomain": "YOUR_SUBDOMAIN_HERE",
"type": "TYPE_OF_THE_SECOND_RECORD",
"url": "URL_OR_VALUE_OF_THE_SECOND_RECORD",
"email": "EMAIL_OR_PREFERENCE"
}
]
``` ```